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
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
| Category | Weight | Baidu Qianfan | RouteMux | Edge |
|---|---|---|---|---|
| Reliability | 16% | 38 | 47 | RouteMux +9 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 47 | 71 | RouteMux +24 |
| Agent ergonomics | 13% | 60 | 63 | RouteMux +3 |
| Security & auth | 14% | 55 | 48 | Baidu Qianfan +7 |
| Payments & pricing | 10% | 30 | 60 | RouteMux +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 63 | 60 | Baidu Qianfan +3 |
| Transparency & trust | 7% | 55 | 44 | Baidu Qianfan +11 |
| Negative events | ≤15 | 0 | -33 | |
| Total | D 48.7/100 | F 23.2/100 |
Facts side by side
| Fact | Baidu Qianfan | RouteMux |
|---|---|---|
| Kind | Model API | Model router |
| Vendor | Baidu | RouteMux |
| Hosted endpoint | https://qianfan.baidubce.com/v2 | https://api.routemux.com/v1 |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Closed 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 documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-18 | 2026-11-18 |
| Terms last updated | not read yet | no date given |
| Privacy policy last updated | no document linked | 2026-07-24 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not 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
- 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.
RouteMux
- 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
- Pick models labelled "(Official)" where a cheaper twin exists, and check provider terms before sending regulated data
- Branch on
error.codeorX-RouteMux-Error-Code, wait forRetry-After, and checkbilling.statusbefore retrying a stream - 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
- AI21 Jamba API vs Baidu Qianfan
- AI21 Jamba API vs RouteMux
- Amazon Bedrock vs Baidu Qianfan
- Amazon Bedrock vs RouteMux
- Claude API vs Baidu Qianfan
- Claude API vs RouteMux
- Antseed vs Baidu Qianfan
- Azure OpenAI in Foundry Models vs Baidu Qianfan
- Azure OpenAI in Foundry Models vs RouteMux
- BlockRun.AI vs Baidu Qianfan
- BlockRun.AI vs RouteMux
- Cerebras Inference vs Baidu Qianfan
- Cerebras Inference vs RouteMux
- Claude Fable 5.2 vs Baidu Qianfan
- Claude Fable 5.2 vs RouteMux
- Claude Mythos 5.2 vs Baidu Qianfan
- Claude Mythos 5.2 vs RouteMux
- Cloudflare AI Gateway vs Baidu Qianfan
- Cloudflare AI Gateway vs RouteMux
- Cloudflare Workers AI vs Baidu Qianfan
- Cloudflare Workers AI vs RouteMux
- Cohere Chat API (Command models) vs Baidu Qianfan
- Cohere Chat API (Command models) vs RouteMux
- DeepInfra vs Baidu Qianfan
- DeepInfra vs RouteMux
- DeepSeek API vs Baidu Qianfan
- DeepSeek API vs RouteMux
- DigitalOcean Serverless Inference vs Baidu Qianfan
- DigitalOcean Serverless Inference vs RouteMux
- Eden AI vs Baidu Qianfan
- Glimpse vs Baidu Qianfan
- Glimpse vs RouteMux
- Fireworks AI Inference vs Baidu Qianfan
- Fireworks AI Inference vs RouteMux
- Gemini 4 Argon vs Baidu Qianfan
- Gemini 4 Argon vs RouteMux
- Gemini 4 Carbon vs Baidu Qianfan
- Gemini 4 Carbon vs RouteMux
- Gemini 4 Hydrogen vs Baidu Qianfan
- Gemini 4 Hydrogen vs RouteMux
- Gemini 4 Neon vs Baidu Qianfan
- Gemini 4 Neon vs RouteMux
- Gemini Developer API vs Baidu Qianfan
- Gemini Developer API vs RouteMux
- GPT-6.2 Astra vs Baidu Qianfan
- GPT-6.2 Astra vs RouteMux
- GroqCloud vs Baidu Qianfan
- GroqCloud vs RouteMux
- Hugging Face Inference Providers vs Baidu Qianfan
- Tencent Hy4 vs Baidu Qianfan
- Tencent Hy4 vs RouteMux
- Jais 3 vs Baidu Qianfan
- Jais 3 vs RouteMux
- Meta Model API vs Baidu Qianfan
- Meta Model API vs RouteMux
- MiniMax API vs Baidu Qianfan
- MiniMax API vs RouteMux
- Mistral AI API vs Baidu Qianfan
- Mistral AI API vs RouteMux
- Muse Ember vs Baidu Qianfan
- Muse Ember vs RouteMux
- Muse Spark Open vs Baidu Qianfan
- Muse Spark Open vs RouteMux
- Nebius Token Factory vs Baidu Qianfan
- Nebius Token Factory vs RouteMux
- Nemotron 3.5 Super VL vs Baidu Qianfan
- Nemotron 3.5 Super VL vs RouteMux
- Novita AI vs Baidu Qianfan
- Novita AI vs RouteMux
- OpenAI API vs Baidu Qianfan
- OpenAI API vs RouteMux
- OpenRouter vs Baidu Qianfan
- OpenRouter vs RouteMux
- Orkas API vs Baidu Qianfan
- Prism Inference vs Baidu Qianfan
- Prism Inference vs RouteMux
- 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)
- Beam 1.0 vs RouteMux
- Reka API vs RouteMux
- RouteMux vs SambaCloud
- RouteMux vs SiliconFlow
- RouteMux vs Simplismart
- RouteMux vs StepFun API
- RouteMux vs SWE-2 Flash
- RouteMux vs Together AI Inference
- RouteMux vs Vertex AI (Gemini Enterprise Agent Platform)
- RouteMux vs Writer Palmyra API
- RouteMux vs xAI API (Grok)
- Antseed vs RouteMux
- Eden AI vs RouteMux
- Hugging Face Inference Providers vs RouteMux
- LiteLLM vs RouteMux
- Orkas API vs RouteMux
- Router.com (Ramp Router) vs RouteMux
- RouteMux vs RouterPlus
- RouteMux vs Tencent Cloud TokenHub
- RouteMux vs Vercel AI Gateway
Machine-readable
- This page as Markdown
/compare/qianfan-vs-routemux.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/qianfan.json·/api/v1/tools/routemux.json - From a terminal
anchor compare qianfan routemux(the CLI) - Over MCP
compare_tools {"a": "qianfan", "b": "routemux"}at/mcp, no key