Baidu Qianfan
Baidu AI Cloud model platform serving ERNIE and third-party models over an OpenAI-compatible API.
- Provider
- default
- Kind
- AI service
- Category
- Compute
- Also known as
- ERNIE API, ERNIE Bot API
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| auth | enum | api-key | oauth | iam | none | no | — | ▸ api-key |
| contentFiltering | boolean | — | no | — | inherited |
| customerManagedKeys | boolean | — | no | — | inherited |
| dataResidency | enum | us | eu | asia | global | no | — | inherited |
| dataRetentionDays | integer | — | no | — | inherited |
| deepThinking | boolean | — | no | false | inherited |
| keyStore | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | ▸ true |
| modality | enum | text | vision | speech | multimodal | structured | image | video | audio | embedding | rerank | no | — | ▸ multimodal |
| modelFamily | enum | ernie-5 | ernie-4.5-turbo | ernie-4.5-turbo-vl | third-party | no | ernie-5 | inherited |
| publicEndpoint | boolean | — | no | — | ▸ true |
| quotaUnitsPerMinute | integer | — | no | — | inherited |
| rateLimitRpm | integer | — | no | — | ▸ 60 |
| rateLimitTpm | integer | — | no | — | ▸ 150000 |
| viaGateway | boolean | — | no | false | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
This AI vendor is reached with an API key, and nothing in the design holds or rotates that key. It ends up in environment files or code, every caller shares it, and a single leak runs up the vendor bill until someone notices. Put the key in a key-management component, or say it is held there with keyStore.
- — all of these hold:
- — the node's `auth` is "api-key"
- — the node's `keyStore` is false
- — the node has at least one incoming edge from an app-server, worker or client
- — this does not hold:
- — the design contains a node of kind key-management
A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- — all of these hold:
- — the node's `stateless` is false
- — the node sits inside exactly 1 availability-zone group
- — this does not hold:
- — the node sits inside at least one cell group
nodes:
- { id: "baidu-ernie-api", component: "baidu-ernie-api" }# yaml-language-server: $schema=../../schema/component.schema.json # Baidu Qianfan (ERNIE API): Baidu AI Cloud's hosted ERNIE and third-party model API, OpenAI-compatible at /v2. # Per "Model List - QianfanBaidu", each model has a default rate limit: ERNIE 5.x allows 60 RPM and 150,000 TPM, # ERNIE 4.5 Turbo 5,000 RPM and 400,000 TPM, and ERNIE 4.5 Turbo VL 1,000 RPM and 200,000 TPM. schemaVersion: "1" type: "component" id: "baidu-ernie-api" kind: "ai-service" provider: "default" docs: "https://intl.cloud.baidu.com/en/doc/qianfan/s/7m95lyy43-intl-en" aliases: ["Qianfan", "ERNIE API", "ERNIE Bot API"] defaults: auth: "api-key" managed: true modality: "multimodal" publicEndpoint: true rateLimitRpm: 60 rateLimitTpm: 150000 properties: modelFamily: type: "enum" values: ["ernie-5", "ernie-4.5-turbo", "ernie-4.5-turbo-vl", "third-party"] default: "ernie-5" deepThinking: type: "boolean" default: false