Head to head · LLM inference · October 2026 research run

Baidu Qianfan vs RouteMux

Baidu Qianfan scores 48.7 (D) on agent readiness against RouteMux's 23.2 (F), and leads in 3 of 7 scored categories. RouteMux leads on reliability, schema & documentation and payments & pricing. Both do llm inference.

Best model APIs and inference for AI agents · All 1608 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.

Ahead on

  • Security & auth, 55 against 48
  • Transparency & trust, 55 against 44

Also in its favour

  • No incidents deducted, where RouteMux loses 33 points for them

Watch for

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

RouteMux F

Best for A cheap gateway to many text, image, video and audio models for people who accept unofficial routes and an unnamed operator.

Ahead on

  • Reliability, 47 against 38
  • Schema & documentation, 71 against 47
  • Payments & pricing, 60 against 30

Also in its favour

  • Free to start without a card

Watch for

Sells Claude models through a "Dedicated Kiro route", and Kiro's licence (AWS Customer Agreement 6.4) forbids resale

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.

Payments & pricing RouteMux +30

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.

RouteMux 60

No machine payment protocol found. USDT top-ups are processed by hand (0). Per-token and per-second prices for every model are public without a login (30). $0.1 of trial credit at signup with no card, opening 24 models (30). A person signs up in the browser (0). 0 + 30 + 30 + 0 = 60.

Schema & documentation RouteMux +24

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.

RouteMux 71

Router, scored on the API lines. An OpenAPI 3.1 file covers 18 paths, the auth schemes and typed error bodies, but request bodies are an untyped passthrough schema (20 of 25). llms.txt, and a Markdown copy of each docs page and model page (10). llms.txt says which endpoint does what, which providers can be called and that others don't exist, and points to a fact sheet per model (14 of 20). Request fields are not typed beyond the upstream formats, with a few enums in the error schemas (4 of 15). Request examples in the OpenAPI file and docs, and documented error envelopes for each protocol with codes, retry and billing fields (13 of 15). Calls go under /v1 and the OpenAPI file is versioned 2.0.0. The changelog stops in May 2026, but the announcements page dates each model and price change (10 of 15). 20 + 10 + 14 + 4 + 13 + 10 = 71.

Transparency & trust Baidu Qianfan +11

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.

RouteMux 44

Closed service. The terms are clear on billing and refunds, but name no company and choose Hong Kong law, so a customer can't tell who the counterparty is (8 of 30). The privacy policy states US storage, no training, Stripe for payments and Google sign-in, and agrees with the terms. Retention for request logs has no period, and there is no DPA or subprocessor list (12 of 30). The terms say models can disappear, refund fee changes get 30 days' notice, and retired models are marked on the pricing page, with no deprecation policy (6 of 20). US storage, Stripe and Google are named, with no full subprocessor list (8 of 20). 8 + 12 + 6 + 8 = 34.

Reliability RouteMux +9

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.

RouteMux 47

Hosted router. A status page at routemux.com/status, fed by RouteMux's own probes every five minutes, per provider and for the system (20). It shows hourly cells for the last three days only, so no 90-day history was readable (5). Rate limits are set per account and shown in the console, with no numbers published (0). Errors carry retry.retryable, retry.strategy and Retry-After where a wait applies, failed requests are not billed, and billing.status says whether a broken stream was charged. There are no idempotency keys, the reading this run gave RouterPlus (12 of 15). The home page claims "stated SLAs", but the terms give the service "as is" and no SLA was found (0). No beta label on the gateway (10). 20 + 5 + 0 + 12 + 0 + 10 = 47.

Security & auth Baidu Qianfan +7

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.

RouteMux 48

Router, read on the model lines. sk- keys minted in the console, accepted in three header forms. No scopes, spend caps per key, expiry or rotation found (18 of 30). The privacy policy says API content is never used for training and is processed only to complete the request, and that RouteMux prefers upstream channels that don't train on API data. Kiro routes and routes not labelled official leave the upstream data terms unstated (10 of 20). Request logs are kept for troubleshooting and auditing with no period given, and the terms say requests are screened for safety (6 of 15). The console has logs, usage and billing views, and each error carries a stable RMX- reference (12 of 15). /.well-known/security.txt answers 404, and no disclosure policy, bug bounty or certification was found (2 of 20). 18 + 10 + 6 + 12 + 2 = 48.

Score by category

CategoryWeightBaidu QianfanRouteMuxEdge
Reliability16%3847RouteMux +9
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%4771RouteMux +24
Agent ergonomics13%6063RouteMux +3
Security & auth14%5548Baidu Qianfan +7
Payments & pricing10%3060RouteMux +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6360Baidu Qianfan +3
Transparency & trust7%5544Baidu Qianfan +11
Negative events≤150-33
TotalD 48.7/100F 23.2/100

Facts side by side

FactBaidu QianfanRouteMux
KindModel APIModel router
VendorBaiduRouteMux
Hosted endpointhttps://qianfan.baidubce.com/v2https://api.routemux.com/v1
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceClosed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0.Closed service under RouteMux's terms of service, governed by Hong Kong law. The terms name the operator only as RouteMux (https://routemux.com/terms).
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-182026-11-18
Terms last updatednot read yetno date given
Privacy policy last updatedno document linked2026-07-24
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 yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot found in the text

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.

RouteMux

RouteMux sells Claude through a Kiro route whose licence forbids resale, prices most models 72 to 95 per cent under list, and names no company or person. For agents it has llms.txt, an OpenAPI file, typed error codes with retry and billing status, and its own status probes. Rate limits have no published numbers and no SLA was found.

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.

RouteMux

  1. Avoid model ids ending in -kiro. They resell Kiro access, which Kiro's licence forbids, and claude-opus-4-7-kiro calls Opus 5.5
  2. Pick models labelled "(Official)" where a cheaper twin exists, and check provider terms before sending regulated data
  3. Branch on error.code or X-RouteMux-Error-Code, wait for Retry-After, and check billing.status before retrying a stream
  4. Read your callable models from GET https://api.routemux.com/v1/models, because the trial key opens only 24 models

Questions

Which is better for AI agents, Baidu Qianfan or RouteMux?

Baidu Qianfan scores 48.7 (D) on agent readiness against RouteMux's 23.2 (F), and leads in 3 of 7 scored categories. RouteMux leads on reliability, schema & documentation and payments & pricing.

Do Baidu Qianfan and RouteMux need an API key?

Both need an API key.

Can an agent call Baidu Qianfan and RouteMux without installing anything?

Yes. Baidu Qianfan has a hosted endpoint at https://qianfan.baidubce.com/v2 and RouteMux at https://api.routemux.com/v1.

Other comparisons with Baidu Qianfan or RouteMux

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.