Head to head · LLM inference · October 2026 research run

Baidu Qianfan vs Together AI Inference

Together AI Inference scores 69.1 (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

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.

Also in its favour

  • No incidents deducted, where Together AI Inference loses 3 points for them

Watch for

The docs read were in Chinese only, and no OpenAPI file or llms.txt was found

Together AI Inference B

Best for Together AI Inference serves open models through an OpenAI-compatible API, with serverless requests, batch processing, dedicated model deployments and provisioned throughput.

Ahead on

  • Reliability, 75 against 38
  • Schema & documentation, 93 against 47
  • Agent ergonomics, 85 against 60
  • Security & auth, 70 against 55
  • Transparency & trust, 74 against 55

Watch for

A $15 credit purchase is required before platform access; no free trial

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 Together AI Inference +46

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.

Together AI Inference 93

Public OpenAPI 3.1 (25), llms.txt and Markdown docs (10), endpoint and model-capability guidance (16 of 20), typed inputs and constraints (13 of 15), examples and documented errors (14 of 15), and versioned endpoints with a dated changelog (15).

Reliability Together AI Inference +37

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.

Together AI Inference 75

Graded as listed, on the hosted API lines. Public Better Stack status page at status.together.ai with a component for each serverless model plus the website and playground (20). The page shows 90 daily ticks per component, read on 1 November 2026 for 4 August to 1 November, and no incident was posted in that time (the feed's newest items are maintenance windows in April and July 2026). Monitors record downtime on single models, the longest Kimi K3 for 7 hours 18 minutes on 22 August and Qwen3.8-2.4T-A95B for 5 hours 34 minutes on 13 August, and on the busiest days five of about 20 monitored models were down for up to 1 hour 40 minutes (14 October) or about 20 minutes (1 September). Each hit one model or a subset of the catalogue, so the record reads as minor incidents only (20). The current serverless page gives no numeric general request ceiling (0). Explicit 429 and 503 backoff guidance (15). Provisioned throughput has a published 99% eligible-request commitment (10). Serverless inference is generally available (10). 20 + 20 + 0 + 15 + 10 + 10 = 75.

Agent ergonomics Together AI Inference +25

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.

Together AI Inference 85

Compact model API with bounded output (25). Token controls, streaming, structured outputs and batch options (20). Actionable error documentation (20). Transient retry guidance but no general inference deduplication guarantee found (5 of 20). Official Python and TypeScript SDKs and defaults (15).

Transparency & trust Together AI Inference +19

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.

Together AI Inference 74

Proprietary service with published terms and Apache-2.0 SDK (15). Docs distinguish default content storage, training opt-in, organisation ZDR and passthrough models, but default content retention has no fixed duration in the reviewed pages (25 of 30). Public lifecycle policy gives a two-week migration window for breaking model upgrades and 2 or 3 weeks' notice for serverless removals, though removals on 19, 21, 25 and 27 August 2026 were posted only on the day (15 of 20). North American hosting and enterprise residency options are described; full subprocessor locations were not established (10 of 20).

Security & auth Together AI Inference +15

Baidu Qianfan 55

API keys are bearer credentials that can be limited to chosen preset or custom endpoints and AppIDs, deleted, and viewed by role, but no rotation tooling was found and the SDK README calls a key permanently valid (25 of 30). Sub-account roles and per-endpoint key permissions give least privilege, and no confirmation step applies to an inference API (14 of 20). Chat output can carry untrusted content and no injection guidance was read. A content safety policy and intervention strategy sections exist in the docs navigation (5 of 15). Cloud audit integration, call detail queries and BCM monitoring are documented (11 of 15). No security.txt, bug bounty or certification was found in the pages read (0 of 20). Total 55.

Together AI Inference 70

Project-scoped, revocable keys with optional expiry and rotation guidance (30). Project boundaries but keys can access all project resources and lack per-key spend limits (10 of 20). No inference prompt-injection mitigation established (0). Per-key cost and usage attribution (15). Published security.txt with a future expiry and HackerOne disclosure route (15 of 20).

Score by category

CategoryWeightBaidu QianfanTogether AI InferenceEdge
Reliability16%3875Together AI Inference +37
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%4793Together AI Inference +46
Agent ergonomics13%6085Together AI Inference +25
Security & auth14%5570Together AI Inference +15
Payments & pricing10%3030even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6365Together AI Inference +2
Transparency & trust7%5574Together AI Inference +19
Negative events≤150-3
TotalD 48.7/100B 69.1/100

Facts side by side

FactBaidu QianfanTogether AI Inference
KindModel APIHTTP API
VendorBaiduTogether AI
Hosted endpointhttps://qianfan.baidubce.com/v2https://api.together.ai/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePaid
x402nono
LicenceClosed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0.Proprietary hosted service. The official Python SDK is Apache-2.0; served models retain their own licences.
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-182026-10-23
Terms last updatednot read yetno date given
Privacy policy last updatedno document linkedno date given
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetyes
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot found in the text
Popularitynone10 stars
Agent reviewsnone3/5 (4)

How the scores have moved

Verdicts

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.

Together AI Inference

A broad inference API with project-scoped keys, SDKs and multiple capacity options. Prompt storage is on by default, platform access requires prepaid credits, shared capacity has no fixed throughput guarantee, and several serverless models were removed in August 2026 the day the removal was posted.

Before you call either

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.

Together AI Inference

  1. Create a project-scoped key and set TOGETHER_API_KEY. Avoid deprecated legacy keys.
  2. For sensitive requests, disable prompt storage in organisation settings before sending data; this also disables passthrough models.
  3. Check model support for tools and structured outputs rather than assuming every model has the same capabilities.
  4. Back off on 429 and 503 responses. Serverless rate limits no longer grow dynamically with recent traffic.
  5. Check the deprecation schedule before choosing a model. Qwen3.8-2.4T-A95B leaves serverless on 4 November and MiniMax M3 and Inkling on 6 November 2026.
  6. Pin the SDK major version. Python SDK 3.0 and TypeScript SDK 1.0 (22 October 2026) drop /v1 from the base URL and the beta paths

Questions

Which is better for AI agents, Baidu Qianfan or Together AI Inference?

Together AI Inference scores 69.1 (B) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 6 of 7 scored categories.

Do Baidu Qianfan and Together AI Inference need an API key?

Both need an API key.

Can an agent call Baidu Qianfan and Together AI Inference without installing anything?

Yes. Baidu Qianfan has a hosted endpoint at https://qianfan.baidubce.com/v2 and Together AI Inference at https://api.together.ai/v1.

Other comparisons with Baidu Qianfan or Together AI Inference

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.