Head to head · LLM inference · October 2026 research run

Nebius Token Factory vs Baidu Qianfan

Nebius Token Factory scores 61.2 (C) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 5 of 7 scored categories. Baidu Qianfan leads on security & auth and payments & pricing. Both do llm inference.

Best model APIs and inference for AI agents · All 1495 models comparisons

Which one, for what

Nebius Token Factory C

Best for Serverless and dedicated inference for open models from DeepSeek, Qwen, Kimi, GLM, MiniMax and NVIDIA, for teams that want EU-based storage and a published sub-processor list.

Ahead on

  • Reliability, 78 against 38
  • Schema & documentation, 77 against 47
  • Agent ergonomics, 76 against 60
  • Maintenance & community, 71 against 63
  • Transparency & trust, 78 against 55

Watch for

Inputs and outputs are kept in Finland for speculative decoding by default, with no retention period stated

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 44
  • Payments & pricing, 30 against 0

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.

Reliability Nebius Token Factory +40

Nebius Token Factory 78

Hosted API lines. status.nebius.com is a Statuspage for all of Nebius with 15 Token Factory components by region, TF-US1, TF-US2 and TF-CA1 among them (20). The Atom feed read on 23 November covers 17 September to 23 November. Its Token Factory incidents are each limited by their own text. They are 503s from dedicated endpoints in eu-west2 for 'some customers' on 24 October (about an hour), 'some Token Factory dedicated endpoints partially unavailable' on 31 October (00:38 to 07:55 UTC), 'some models' failing in eu-north1 on 5 November (37 minutes), tf-us2 unreachable for 8 minutes on 11 November, and GLM-5.2 errors in uk-south1 from 18 to 19 November. All partial, so minor only (20). The history before 17 September could not be read (page 2 is drawn by script). Dynamic per-project limits with scale-up and scale-down rules and a four-times ceiling, but the default caps sit in the console and the docs give 60 requests and 400,000 tokens a minute only as an example (8, the value the fine-tuning listing gives the same page). 429 carries Retry-After and x-ratelimit-* headers, and 529 'System is overloaded' has backoff-with-jitter and fallback-model guidance (15). The Enterprise tier is said to come 'plus an SLA' with no figure published (5 of 10, as fireworks-inference). Serverless is generally available (10). 20+20+8+15+5+10 = 78.

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.

Schema & documentation Nebius Token Factory +30

Nebius Token Factory 77

Public OpenAPI 3.1 file, version 20261116-6a8abacb3, 36 paths and 367 schemas, linked from llms.txt (25). llms.txt and a Markdown twin of every docs page (10). Guides for function calling, structured output, caching, rate limits and serverless versus dedicated say when to use each. Operation descriptions are one line (12 of 20). The chat request has 23 typed properties with two required and a service_tier enum, but also a free-form extra_body, and the spec says response_format takes only json_object or text while the structured-output guide documents json_schema (10 of 15). Python, JavaScript and cURL examples, and the spec gives chat example bodies for 400 to 529, among them rate_limit_exceeded, credit_balance_exhausted and 529 overload (13 of 15). Versioned /v1 paths and a date-stamped spec. No changelog, though dated deprecation pages list serverless removals with replacements (7 of 15). 25+10+12+10+13+7 = 77.

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.

Payments & pricing Baidu Qianfan +30

Nebius Token Factory 0

No machine payment protocol. An exhausted balance returns 402 credit_balance_exhausted with no payment requirements (0). The price page that the caching docs link, nebius.com/token-factory/prices, answered 403 to our reader on 23 November, and the console's price page is closed by robots.txt, so per-token prices are scored absent because we couldn't read them, not as a finding that they are hidden (0). The billing page says a bank card is mandatory to finish onboarding, and promo codes are the only free credit mentioned (0). Sign-up, billing and key creation are browser steps (0). 0+0+0+0 = 0.

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 Nebius Token Factory +23

Nebius Token Factory 78

Closed service under the Nebius Services Agreement and the Token Factory terms, with the cookbook under MIT (15). The legal guide and its FAQ agree that content is never used for training and that, without Zero Data Retention, inputs and outputs are kept in Finland for speculative decoding. No period for that storage is given, and the spec's store field says output is stored 'for use in our model distillation', which the guide doesn't mention (20 of 30). Dated deprecation pages for June, August, November and December 2026 name replacements and removal dates. No minimum notice period is written, and the guide says only that deprecations are 'announced in advance' (12 of 20). A Token Factory sub-processor list gives each entity, its location, processing location and transfer mechanism, including RunPod, BoostRun, Shadeform and Axe Compute for model processing, with 15 days' notice of changes (20). 15+20+12+20 = 67.

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 Nebius Token Factory +16

