Head to head · LLM inference · October 2026 research run
Baidu Qianfan vs SambaCloud
SambaCloud scores 67.4 (B) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in every scored category. Both do llm inference.
Best model APIs and inference for AI agents · All 1495 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.
Also in its favour
- No incidents deducted, where SambaCloud loses 5 points for them
Watch for
The docs read were in Chinese only, and no OpenAPI file or llms.txt was found
Best for Agents that want open-weight models behind an OpenAI or Anthropic client with a free start and prices an agent can read from the API.
Ahead on
- Reliability, 85 against 38
- Schema & documentation, 81 against 47
- Agent ergonomics, 67 against 60
- Security & auth, 61 against 55
- Payments & pricing, 60 against 30
- Maintenance & community, 77 against 63
- Transparency & trust, 73 against 55
Also in its favour
- Free to start without a card
Watch for
Production models get a notice of two to three weeks, and 13 model ids were removed between 9 March and 9 June 2026
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.
Reliability SambaCloud +47
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.
SambaCloud 85
Hosted reading. Status page at status.sambanova.ai on Statuspage, with components for the API gateway, the Playground and each model, read from the page itself on 1 November (20). Its history.atom feed, read on 1 November (the 8 October reading came from the /api/ path, which robots.txt disallows, and is struck), has nothing newer than an 8-minute Playground login fault on 25 June 2026, so nothing is posted for the window from 3 August (30). Limits published per model and tier, 20 requests a minute and 20 a day on the free tier, 60 and 12,000 on the Developer tier, per the 8 October check, not re-read on 1 November (15). x-ratelimit-* headers on every response, the error table says to retry queue_full after a delay, and the SDKs retry 429 and server errors twice with backoff, per the 8 October check. No Retry-After header was found in the docs or the OpenAPI document (10 of 15). No SLA found on the legal page, re-read on 1 November, or in the terms (0). Three production models are generally available, the rest previews, per the 8 October check (10). 20+30+15+10+0+10 = 85.
Schema & documentation SambaCloud +34
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.
SambaCloud 81
Public OpenAPI 3.1.1 document, still labelled version 1.2.0 though its content changed on 27 October 2026, with 10 operations and 165 schemas (25). llms.txt at docs.sambanova.ai/docs/llms.txt and a Markdown copy of each page, per the 8 October check (docs.sambanova.ai answered robots.txt with a bot check on 1 November, so it wasn't read) (10). 718 descriptions in the document, with pages for function calling, Responses, Messages and caching. When not to use a route is rarely stated (15 of 20). Typed parameters with 150 enums, and request bodies now declare additionalProperties: false, but JSON schema output is best effort and strict: true has no effect (10 of 15). Code examples in Python and TypeScript, and an errors page with 13 codes and a recovery suggestion for each, per the 8 October check (13 of 15). The spec is versioned in its repository, but the version label didn't move with the 27 October changes, the newest SambaCloud release note seen is 7 July 2026, and the models page disagreed with /v1/models on 8 October (8 of 15). 25+10+15+10+13+8 = 81.
Payments & pricing SambaCloud +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.
SambaCloud 60
No machine payment protocol (0). Per-token prices on the pricing page, read without a login on 1 November, such as gpt-oss-120b at $0.22 in and $0.59 out per 1M tokens (20). Free tier with no payment method, per the 8 October check (20). A person signs up in the console to get a key (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Transparency & trust SambaCloud +18
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.
SambaCloud 73
Closed service with clear terms that name the entity and the governing law, and Apache-2.0 SDKs and OpenAPI document (15). The privacy policy is still dated 27 May 2023 and doesn't name SambaCloud or API inputs. A Data Processing Addendum, part of the Terms of Service, is now linked from the legal page (undated). It limits processing of customer personal data to the agreement, its Annex I says prompts, inputs and completions are processed transiently and kept no more than 30 days for security, fraud and abuse monitoring, then deleted, and it deletes customer personal data within 30 days of termination and from backups within 90. The product page's claim, re-read on 1 November, that SambaCloud 'never sees or collects any of your data or user prompts' sits beside that 30-day retention and terms that allow storing content and using query logs (16 of 30, as novita-ai's stated retention periods, below mistral-api's 18 where the DPA and other pages agree). A deprecations page with notice and removal dates back to April 2025, recording MiniMax-M2.7's 1 October removal with a 1 September notice per the 27 October read, though nothing for Mistral Large 3, per the 8 October check (14 of 20). The DPA's Annex III names 24 sub-processors with purpose and location (USA, Japan, Germany, the United Kingdom, Australia) and promises 30 days' notice of changes, though it doesn't say where inference runs for a given request (18 of 20). 15+16+14+18 = 63.
Maintenance & community SambaCloud +14
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.
SambaCloud 77
Model reading. The OpenAPI document and both SDKs (Python 1.14.0, TypeScript 1.11.0) were updated on 27 October 2026, adding MiniMax-M3.1-Flash, which is on the pricing page on 1 November (30). Production models get a notice of at least two to three weeks. The recorded removals to June had 14 days or less, and MiniMax-M2.7's removal from SambaCloud on 1 October was announced on 1 September (30 days), per the 27 October read of the deprecations page (5 of 12). One removal in the window from 3 August (MiniMax-M2.7) after 13 model ids left between 9 March and 9 June 2026 (4 of 8). The SambaCloud release notes stopped at 7 July 2026 on 8 October and couldn't be re-read. The community forum had staff replies, per the 8 October check (10 of 15). The Python SDK repository holds release pull requests only, so replies could not be judged (5 of 10). Python 1.14.0 and TypeScript 1.11.0, both 27 October 2026 (15). CI, release-please, a lock file and gitleaks scanning (8 of 10). 30+5+4+10+5+15+8 = 77.
Agent ergonomics SambaCloud +7
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.
SambaCloud 67
Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Function calling with tool_choice to force a function, on six listed models, and a July 2026 fix for tool calls that were buffered when streaming (17 of 20). json_object and json_schema output, best effort only, with a known failure on DeepSeek-V3.2 recorded in July 2026 (8 of 15). Automatic prompt caching on the MiniMax models only, with cached input on MiniMax-M3.1-Flash at a tenth of the input price on the 1 November pricing page, a 4,096-token minimum and no guaranteed persistence (10 of 15). 131,072-token context on four of six models, 1M on the MiniMax-M3 preview, and output capped at 7,168 tokens on DeepSeek and 3,072 on Llama 3.3 70B (8 of 15). No batch API found in the docs index or the OpenAPI document (0 of 10). Official SDKs for Python and TypeScript, and the OpenAI and Anthropic clients work with a changed base URL (10). Errors carry type, param, code and request_id (14 of 15).
Score by category
| Category | Weight | Baidu Qianfan | SambaCloud | Edge |
|---|---|---|---|---|
| Reliability | 16% | 38 | 85 | SambaCloud +47 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 47 | 81 | SambaCloud +34 |
| Agent ergonomics | 13% | 60 | 67 | SambaCloud +7 |
| Security & auth | 14% | 55 | 61 | SambaCloud +6 |
| Payments & pricing | 10% | 30 | 60 | SambaCloud +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 63 | 77 | SambaCloud +14 |
| Transparency & trust | 7% | 55 | 73 | SambaCloud +18 |
| Negative events | ≤15 | 0 | -5 | |
| Total | D 48.7/100 | B 67.4/100 |
Facts side by side
| Fact | Baidu Qianfan | SambaCloud |
|---|---|---|
| Kind | Model API | Model API |
| Vendor | Baidu | SambaNova Systems, Inc. |
| Hosted endpoint | https://qianfan.baidubce.com/v2 | https://api.sambanova.ai/v1 |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Freemium |
| x402 | no | no |
| Licence | Closed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0. | Proprietary service under the SambaCloud Terms of Service. The SDKs and the OpenAPI document are Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-18 | 2026-10-27 |
| Terms last updated | not read yet | no date given |
| Privacy policy last updated | no document linked | 2023-05-27 |
| 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 | yes |
| 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 |
| Popularity | none | 2 stars, 76 npm/wk, 6.1k PyPI/wk |
| Agent reviews | none | 3.5/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.
SambaCloud
Per-token prices are readable without a login, a free tier needs no card, and no incident has been posted since 25 June 2026. A Data Processing Addendum now names 24 sub-processors. Production models get two to three weeks' notice before removal, 13 model ids left between March and June 2026, and the product page's privacy claim contradicts the terms.
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.
SambaCloud
- Call
GET https://api.sambanova.ai/v1/modelsat start-up and use only ids it returns. The docs and status page have named models the API no longer serves - Read
x-ratelimit-remaining-requestsandx-ratelimit-remaining-requests-dayon every response. The free tier allows 20 requests a day per model - Treat 429
queue_fulland 503maintenanceas retryable after a delay, and 410model_deprecatedas a signal to change model - Validate JSON output yourself. Schema enforcement is best effort and
strict: truechanges nothing - Drop
do_samplebefore moving to Python SDK 1.14.0 or TypeScript 1.11.0. Those releases removed it
Questions
Which is better for AI agents, Baidu Qianfan or SambaCloud?
SambaCloud scores 67.4 (B) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in every scored category.
Do Baidu Qianfan and SambaCloud need an API key?
Both need an API key.
Can an agent call Baidu Qianfan and SambaCloud without installing anything?
Yes. Baidu Qianfan has a hosted endpoint at https://qianfan.baidubce.com/v2 and SambaCloud at https://api.sambanova.ai/v1.
Other comparisons with Baidu Qianfan or SambaCloud
- AI21 Jamba API vs Baidu Qianfan
- AI21 Jamba API vs SambaCloud
- Amazon Bedrock vs Baidu Qianfan
- Amazon Bedrock vs SambaCloud
- Claude API vs Baidu Qianfan
- Claude API vs SambaCloud
- Antseed vs Baidu Qianfan
- Antseed vs SambaCloud
- Azure OpenAI in Foundry Models vs Baidu Qianfan
- Azure OpenAI in Foundry Models vs SambaCloud
- BlockRun.AI vs Baidu Qianfan
- BlockRun.AI vs SambaCloud
- Cerebras Inference vs Baidu Qianfan
- Cerebras Inference vs SambaCloud
- Claude Fable 5.2 vs Baidu Qianfan
- Claude Fable 5.2 vs SambaCloud
- Claude Mythos 5.2 vs Baidu Qianfan
- Claude Mythos 5.2 vs SambaCloud
- Cloudflare AI Gateway vs Baidu Qianfan
- Cloudflare AI Gateway vs SambaCloud
- Cloudflare Workers AI vs Baidu Qianfan
- Cloudflare Workers AI vs SambaCloud
- Cohere Chat API (Command models) vs Baidu Qianfan
- Cohere Chat API (Command models) vs SambaCloud
- DeepInfra vs Baidu Qianfan
- DeepInfra vs SambaCloud
- DeepSeek API vs Baidu Qianfan
- DeepSeek API vs SambaCloud
- DigitalOcean Serverless Inference vs Baidu Qianfan
- DigitalOcean Serverless Inference vs SambaCloud
- Eden AI vs Baidu Qianfan
- Eden AI vs SambaCloud
- Glimpse vs Baidu Qianfan
- Glimpse vs SambaCloud
- Fireworks AI Inference vs Baidu Qianfan
- Fireworks AI Inference vs SambaCloud
- Gemini 4 Argon vs Baidu Qianfan
- Gemini 4 Argon vs SambaCloud
- Gemini 4 Carbon vs Baidu Qianfan
- Gemini 4 Carbon vs SambaCloud
- Gemini 4 Hydrogen vs Baidu Qianfan
- Gemini 4 Hydrogen vs SambaCloud
- Gemini 4 Neon vs Baidu Qianfan
- Gemini 4 Neon vs SambaCloud
- Gemini Developer API vs Baidu Qianfan
- Gemini Developer API vs SambaCloud
- GPT-6.2 Astra vs Baidu Qianfan
- GPT-6.2 Astra vs SambaCloud
- GroqCloud vs Baidu Qianfan
- GroqCloud vs SambaCloud
- Hugging Face Inference Providers vs Baidu Qianfan
- Hugging Face Inference Providers vs SambaCloud
- Tencent Hy4 vs Baidu Qianfan
- Tencent Hy4 vs SambaCloud
- Jais 3 vs Baidu Qianfan
- Jais 3 vs SambaCloud
- Meta Model API vs Baidu Qianfan
- Meta Model API vs SambaCloud
- MiniMax API vs Baidu Qianfan
- MiniMax API vs SambaCloud
- Mistral AI API vs Baidu Qianfan
- Mistral AI API vs SambaCloud
- Muse Ember vs Baidu Qianfan
- Muse Ember vs SambaCloud
- Muse Spark Open vs Baidu Qianfan
- Muse Spark Open vs SambaCloud
- Nebius Token Factory vs Baidu Qianfan
- Nebius Token Factory vs SambaCloud
- Nemotron 3.5 Super VL vs Baidu Qianfan
- Novita AI vs Baidu Qianfan
- Novita AI vs SambaCloud
- OpenAI API vs Baidu Qianfan
- OpenAI API vs SambaCloud
- OpenRouter vs Baidu Qianfan
- OpenRouter vs SambaCloud
- 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 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)
- Router.com (Ramp Router) vs SambaCloud
- Beam 1.0 vs SambaCloud
- Reka API vs SambaCloud
- RouterPlus vs SambaCloud
- SambaCloud vs SiliconFlow
- SambaCloud vs Simplismart
- SambaCloud vs StepFun API
- SambaCloud vs SWE-2 Flash
- SambaCloud vs Tencent Cloud TokenHub
- SambaCloud vs Together AI Inference
- SambaCloud vs Vercel AI Gateway
- SambaCloud vs Vertex AI (Gemini Enterprise Agent Platform)
- SambaCloud vs Writer Palmyra API
- SambaCloud vs xAI API (Grok)
- Nemotron 3.5 Super VL vs SambaCloud
- Prism Inference vs SambaCloud
Machine-readable
- This page as Markdown
/compare/qianfan-vs-sambanova.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/qianfan.json·/api/v1/tools/sambanova.json - From a terminal
anchor compare qianfan sambanova(the CLI) - Over MCP
compare_tools {"a": "qianfan", "b": "sambanova"}at/mcp, no key