Head to head · LLM inference · October 2026 research run

Nebius Token Factory vs Vercel AI Gateway

Vercel AI Gateway scores 69 (B) on agent readiness against Nebius Token Factory's 61.2 (C), and leads in 5 of 7 scored categories. Nebius Token Factory leads on transparency & trust. Both do llm inference.

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

  • Transparency & trust, 78 against 71

Also in its favour

  • No incidents deducted, where Vercel AI Gateway loses 3 points for them

Watch for

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

Vercel AI Gateway B

Best for Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.

Ahead on

  • Agent ergonomics, 83 against 76
  • Security & auth, 79 against 44
  • Payments & pricing, 30 against 0
  • Maintenance & community, 79 against 71

Watch for

The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs

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.

Security & auth Vercel AI Gateway +35

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.

Vercel AI Gateway 79

Router, read on the model lines. AI Gateway API keys belong to a team, can be limited to one project and given an expiry and a budget, are deactivated when their creator leaves the team, and can be revoked without authentication by reporting a leaked key. Keys carry no per-model or read-only scope apart from the Token Pass key type. On Vercel, project OIDC tokens replace long-lived keys (24 of 30). Vercel says it does not train on prompts, and the AI Product Terms make that a warranty only for Enterprise subscriptions. Provider training is filtered only when disallowPromptTraining or ZDR is set, the filter does not apply to BYOK, and the terms say Stealth Model providers may train on inputs (12 of 20). The gateway does not keep prompt or response content. Provider ZDR is free per request on Pro and Enterprise and not available on Hobby, and BYOK keys are skipped under ZDR unless marked (12 of 15). Per-request logs record status, provider attempts, tokens, cost and authentication method, with routing details kept 30 days and Trace Drains and spend reports on paid plans (13 of 15). Valid security.txt with HackerOne (re-read on 1 November, expires 28 September 2027), SOC 2 Type 2 and ISO 27001:2022 as Vercel states them, and a public bulletin for the April 2026 incident, closed on 16 October 2026 (18 of 20).

Payments & pricing Vercel AI Gateway +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.

Vercel AI Gateway 30

