Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Qianfan is Baidu's MaaS platform, providing a unified API that routes requests to many models behind a single endpoint and API key. It is OpenAI-compatible, so most OpenAI SDKs work by switching the base URL.
| Property | Value |
|---|---|
| Provider | text qianfan |
| Auth | text QIANFAN_API_KEY |
| API | OpenAI-compatible |
| Base URL | text https://qianfan.baidubce.com/v2 |
| Model ref | Input | Context | Max output | Reasoning | Notes |
|---|---|---|---|---|---|
text qianfan/deepseek-v3.2 | text | 98,304 | 32,768 | Yes | Default model |
text qianfan/ernie-5.0-thinking-preview | text, image | 119,000 | 64,000 | Yes | Multimodal |
json5{ env: { QIANFAN_API_KEY: "bce-v3/ALTAK-..." }, agents: { defaults: { model: { primary: "qianfan/deepseek-v3.2" }, models: { "qianfan/deepseek-v3.2": { alias: "QIANFAN" }, }, }, }, models: { providers: { qianfan: { baseUrl: "https://qianfan.baidubce.com/v2", api: "openai-completions", models: [ { id: "deepseek-v3.2", name: "DEEPSEEK V3.2", reasoning: true, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 98304, maxTokens: 32768, }, { id: "ernie-5.0-thinking-preview", name: "ERNIE-5.0-Thinking-Preview", reasoning: true, input: ["text", "image"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 119000, maxTokens: 64000, }, ], }, }, }, }
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine