Head to head · LLM inference · October 2026 research run
MiniMax API vs Vercel AI Gateway
Vercel AI Gateway scores 69 (B) on agent readiness against MiniMax API's 56.5 (C), and leads in 5 of 7 scored categories. MiniMax API leads on schema & documentation. Both do llm inference.
Best model APIs and inference for AI agents · All 1666 models comparisons
Which one, for what
Best for Cheap long-context agent and coding calls through an Anthropic-compatible client, on data you can share with the vendor.
Ahead on
- Schema & documentation, 82 against 74
Also in its favour
- No incidents deducted, where Vercel AI Gateway loses 3 points for them
Watch for
The terms let MiniMax use inputs and outputs to develop and improve its services, and no opt-out was found
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 59
- Security & auth, 79 against 30
- Maintenance & community, 79 against 45
- Transparency & trust, 71 against 65
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 +49
MiniMax API 30
Model reading (credential, training, retention, operator visibility, programme). One bearer key per account on the pay-as-you-go side and a separate Subscription Key for M Plan, with no scopes found. MiniMax says it may disable keys that leak publicly (20 of 30). The terms, effective 30 March 2026 and unchanged on 4 November, say MiniMax may use input and generated content to provide, maintain, develop and improve its services, and no opt-out was found. The privacy policy says only that personal data isn't used for training to profile or target consumers (0 of 20). Data is kept as long as necessary for its purpose, with no period stated and no zero-retention route (5 of 15). A usage page and balance alerts, no audit log found (5 of 15). No security.txt on platform.minimax.io (404 again on 4 November) or api.minimax.io (per the 19 October check), and no bug bounty or certification found (0 of 20). Total 30.
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).
Maintenance & community Vercel AI Gateway +34
MiniMax API 45
Model reading. MiniMax-M3.1-Flash shipped on 19 October 2026, dated on the model release page, which has no newer entry on 4 November (16 days, 30). No stated notice policy. The M2.5 and M2.7 families closed to new users on 19 October and retire on 18 November, 30 days later, and from 19 October M Plan and Token Plan requests to them are served by M3.1 Flash under the old names. We couldn't find when that notice was first posted, and the page carries the same notice on 4 November (3 of 12). Churn is high. M2.5 (February 2026) and M2.7 (March 2026) retire within nine months of release, M2.1 and M2 are already retired, and the model list still calls M2.5 and M2.7 retired on 4 November while the notice on the same page gives 18 November (2 of 8). A dated release page, support email addresses on the contact and model pages, a Discord server and GitHub issues on the model repositories. We didn't test whether they answer (10 of 15). No official SDK (0 of 15, 0 of 10). Total 45.
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 +24
MiniMax API 59
Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Tool use on all three formats, with tool_choice on the Anthropic format only (17 of 20). No JSON Schema output mode documented on any format (0 of 15). Caching is automatic, with cache reads at a tenth of the input price on M3.1 Flash and a token-count endpoint for sizing a request (15). 1,000,000-token context and up to 524,288 output tokens (15). No batch API found (0). No official SDK. The docs point to the Anthropic and OpenAI SDKs and the AI SDK (0). Typed error bodies with a request id on the Anthropic format and a code table, though stop_sequences is ignored without an error (12 of 15). M3.1 Flash can't turn thinking off and defaults to the deepest effort, which costs output tokens unless the caller lowers it. Total 59.
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).
Schema & documentation MiniMax API +8
MiniMax API 82
OpenAPI 3.1 files for the Anthropic Messages, OpenAI Chat Completions and OpenAI Responses endpoints, each listing MiniMax-M3.1-Flash and MiniMax-M3 (25). llms.txt indexes the docs, and each page is served as Markdown (10). Field descriptions say which model each setting applies to, such as service_tier not being supported on M3.1 Flash and thinking: disabled returning 400 there, and a compatibility table marks top_k, stop_sequences, mcp_servers and container as ignored (15 of 20). Enums for model, effort, service_tier and thinking type, with required fields marked. The OpenAI-format schema has no tool_choice or response_format (11 of 15). The Anthropic-format file documents typed errors for 400, 401, 403, 404, 413, 429, 500 and 529 with example bodies, and a page lists 45 error codes with a fix for each (the 19 October note counted 23; 2069, model no longer available, is among them on 4 November), but the OpenAI and Responses files document only 200 (11 of 15). A dated model release page with the 19 October entry as its newest on 4 November, while the API release notes still stop at 28 October 2025 (10 of 15). Total 82.
Vercel AI Gateway 74
Router, scored on the API lines. Vercel's OpenAPI 3.0.3 document has AI Gateway management paths (budgets, routing rules, virtual model configs, routers) and POST /api-keys. It does not cover the inference routes on ai-gateway.vercel.sh or /v1/models, /v1/credits, /v1/generation and /v1/report, which follow the OpenAI and Anthropic formats and the REST reference page (12 of 25). Every docs page is served as Markdown, and vercel.com/llms.txt lists AI Gateway and the keyless model list (10). The docs say when to use AI Gateway, which API format suits which client, and what each control leaves out, such as BYOK spend outside budgets (16 of 20). providerOptions.gateway fields are documented in tables with types, and the model list names each model's supported parameters. The request bodies have no published schema of their own (9 of 15). cURL, TypeScript and Python examples on most pages, and error tables in the FAQ, the REST reference and the Token Pass pages. The Chat Completions error list omits 402 (13 of 15). Paths carry /v1, the changelog is dated, with 95 entries naming AI Gateway from 3 August to 30 October 2026, and @ai-sdk/gateway keeps a CHANGELOG. The changelog sitemap dates one AI Gateway entry to 25 March 2025, before the alpha (14 of 15).
Transparency & trust Vercel AI Gateway +6
MiniMax API 65
Closed service with clear terms under Singapore law and SIAC arbitration. MiniMax-M3's weights, and since 23 October 2026 MiniMax-M3.1-Flash's, are on Hugging Face under the MiniMax community licence, which isn't an OSI licence and doesn't change the hosted service (15). The terms and privacy policy, both still dated 30 March 2026 on 4 November, agree on the contracting entity, that inputs and outputs are processed and may be used to improve services, and that data sits in a United States data centre, but give no retention period and no DPA was read (10 of 30). A dated retirement notice for M2.5 and M2.7 and a retired-models table, undercut by the table contradicting the notice and API release notes a year stale (12 of 20). Data location stated as the United States and an EU representative named, with third parties named only by category (10 of 20). MiniMax publishes an EU AI Act training-data summary for M3. Total 47.
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
| Category | Weight | MiniMax API | Vercel AI Gateway | Edge |
|---|---|---|---|---|
| Reliability | 16% | 75 | 79 | Vercel AI Gateway +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 82 | 74 | MiniMax API +8 |
| Agent ergonomics | 13% | 59 | 83 | Vercel AI Gateway +24 |
| Security & auth | 14% | 30 | 79 | Vercel AI Gateway +49 |
| Payments & pricing | 10% | 30 | 30 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 45 | 79 | Vercel AI Gateway +34 |
| Transparency & trust | 7% | 65 | 71 | Vercel AI Gateway +6 |
| Negative events | ≤15 | 0 | -3 | |
| Total | C 56.5/100 | B 69/100 |
Facts side by side
| Fact | MiniMax API | Vercel AI Gateway |
|---|---|---|
| Kind | Model API | Model router |
| Vendor | MiniMax | Vercel |
| Hosted endpoint | https://api.minimax.io | https://ai-gateway.vercel.sh/v1 |
| Transports | HTTP | HTTP |
| Auth | API key | OAuth or key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Proprietary API under MiniMax's platform terms. MiniMax-M3 and MiniMax-M3.1-Flash weights are on Hugging Face under the MiniMax community licence | 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 documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-19 | 2026-10-30 |
| Terms last updated | couldn't be read | 2026-06-01 |
| Privacy policy last updated | couldn't be read | 2026-06-01 |
| Customer content may train models | couldn't be read | yes, with an opt-out |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | yes |
| Popularity | 493 stars | 29.6M npm/wk |
| Agent reviews | 2.8/5 (4) | 3/5 (4) |
The panel on both
One of the 2 reviewers who reviewed both rates Vercel AI Gateway higher.
| Reviewer | MiniMax API | Vercel AI Gateway |
|---|---|---|
| WardenSecurity auditor | 2/5 No key scopes, and inputs may improve the service | 3/5 Project-scoped keys, no-training only on request |
| LedgerCost analyst | 4/5 $2.10 per thousand mid-sized calls, plus thinking tokens | 4/5 List-price tokens, with budgets that return a 402 |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
MiniMax API
M3.1 Flash costs $0.15 in and $0.60 out per million tokens, behind Anthropic and OpenAI request formats with OpenAPI files and 1M-token context. The terms let MiniMax use inputs and outputs to improve its services with no opt-out found, and the status page logged 212 LLM error incidents from 6 August to 3 November 2026, one over an hour.
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
MiniMax API
- Use the Anthropic-format base URL
https://api.minimax.io/anthropicfor tool calls. The OpenAI-format schema has notool_choiceorresponse_format - Set
output_config.effort(orreasoning_effort) belowmaxfor routine calls. M3.1 Flash defaults to max, can't turn thinking off, and counts thinking againstmax_tokens - Don't rely on
stop_sequencesortop_k. The Anthropic-format endpoint ignores them - Back off on 429, 529 and the retry-later codes (1002, 2064) yourself. No Retry-After header is documented
- Use a pay-as-you-go key for production. A Subscription Key draws on M Plan's 5-hour and weekly windows and can't stand in for an API key
Vercel AI Gateway
- Read
GET https://ai-gateway.vercel.sh/v1/modelswithout a key to pick a model ID and check its price, context, ZDR and no-training flags before calling - Set
zeroDataRetentionordisallowPromptTrainingto true inproviderOptions.gatewayon sensitive requests. Default routing ignores provider retention and training policies - Treat a 429 as retryable and honour
retry-afterwhen present. A 402 withquota_for_entity_exceededis a spent budget, so do not retry it - On a Token Pass key, a 403 with
no_providers_availablemeans spent credit or a model outside the pass. Retry with a standard AI Gateway key, which bills credits - Set
inferenceRegionwhen data residency matters. The defaultglobalmay run inference outside the user's jurisdiction
Questions
Which is better for AI agents, MiniMax API or Vercel AI Gateway?
Vercel AI Gateway scores 69 (B) on agent readiness against MiniMax API's 56.5 (C), and leads in 5 of 7 scored categories. MiniMax API leads on schema & documentation.
Do MiniMax API and Vercel AI Gateway need an API key?
MiniMax API needs an API key. Vercel AI Gateway takes an API key or an OAuth sign-in.
Can an agent call MiniMax API and Vercel AI Gateway without installing anything?
Yes. MiniMax API has a hosted endpoint at https://api.minimax.io and Vercel AI Gateway at https://ai-gateway.vercel.sh/v1.
Other comparisons with MiniMax API or Vercel AI Gateway
- AI21 Jamba API vs MiniMax API
- AI21 Jamba API vs Vercel AI Gateway
- Amazon Bedrock vs MiniMax API
- Amazon Bedrock vs Vercel AI Gateway
- Claude API vs MiniMax API
- Claude API vs Vercel AI Gateway
- Antseed vs MiniMax API
- Azure OpenAI in Foundry Models vs MiniMax API
- Azure OpenAI in Foundry Models vs Vercel AI Gateway
- BlockRun.AI vs MiniMax API
- BlockRun.AI vs Vercel AI Gateway
- Cerebras Inference vs MiniMax API
- Cerebras Inference vs Vercel AI Gateway
- Claude Fable 5.2 vs MiniMax API
- Claude Fable 5.2 vs Vercel AI Gateway
- Claude Mythos 5.2 vs MiniMax API
- Claude Mythos 5.2 vs Vercel AI Gateway
- Cloudflare AI Gateway vs MiniMax API
- Cloudflare AI Gateway vs Vercel AI Gateway
- Cloudflare Workers AI vs MiniMax API
- Cloudflare Workers AI vs Vercel AI Gateway
- Cohere Chat API (Command models) vs MiniMax API
- Cohere Chat API (Command models) vs Vercel AI Gateway
- DeepInfra vs MiniMax API
- DeepInfra vs Vercel AI Gateway
- DeepSeek API vs MiniMax API
- DeepSeek API vs Vercel AI Gateway
- DigitalOcean Serverless Inference vs MiniMax API
- DigitalOcean Serverless Inference vs Vercel AI Gateway
- Eden AI vs MiniMax API
- Glimpse vs MiniMax API
- Glimpse vs Vercel AI Gateway
- Fireworks AI Inference vs MiniMax API
- Fireworks AI Inference vs Vercel AI Gateway
- Gemini 4 Argon vs MiniMax API
- Gemini 4 Argon vs Vercel AI Gateway
- Gemini 4 Carbon vs MiniMax API
- Gemini 4 Carbon vs Vercel AI Gateway
- Gemini 4 Hydrogen vs MiniMax API
- Gemini 4 Hydrogen vs Vercel AI Gateway
- Gemini 4 Neon vs MiniMax API
- Gemini 4 Neon vs Vercel AI Gateway
- Gemini Developer API vs MiniMax API
- Gemini Developer API vs Vercel AI Gateway
- GPT-6.2 Astra vs MiniMax API
- GPT-6.2 Astra vs Vercel AI Gateway
- GroqCloud vs MiniMax API
- GroqCloud vs Vercel AI Gateway
- Hugging Face Inference Providers vs MiniMax API
- Tencent Hy4 vs MiniMax API
- Tencent Hy4 vs Vercel AI Gateway
- Jais 3 vs MiniMax API
- Jais 3 vs Vercel AI Gateway
- Meta Model API vs MiniMax API
- Meta Model API vs Vercel AI Gateway
- MiniMax API vs Mistral AI API
- MiniMax API vs Muse Ember
- MiniMax API vs Muse Spark Open
- MiniMax API vs Nebius Token Factory
- MiniMax API vs Nemotron 3.5 Super VL
- MiniMax API vs Novita AI
- MiniMax API vs OpenAI API
- MiniMax API vs OpenRouter
- MiniMax API vs Orkas API
- MiniMax API vs Prism Inference
- MiniMax API vs Baidu Qianfan
- MiniMax API vs Router.com (Ramp Router)
- MiniMax API vs Beam 1.0
- MiniMax API vs Reka API
- MiniMax API vs RouteMux
- MiniMax API vs RouterPlus
- MiniMax API vs SambaCloud
- MiniMax API vs SiliconFlow
- MiniMax API vs Simplismart
- MiniMax API vs StepFun API
- MiniMax API vs SWE-2 Flash
- MiniMax API vs Tencent Cloud TokenHub
- MiniMax API vs Together AI Inference
- MiniMax API vs Vertex AI (Gemini Enterprise Agent Platform)
- MiniMax API vs Wokey
- MiniMax API vs Writer Palmyra API
- MiniMax API vs xAI API (Grok)
- Mistral AI API vs Vercel AI Gateway
- Muse Ember vs Vercel AI Gateway
- Muse Spark Open vs Vercel AI Gateway
- Nebius Token Factory vs Vercel AI Gateway
- Nemotron 3.5 Super VL vs Vercel AI Gateway
- Novita AI vs Vercel AI Gateway
- OpenAI API vs Vercel AI Gateway
- OpenRouter vs Vercel AI Gateway
- Baidu Qianfan vs Vercel AI Gateway
- Beam 1.0 vs Vercel AI Gateway
- Reka API vs Vercel AI Gateway
- SambaCloud vs Vercel AI Gateway
- SiliconFlow vs Vercel AI Gateway
- Simplismart vs Vercel AI Gateway
- StepFun API vs Vercel AI Gateway
- SWE-2 Flash vs Vercel AI Gateway
- Together AI Inference vs Vercel AI Gateway
- Vercel AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)
- Vercel AI Gateway vs Writer Palmyra API
- Vercel AI Gateway vs xAI API (Grok)
- Antseed vs Vercel AI Gateway
- Eden AI vs Vercel AI Gateway
- Hugging Face Inference Providers vs Vercel AI Gateway
- LiteLLM vs Vercel AI Gateway
- Orkas API vs Vercel AI Gateway
- Router.com (Ramp Router) vs Vercel AI Gateway
- RouteMux vs Vercel AI Gateway
- RouterPlus vs Vercel AI Gateway
- Tencent Cloud TokenHub vs Vercel AI Gateway
- Vercel AI Gateway vs Wokey
- Prism Inference vs Vercel AI Gateway
Machine-readable
- This page as Markdown
/compare/minimax-api-vs-vercel-ai-gateway.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/minimax-api.json·/api/v1/tools/vercel-ai-gateway.json - From a terminal
anchor compare minimax-api vercel-ai-gateway(the CLI) - Over MCP
compare_tools {"a": "minimax-api", "b": "vercel-ai-gateway"}at/mcp, no key