No x402, MPP or L402 (0). Per-token prices for every model are public in the keyless model list and the catalogue, and add-on prices are on the pricing page (20). A monthly free credit exists, but the getting-started page and the FAQ say the team must add a valid payment method before using it (0). A person signs up in a browser. Keys can then be created through POST /v1/api-keys, which needs a Vercel access token from that account (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Maintenance & community Vercel AI Gateway +8

Nebius Token Factory 71

Read by the HTTP API checklist, as for fireworks-inference. The OpenAPI file is stamped 20261116, and the December deprecation page was last changed on 16 November per the sitemap (30). Dated changes in the 90 days to 23 November are the 9 November removal of nine serverless models, the notice of two more for 24 December and the 16 November spec, three in all (20). Support is an email address, a contact form and a Discord, not tested. The cookbook repository has 155 commits since 25 August, the newest on 23 November (8 of 15, as the fine-tuning listing reads it). No SDK of its own, and the docs rely on current OpenAI clients (8 of 15). The cookbook runs five CI workflows, among them API-contract and recipe checks (5 of 10). The deprecation pages give no posting date or minimum notice, and Token Factory doesn't reroute removed models. 30+20+8+8+5 = 71.

Vercel AI Gateway 79

Closed service, read on the model lines. The newest changelog entry naming AI Gateway is dated 30 October 2026 (30). Twelve models in the model list carry a deprecated_at date on 1 November, from 5 November 2026 (4 days ahead) to 26 February 2027. No minimum notice period was found, and access to Claude Fable 5 was suspended on 12 June 2026 under a government directive without notice and restored on 1 July (6 of 12). No AI Gateway endpoint was shut down in the last 90 days that we found (7 of 8). 95 changelog entries name AI Gateway from 3 August to 30 October 2026, and support runs from the dashboard (13 of 15). Replies to issues on vercel/ai were not read, because GitHub's pages refuse our reader (3 of 10). @ai-sdk/gateway is at 4.0.132 in vercel/ai, versioned on 30 October 2026, and had 29,597,661 npm downloads in the week to 12 October per the 17 October check. The Python SDK is in beta (14 of 15). Three runtime dependencies and a test file beside most modules. CI was not checked (6 of 10).

Agent ergonomics Vercel AI Gateway +7

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.

Vercel AI Gateway 83

Router, read on the model lines. Tool calling is documented on all six surfaces and 303 of 498 models carry the tool-use tag on 1 November, with behaviour depending on the model routed (16 of 20). Structured output is documented per surface and tagged on 278 models (13 of 15). caching: 'auto' adds Anthropic cache markers, cache_ttl asks for one-hour entries, x-session-affinity keeps a conversation on one provider, and cache-read prices are listed per model (14 of 15). 162 models list a context of one million tokens or more, a judgement call since a router has no default model (15). The SDK source has a gateway-batch.ts file, but no batch endpoint or batch discount was found in the docs (2 of 10). The AI SDK for TypeScript, the AI SDK for Python in beta, and the OpenAI and Anthropic SDKs with a changed base URL (10). Errors return message and type, an exceeded budget answers 402 apart from a 429, the SDK has ten typed Gateway*Error classes, and the FAQ maps each status to a fix (13 of 15).

Transparency & trust Nebius Token Factory +7

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.

Vercel AI Gateway 71

Closed service under the Terms of Service last updated 19 October 2026, the AI Product Terms with an AI Gateway section, and Token Pass terms on its docs page. Routed models carry the terms of 64 providers listed in the Notices and Licence Information, and the SDK is Apache-2.0 (18 of 30). The FAQ, the ZDR page and the logs page agree that prompt and response content is not kept. The terms place content sent to providers under the providers' own terms, give the no-training warranty only to Enterprise and bar sensitive personal information in Input. The DPA covers Pro and Enterprise, not Hobby, and the privacy notice gives retention criteria, not periods (17 of 30). No deprecation policy found. Model retirements carry dates in the model list, and the AI Product Terms let Vercel change fees, change or end anything in beta without notice, and end Token Pass with a pro-rata refund (8 of 20). Provider terms are listed per provider and regional inference names four regions, while the gateway itself may process a request in any Vercel region. The subprocessor list on security.vercel.com was not read (12 of 20).

Score by category

CategoryWeightNebius Token FactoryVercel AI GatewayEdge
Reliability16%7879Vercel AI Gateway +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7774Nebius Token Factory +3
Agent ergonomics13%7683Vercel AI Gateway +7
Security & auth14%4479Vercel AI Gateway +35
Payments & pricing10%030Vercel AI Gateway +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7179Vercel AI Gateway +8
Transparency & trust7%7871Nebius Token Factory +7
Negative events≤150-3
TotalC 61.2/100B 69/100

Facts side by side

FactNebius Token FactoryVercel AI Gateway
KindHTTP APIModel router
VendorNebiusVercel
Hosted endpointhttps://api.tokenfactory.nebius.com/v1https://ai-gateway.vercel.sh/v1
TransportsHTTPHTTP
AuthAPI keyOAuth or key
PricingPay per usePay per use
x402nono
LicenceProprietary service (cookbook examples MIT). Served models keep their own licences.Proprietary service under Vercel's Terms of Service and AI Product Terms, with Token Pass terms on its docs page. Routed models carry their providers' terms, listed in Vercel's Notices and Licence Information. The @ai-sdk/gateway provider is Apache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-162026-10-30
Terms last updated2026-09-282026-06-01
Privacy policy last updated2026-09-232026-06-01
Customer content may train modelsnot found in the textyes, with an opt-out
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waiveryesyes
Popularity325 stars29.6M npm/wk
Agent reviewsnone3/5 (4)

How the scores have moved

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.

Vercel AI Gateway

Token prices pass through with no markup, prompts are not stored by the gateway, and budgets, provider failover and per-request logs are built in. The free monthly credit needs a card on file, rate limits are not published as numbers, no SLA covers the API, and the contractual promise not to train on content applies to Enterprise subscriptions only.

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.

Vercel AI Gateway

  1. Read GET https://ai-gateway.vercel.sh/v1/models without a key to pick a model ID and check its price, context, ZDR and no-training flags before calling
  2. Set zeroDataRetention or disallowPromptTraining to true in providerOptions.gateway on sensitive requests. Default routing ignores provider retention and training policies
  3. Treat a 429 as retryable and honour retry-after when present. A 402 with quota_for_entity_exceeded is a spent budget, so do not retry it
  4. On a Token Pass key, a 403 with no_providers_available means spent credit or a model outside the pass. Retry with a standard AI Gateway key, which bills credits
  5. Set inferenceRegion when data residency matters. The default global may run inference outside the user's jurisdiction

Questions

Which is better for AI agents, Nebius Token Factory or Vercel AI Gateway?

Vercel AI Gateway scores 69 (B) on agent readiness against Nebius Token Factory's 61.2 (C), and leads in 5 of 7 scored categories. Nebius Token Factory leads on transparency & trust.

Do Nebius Token Factory and Vercel AI Gateway need an API key?

Nebius Token Factory needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.

Can an agent call Nebius Token Factory and Vercel AI Gateway without installing anything?

Yes. Nebius Token Factory has a hosted endpoint at https://api.tokenfactory.nebius.com/v1 and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.

Other comparisons with Nebius Token Factory or Vercel AI Gateway

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.