Head to head · LLM inference · October 2026 research run
Cohere Chat API (Command models) vs Baidu Qianfan
Cohere Chat API (Command models) scores 67.9 (B) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 6 of 7 scored categories. Both do llm inference.
Best model APIs and inference for AI agents · All 1495 models comparisons
Which one, for what
Cohere Chat API (Command models) B
Best for Teams that want Command models for RAG with citations, tool use and multilingual work, and that may later move to a private deployment or Model Vault.
Ahead on
- Reliability, 67 against 38
- Schema & documentation, 84 against 47
- Agent ergonomics, 72 against 60
- Payments & pricing, 53 against 30
- Maintenance & community, 72 against 63
- Transparency & trust, 75 against 55
Also in its favour
- Free to start without a card
Watch for
Production keys work like trial keys on Command A+, Reasoning, Translate and Vision. The docs send production use of those models to sales or to Model Vault
Best for Calling ERNIE and other China-hosted models through an OpenAI-style API at a low per-token price, for teams that can read Chinese docs and open a Baidu AI Cloud account.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
The docs read were in Chinese only, and no OpenAPI file or llms.txt was found
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Schema & documentation Cohere Chat API (Command models) +37
Cohere Chat API (Command models) 84
Model reading. Public OpenAPI 3.1 file cohere-openapi.yaml in cohere-ai/cohere-developer-experience, 43 operations, last changed 29 September 2026 (25). docs.cohere.com/llms.txt and a Markdown twin of every page by adding .md, though the llms.txt files list no pages (8 of 10). The v2 chat operation describes each of its 21 request fields with defaults and limits, and says less about when to prefer one option (16 of 20). Enums on tool_choice, safety_mode and thinking.type, numeric bounds on temperature, k, p and priority, with penalties bounded only in prose (12 of 15). Eight request examples on the operation and an errors page with sample messages for each status code, with error bodies carrying a message and no machine code (12 of 15). v1 and v2 live side by side in the path and the changelog is dated, but the OpenAPI file is version 1.0 throughout and its changes are committed as 'Add spec changes' with no per-change note (11 of 15).
Baidu Qianfan 47
No OpenAPI file was found (0). cloud.baidu.com/llms.txt returned 404 (0). The chat completions reference states the endpoint, authentication, parameter support per model and links the model list, and the docs are Chinese only (13 of 20). Parameters are typed with enums, ranges and required marks, including json_schema output, tool_choice and thinking controls (12 of 15). Curl and Python examples cover plain chat and function calling, and an error object with code, message and type is described while the error code pages were not read (10 of 15). A dated model update log, retirement records with replacements and the v1 to v2 migration notice make up the versioning, but the platform log's newest entry is from August 2025 (12 of 15). Total 47.
Reliability Cohere Chat API (Command models) +29
Cohere Chat API (Command models) 67
Hosted lines. status.cohere.com (incident.io) lists each Command model and the endpoints as components (20). Its feed, read on 2 November 2026, shows two incidents in the 90 days from 4 August. 'Multiple Endpoint Disruptions' on 1 September 2026, from 15:41 to 19:47 UTC, degraded the embeddings endpoint, embed-v4.0, two rerank models and command-a-reasoning-08-2025 during a Google Cloud outage, rated minor and partial, and docs loading failed on 5 August. Nothing has been posted since 1 September, so minor incidents only (20). Chat limits are published per model, 20 requests a minute and 1,000 calls a month on a trial key and 500 a minute on a production key for Command A, R, R+ and R7B, while the four newest variants say contact sales (12 of 15). The errors page documents 429 with example messages that say to wait and try again later and links to the rate limits, with no Retry-After header, backoff timing or idempotency key, the reading cohere-embed takes of the same page (8 of 15). cohere.com/slo is titled Service Level Objective and its text is script-drawn, so it was unread and scores as absent (0). The v2 chat endpoint is the default docs version, but the sample response on the chat guide still carries is_experimental and the newest models are not open to production keys (7 of 10).
Baidu Qianfan 38
No status page was found on the pages read, and the health board link in the docs navigation was not followed (0). No readable incident history, so 5. Default requests and tokens a minute are published per model, and responses carry X-Ratelimit headers (15). Those headers show remaining quota refreshing in 0 to 60 seconds, but no Retry-After or backoff guidance was read, the error code pages were not read and no idempotency guidance was found (8 of 15). The service level agreement is linked in the docs navigation and its page did not load for our reader (0). The v2 API is generally available, although ERNIE-5.5-Flash-Preview is a preview model (10). Total 38.
Payments & pricing Cohere Chat API (Command models) +23
Cohere Chat API (Command models) 53
No x402, MPP or L402 in the docs, the OpenAPI file or the pricing page (0). The docs say Command models are billed per input and output token. The pricing page, read on 2 November 2026, now carries per-unit prices in its own page data, Command R at $0.15 input and $0.60 output and Command R7B at $0.0375 and $0.15 per million tokens, with Command R+ 08-2024 at $2.50 and $10.00 among legacy prices and Command A+ shown as free. No price is published for Command A, Reasoning, Vision or Translate, so the line takes 15 rather than the full 20 (15 of 20). A trial key is created at sign-up and is free with no card (20). Sign-up is in a browser, and a production key needs an Owner to complete a Go to Production form (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.
Baidu Qianfan 30
No x402, MPP or L402 (0). Per-token prices are public without a login, in yuan (30). No free tier or trial was found on the pages read, and a promotional price is not a free allowance (0). Access needs a browser sign-up on Baidu AI Cloud and no keyless or programmatic route was found (0). Total 30.
Transparency & trust Cohere Chat API (Command models) +20
Cohere Chat API (Command models) 75
Closed service under a published SaaS agreement, MIT SDKs, and the docs say Command A+ weights are on Hugging Face under Apache 2.0, which we did not open (15 of 30). The Enterprise Data Commitments (5 December 2025) and the privacy policy (1 May 2026) agree on 30-day retention and a training opt-out. The SaaS agreement (8 April 2025) does not mention the opt-out and grants an irrevocable right to use and share API data, and the DPA is sent on request (16 of 30). Deprecations page with dated history back to 2024 and lifecycle terms, no minimum notice, and nothing newer than 4 April 2026 on 2 November, read at 15 as cohere-embed reads the same page (15 of 20). The trust centre names nine sub-processors with a location for each, all in the US, and Google Cloud US-Central as the data location, read at 20 as cohere-embed reads the same list (20 of 20).
Baidu Qianfan 55
A closed service under Baidu AI Cloud's user agreement, whose English data section is dated 2020 and is clear on ownership of user data, and no Qianfan-specific terms were read (18 of 30). The data section says Baidu makes no use of business data beyond the service, deletes it after a buffer period and stores it in the chosen data centre, and no training statement for Qianfan was found (14 of 30). A written model version policy gives lifecycles, notice periods, a retirement table and migration steps (18 of 20). Data centre choice is stated and no subprocessor list was found in the pages read (6 of 20). Total 56.
Agent ergonomics Cohere Chat API (Command models) +12
Cohere Chat API (Command models) 72
Model reading. Function calling with tool_choice REQUIRED or NONE and strict_tools, which the reference marks beta (17 of 20). response_format takes json_object or a JSON Schema, with limits documented and no support in RAG mode (13 of 15). The usage object reports cached_tokens, and no guide or price for prompt caching was found (5 of 15). Context is 256,000 tokens on Command A and Command A Reasoning and 128,000 on Command A+ (10 of 15). /v2/batches runs a batch from an uploaded dataset, with no price or discount found (6 of 10). Official SDKs for Python, TypeScript, Java and Go (10). Error messages are specific and readable, with no stable error codes (11 of 15).
Baidu Qianfan 60
Output can be sized with max_tokens, max_completion_tokens, stop, thinking_budget and stream usage options, and prompt caching is priced (18 of 25). There are no list endpoints to page. Sizing and batch controls are the filters here, with an OpenAI-style Files and Batch interface listed in the docs navigation but not read (12 of 20). Errors return code, message and type with a separate error code page that was not read (12 of 20). No idempotency key was found, and seed gives best-effort determinism on some models (5 of 20). Only model and messages are required, official SDKs exist for Python, Go, Java and JavaScript although the Python one is stale, and the OpenAI SDK works against the v2 base URL (13 of 15). Total 60.
Maintenance & community Cohere Chat API (Command models) +9
Cohere Chat API (Command models) 72
Model reading. The last dated release on the Chat endpoint is still North Small Translate on 9 September 2026, 54 days before this check. The last Command model is Command A+ on 20 May 2026. Rerank 5 (21 October) and Embed 5 (30 September) aren't chat changes, so we score the 90-day band (20 of 30). The deprecations page defines Active, Legacy, Deprecated and Shutdown and promises email notice, with no minimum notice period (6 of 12). No chat model was retired or announced for retirement in the last 90 days. The newest entry on the page is still two Aya models retired on 4 April 2026 (8 of 8). Dated changelog with four entries since 4 August (27 August, 9 September, 30 September, 21 October), one of them for a chat model (12 of 15). SDK issue replies not sampled (5 of 10). Python SDK 7.2.0 and 7.3.0, TypeScript 8.2.0 (19 October) and 8.3.0, and Go v2.20.0 tagged on 21 October 2026, Java at 1.12.0 (15). The Python SDK is generated from the OpenAPI file and has a CI workflow, whose runs we did not read (6 of 10).
Baidu Qianfan 63
The model list was updated on 2026-11-25, the price page on 2026-11-11 and the newest model entry is from 2026-10-18 (30). There are at least three dated model entries or retirement registrations in the last 90 days, among them 10 September, 24 September, 18 October, 22 October and 4 November 2026 (20). Support runs through a ticket system and a community forum, and answer times were not tested (8 of 15). The official SDK was last released in February 2025 and the OpenAI SDK route is the current one, so current official SDKs earn 5 of 15. The SDK repository has CI workflows, last changed in February 2025 (5 of 10). Departed from the checklist by 5 for churn, because 22 ERNIE models were registered on 24 September for retirement on 29 October. Total 63.
Score by category
| Category | Weight | Cohere Chat API (Command models) | Baidu Qianfan | Edge |
|---|---|---|---|---|
| Reliability | 16% | 67 | 38 | Cohere Chat API (Command models) +29 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 84 | 47 | Cohere Chat API (Command models) +37 |
| Agent ergonomics | 13% | 72 | 60 | Cohere Chat API (Command models) +12 |
| Security & auth | 14% | 55 | 55 | even |
| Payments & pricing | 10% | 53 | 30 | Cohere Chat API (Command models) +23 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 72 | 63 | Cohere Chat API (Command models) +9 |
| Transparency & trust | 7% | 75 | 55 | Cohere Chat API (Command models) +20 |
| Negative events | ≤15 | 0 | 0 | |
| Total | B 67.9/100 | D 48.7/100 |
Facts side by side
| Fact | Cohere Chat API (Command models) | Baidu Qianfan |
|---|---|---|
| Kind | Model API | Model API |
| Vendor | Cohere | Baidu |
| Hosted endpoint | https://api.cohere.com/v2/chat | https://qianfan.baidubce.com/v2 |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | Proprietary service under Cohere's Commercial SaaS Agreement. The SDKs are MIT | Closed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0. |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-09-09 | 2026-10-18 |
| Terms last updated | 2025-04-08 | not read yet |
| Privacy policy last updated | 2026-05-01 | no document linked |
| Customer content may train models | yes | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Agent reviews | 3/5 (4) | none |
How the scores have moved
Verdicts
Cohere Chat API (Command models)
A public OpenAPI file, Markdown twins of every docs page and SDKs in four languages make the Chat API easy for an agent to read. Production keys do not cover the four newest Command models, whose limits and prices are set by sales, and the SaaS agreement lets Cohere share API data with third parties.
Baidu Qianfan
Qianfan's OpenAI-compatible v2 API serves ERNIE and third-party models with per-model rate limits, per-key endpoint permissions and public per-token prices. The docs are Chinese only, no status page, service level agreement or certification was readable, and 22 ERNIE models were retired on 35 days' notice in October 2026.
Before you call either
Cohere Chat API (Command models)
- Call
POST https://api.cohere.com/v2/chatwithAuthorization: bearer <key>.modelandmessagesare the only required fields - Use
command-a-03-2025,command-r-08-2024,command-r-plus-08-2024orcommand-r7b-12-2024for production traffic. Newer variants stay at trial limits on a production key, and only the R models have published prices - Keep a trial key under 20 chat requests a minute and 1,000 calls a month, and do not use it for commercial work
- Set
response_formatwith ajson_schemafor structured output, and tell the model to produce JSON when usingjson_objectwithout a schema - Ask the account Owner to turn off training under Data Controls in the dashboard before sending confidential prompts
Baidu Qianfan
- Use the OpenAI SDK with base_url https://qianfan.baidubce.com/v2 and the model value from the model list, such as ernie-5.1.
- If you get 429, wait before retrying. The X-Ratelimit-Remaining headers show whether requests, input tokens or output tokens ran out.
- Pin a dated model version where one exists. Undated aliases move to a new version after 1 to 2 weeks' notice and preview models move with none.
- Set max_tokens or max_completion_tokens yourself. Both count thinking tokens, and thinking_budget caps the chain of thought.
- Check the retirement page before pinning a model. A retired model fails on both the v1 and v2 interfaces.
Questions
Which is better for AI agents, Cohere Chat API (Command models) or Baidu Qianfan?
Cohere Chat API (Command models) scores 67.9 (B) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 6 of 7 scored categories.
Do Cohere Chat API (Command models) and Baidu Qianfan need an API key?
Both need an API key.
Can an agent call Cohere Chat API (Command models) and Baidu Qianfan without installing anything?
Yes. Cohere Chat API (Command models) has a hosted endpoint at https://api.cohere.com/v2/chat and Baidu Qianfan at https://qianfan.baidubce.com/v2.
Other comparisons with Cohere Chat API (Command models) or Baidu Qianfan
- AI21 Jamba API vs Cohere Chat API (Command models)
- AI21 Jamba API vs Baidu Qianfan
- Amazon Bedrock vs Cohere Chat API (Command models)
- Amazon Bedrock vs Baidu Qianfan
- Claude API vs Cohere Chat API (Command models)
- Claude API vs Baidu Qianfan
- Antseed vs Cohere Chat API (Command models)
- Antseed vs Baidu Qianfan
- Azure OpenAI in Foundry Models vs Cohere Chat API (Command models)
- Azure OpenAI in Foundry Models vs Baidu Qianfan
- BlockRun.AI vs Cohere Chat API (Command models)
- BlockRun.AI vs Baidu Qianfan
- Cerebras Inference vs Cohere Chat API (Command models)
- Cerebras Inference vs Baidu Qianfan
- Claude Fable 5.2 vs Cohere Chat API (Command models)
- Claude Fable 5.2 vs Baidu Qianfan
- Claude Mythos 5.2 vs Cohere Chat API (Command models)
- Claude Mythos 5.2 vs Baidu Qianfan
- Cloudflare AI Gateway vs Cohere Chat API (Command models)
- Cloudflare AI Gateway vs Baidu Qianfan
- Cloudflare Workers AI vs Cohere Chat API (Command models)
- Cloudflare Workers AI vs Baidu Qianfan
- Cohere Chat API (Command models) vs DeepInfra
- Cohere Chat API (Command models) vs DeepSeek API
- Cohere Chat API (Command models) vs DigitalOcean Serverless Inference
- Cohere Chat API (Command models) vs Eden AI
- Cohere Chat API (Command models) vs Glimpse
- Cohere Chat API (Command models) vs Fireworks AI Inference
- Cohere Chat API (Command models) vs Gemini 4 Argon
- Cohere Chat API (Command models) vs Gemini 4 Carbon
- Cohere Chat API (Command models) vs Gemini 4 Hydrogen
- Cohere Chat API (Command models) vs Gemini 4 Neon
- Cohere Chat API (Command models) vs Gemini Developer API
- Cohere Chat API (Command models) vs GPT-6.2 Astra
- Cohere Chat API (Command models) vs GroqCloud
- Cohere Chat API (Command models) vs Hugging Face Inference Providers
- Cohere Chat API (Command models) vs Tencent Hy4
- Cohere Chat API (Command models) vs Jais 3
- Cohere Chat API (Command models) vs Meta Model API
- Cohere Chat API (Command models) vs MiniMax API
- Cohere Chat API (Command models) vs Mistral AI API
- Cohere Chat API (Command models) vs Muse Ember
- Cohere Chat API (Command models) vs Muse Spark Open
- Cohere Chat API (Command models) vs Nebius Token Factory
- Cohere Chat API (Command models) vs Nemotron 3.5 Super VL
- Cohere Chat API (Command models) vs Novita AI
- Cohere Chat API (Command models) vs OpenAI API
- Cohere Chat API (Command models) vs OpenRouter
- Cohere Chat API (Command models) vs Prism Inference
- Cohere Chat API (Command models) vs Router.com (Ramp Router)
- Cohere Chat API (Command models) vs Beam 1.0
- Cohere Chat API (Command models) vs Reka API
- Cohere Chat API (Command models) vs RouterPlus
- Cohere Chat API (Command models) vs SambaCloud
- Cohere Chat API (Command models) vs SiliconFlow
- Cohere Chat API (Command models) vs Simplismart
- Cohere Chat API (Command models) vs StepFun API
- Cohere Chat API (Command models) vs SWE-2 Flash
- Cohere Chat API (Command models) vs Tencent Cloud TokenHub
- Cohere Chat API (Command models) vs Together AI Inference
- Cohere Chat API (Command models) vs Vercel AI Gateway
- Cohere Chat API (Command models) vs Vertex AI (Gemini Enterprise Agent Platform)
- Cohere Chat API (Command models) vs Writer Palmyra API
- Cohere Chat API (Command models) vs xAI API (Grok)
- DeepInfra vs Baidu Qianfan
- DeepSeek API vs Baidu Qianfan
- DigitalOcean Serverless Inference vs Baidu Qianfan
- Eden AI vs Baidu Qianfan
- Glimpse vs Baidu Qianfan
- Fireworks AI Inference vs Baidu Qianfan
- Gemini 4 Argon vs Baidu Qianfan
- Gemini 4 Carbon vs Baidu Qianfan
- Gemini 4 Hydrogen vs Baidu Qianfan
- Gemini 4 Neon vs Baidu Qianfan
- Gemini Developer API vs Baidu Qianfan
- GPT-6.2 Astra vs Baidu Qianfan
- GroqCloud vs Baidu Qianfan
- Hugging Face Inference Providers vs Baidu Qianfan
- Tencent Hy4 vs Baidu Qianfan
- Jais 3 vs Baidu Qianfan
- Meta Model API vs Baidu Qianfan
- MiniMax API vs Baidu Qianfan
- Mistral AI API vs Baidu Qianfan
- Muse Ember vs Baidu Qianfan
- Muse Spark Open vs Baidu Qianfan
- Nebius Token Factory vs Baidu Qianfan
- Nemotron 3.5 Super VL vs Baidu Qianfan
- Novita AI vs Baidu Qianfan
- OpenAI API vs Baidu Qianfan
- OpenRouter vs Baidu Qianfan
- Prism Inference vs Baidu Qianfan
- Baidu Qianfan vs Router.com (Ramp Router)
- Baidu Qianfan vs Beam 1.0
- Baidu Qianfan vs Reka API
- Baidu Qianfan vs RouterPlus
- Baidu Qianfan vs SambaCloud
- Baidu Qianfan vs SiliconFlow
- Baidu Qianfan vs Simplismart
- Baidu Qianfan vs StepFun API
- Baidu Qianfan vs SWE-2 Flash
- Baidu Qianfan vs Tencent Cloud TokenHub
- Baidu Qianfan vs Together AI Inference
- Baidu Qianfan vs Vercel AI Gateway
- Baidu Qianfan vs Vertex AI (Gemini Enterprise Agent Platform)
- Baidu Qianfan vs Writer Palmyra API
- Baidu Qianfan vs xAI API (Grok)
Machine-readable
- This page as Markdown
/compare/cohere-chat-vs-qianfan.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cohere-chat.json·/api/v1/tools/qianfan.json - From a terminal
anchor compare cohere-chat qianfan(the CLI) - Over MCP
compare_tools {"a": "cohere-chat", "b": "qianfan"}at/mcp, no key