Nebius Token Factory 76

Read by the HTTP API checklist, as for fireworks-inference and together-inference. Compact model API with bounded output, max_tokens and streaming (25). Token limits, stop sequences, n, stream_options.include_usage, JSON modes and service tiers (20). Errors carry a type, message and code, the 429 message names the wait, and 529 is documented apart from 429. No error-code page was found (16 of 20). Retry guidance for 429 and 529 and a note that OpenAI SDKs retry 529, with no deduplication guarantee (5 of 20). Two required parameters. No Token Factory SDK, and the docs use OpenAI's Python and JavaScript clients with a changed base URL (10 of 15). Automatic prompt caching with cached_tokens reported is recorded under strengths, not scored here. 25+20+16+5+10 = 76.

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.

Security & auth Baidu Qianfan +11

Nebius Token Factory 44

Read by the HTTP API checklist, as for fireworks-inference and together-inference. Plain project API keys, created and deleted in the console and shown once. No scopes, expiry or rotation API found (20). Project Admins and Members both have full access to the public endpoint, batch, files, fine-tuning and dedicated endpoint APIs, and there is no inference-only role (5). No inference prompt-injection guidance found (0). Usage by project, service and product in the console and token counts in every response. No API audit log for Token Factory was found (5 of 15). The legal guide states ISO 27001, ISO 27701 and SOC 2 Type II with reports in the trust centre, some under NDA. security.txt at nebius.com was valid to 31 December 2027 at the fine-tuning listing's 4 November reading (nebius.com refused our reader today). No bug bounty found (14, as nebius-token-factory-fine-tuning). Retention and training are in transparency. 20+5+0+5+14 = 44.

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.

Score by category

CategoryWeightNebius Token FactoryBaidu QianfanEdge
Reliability16%7838Nebius Token Factory +40
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7747Nebius Token Factory +30
Agent ergonomics13%7660Nebius Token Factory +16
Security & auth14%4455Baidu Qianfan +11
Payments & pricing10%030Baidu Qianfan +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7163Nebius Token Factory +8
Transparency & trust7%7855Nebius Token Factory +23
Negative events≤1500
TotalC 61.2/100D 48.7/100

Facts side by side

FactNebius Token FactoryBaidu Qianfan
KindHTTP APIModel API
VendorNebiusBaidu
Hosted endpointhttps://api.tokenfactory.nebius.com/v1https://qianfan.baidubce.com/v2
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceProprietary service (cookbook examples MIT). Served models keep their own licences.Closed service under the Baidu AI Cloud User Service Agreement. The official SDKs are Apache-2.0.
Read-only variant documentednono
llms.txtyesno
Last release2026-11-162026-10-18
Terms last updated2026-09-28not read yet
Privacy policy last updated2026-09-23no document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waiveryesnot read yet
Popularity325 starsnone

Verdicts

Nebius Token Factory

Token Factory serves open models through a documented OpenAI-compatible API with a public OpenAPI file, clear 429 and 529 handling and no training on customer content. Inputs and outputs are kept by default unless Zero Data Retention is on, project keys have no scopes, a card is needed to start, and serverless removals give no stated minimum notice.

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

Nebius Token Factory

  1. Set the OpenAI client's base URL to https://api.tokenfactory.nebius.com/v1/ and read the key from NEBIUS_API_KEY.
  2. If the API returns 429, wait for the Retry-After value before you retry.
  3. If the API returns 529, retry with backoff and jitter, then switch to a fallback model.
  4. Ask the account owner to turn on Zero Data Retention before you send customer data, because prompts are kept by default.
  5. Check the deprecation pages before you pin a model ID, because removed models are not rerouted.

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, Nebius Token Factory or Baidu Qianfan?

Nebius Token Factory scores 61.2 (C) on agent readiness against Baidu Qianfan's 48.7 (D), and leads in 5 of 7 scored categories. Baidu Qianfan leads on security & auth and payments & pricing.

Do Nebius Token Factory and Baidu Qianfan need an API key?

Both need an API key.

Can an agent call Nebius Token Factory and Baidu Qianfan without installing anything?

Yes. Nebius Token Factory has a hosted endpoint at https://api.tokenfactory.nebius.com/v1 and Baidu Qianfan at https://qianfan.baidubce.com/v2.

Other comparisons with Nebius Token Factory 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.