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

Baidu Qianfan D

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

CategoryWeightCohere Chat API (Command models)Baidu QianfanEdge
Reliability16%6738Cohere Chat API (Command models) +29
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8447Cohere Chat API (Command models) +37
Agent ergonomics13%7260Cohere Chat API (Command models) +12
Security & auth14%5555even
Payments & pricing10%5330Cohere Chat API (Command models) +23
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7263Cohere Chat API (Command models) +9
Transparency & trust7%7555Cohere Chat API (Command models) +20
Negative events≤1500
TotalB 67.9/100D 48.7/100

Facts side by side

FactCohere Chat API (Command models)Baidu Qianfan
KindModel APIModel API
VendorCohereBaidu
Hosted endpointhttps://api.cohere.com/v2/chathttps://qianfan.baidubce.com/v2
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402nono
LicenceProprietary service under Cohere's Commercial SaaS Agreement. The SDKs are MITClosed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0.
Read-only variant documentednono
llms.txtyesno
Last release2026-09-092026-10-18
Terms last updated2025-04-08not read yet
Privacy policy last updated2026-05-01no document linked
Customer content may train modelsyesnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticeyesnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Agent reviews3/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)

  1. Call POST https://api.cohere.com/v2/chat with Authorization: bearer <key>. model and messages are the only required fields
  2. Use command-a-03-2025, command-r-08-2024, command-r-plus-08-2024 or command-r7b-12-2024 for production traffic. Newer variants stay at trial limits on a production key, and only the R models have published prices
  3. Keep a trial key under 20 chat requests a minute and 1,000 calls a month, and do not use it for commercial work
  4. Set response_format with a json_schema for structured output, and tell the model to produce JSON when using json_object without a schema
  5. Ask the account Owner to turn off training under Data Controls in the dashboard before sending confidential prompts

Baidu Qianfan

  1. 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.
  2. If you get 429, wait before retrying. The X-Ratelimit-Remaining headers show whether requests, input tokens or output tokens ran out.
  3. 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.
  4. Set max_tokens or max_completion_tokens yourself. Both count thinking tokens, and thinking_budget caps the chain of thought.
  5. 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.