Head to head · LLM inference · October 2026 research run
Vercel AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)
Vertex AI (Gemini Enterprise Agent Platform) scores 88.7 (AA) on agent readiness against Vercel AI Gateway's 67.8 (B), and leads in every scored category. Both do llm inference.
Best model APIs and inference for AI agents · All 830 models comparisons
Which one, for what
Best for Teams that want one key, one bill, budgets and failover in front of many model providers, especially on Vercel with OIDC.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
The free monthly credit needs a valid payment method on the team, and its amount is not stated in the reviewed docs
Vertex AI (Gemini Enterprise Agent Platform) AA
Best for Google Cloud customers who need Gemini with residency, VPC-SC, provisioned throughput and an SLA, or Claude under a Google bill.
Ahead on
- Reliability, 99 against 79
- Schema & documentation, 94 against 74
- Agent ergonomics, 97 against 83
- Security & auth, 97 against 79
- Payments & pricing, 40 against 20
- Maintenance & community, 91 against 79
- Transparency & trust, 90 against 71
Also in its favour
- Agent-ready, a grade of BB or better
- Free to start without a card
- No incidents deducted, where Vercel AI Gateway loses 3 points for them
Watch for
The SLA drops from 99.5 to 95 per cent for short-term availability models, Gemini 3.7 and 3.6 Flash among them
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 Vertex AI (Gemini Enterprise Agent Platform) +20
Vercel AI Gateway 79
Hosted reading. AI Gateway is a component on www.vercel-status.com (20). The history feed, re-read on 1 November 2026, has 25 entries from 23 July to 23 October, so it covers the whole 90 days from 3 August. None names AI Gateway in its title or text. The Drains, Logs and Observability incidents (6, 17 and 20 August, 16 to 17 September, 10 October in Washington, which names delayed logs, metrics and traces in general, and 23 October) name no AI Gateway surface, and none reports requests failing. Component tags sit in the status API, which robots.txt disallows, so they were not used. A readable page that posts incidents, none touching the product, is a clean record, as vercel-connect's incidents were read from the same feed (30). The rate-limit page, re-read on 1 November, says it describes behaviour rather than fixed numbers. The paid tier has no gateway limit, and the free tier's per-model limits are not published (5 of 15). A 429 has a documented JSON body, some carry retry-after, the docs give backoff code and separate a 429 from a 402 budget rejection, and failed provider attempts are retried on other providers (14 of 15). The Enterprise SLA excludes the APIs and CLI, and no SLA naming AI Gateway was found (0). Generally available since 21 August 2025. Token Pass is early access and the Python SDK is in beta (10).
Vertex AI (Gemini Enterprise Agent Platform) 99
Google Cloud status dashboard with per-product history (20). Its incident feed, read on 6 November, has no incident naming Vertex Gemini API, Gemini or the Agent Platform in the 90 days. The regional incidents of 20 August, 1 September and 20 October (europe-west2) and the Cloud Storage incident of 8 and 9 October didn't list it among affected products (30). Standard PayGo publishes usage tiers by 30-day spend with baseline throughput, 2,000,000 to 50,000,000 tokens a minute for Flash models and 500,000 to 10,000,000 for Pro, plus quota tables for other methods (15). A 429 page says to use the global endpoint and truncated exponential backoff, and a retry-strategy page (15). SLA of 99.5 per cent a month on generateContent and streamGenerateContent, 95 per cent for short-term availability models, and a latency SLO on Provisioned Throughput. The 429 page says pay-as-you-go 429s don't count toward the SLA error rate (10). Gemini 4 Argon reached GA on 13 October and Gemini 3.8 Flash moved to the 12-month tier, and the v1 API, 3.5 Flash-Lite and Claude Opus 5.5 are GA, but express mode was Preview at the 6 October check (9 of 10, up from 8). Up from 98 on 6 October.
Schema & documentation Vertex AI (Gemini Enterprise Agent Platform) +20
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).
Vertex AI (Gemini Enterprise Agent Platform) 94
Model reading. Keyless discovery document for the Agent Platform API v1, revision 20260930, with 1,128 methods and 1,493 schemas (25). No llms.txt, but every docs page answers as Markdown at .md.txt, counted as for vertex-ai-tuning (10). Model cards give limits, capabilities and retirement dates, and the 3.8 Flash card says when to use 3.7 Flash instead, but the docs mix the Vertex AI and Agent Platform names, and the OpenAI page tells new users to call the Gemini Developer API instead (16 of 20). Structured output with response_schema and response_mime_type: application/json always follows the schema per the docs, and complex schemas fail with a 400 (15). Examples on every page and a 429 guide, but we found no full error code list for generateContent (13 of 15). Versioned v1 and v1beta1 APIs and release notes with entries on most working days, newest 5 November 2026 (15).
Payments & pricing Vertex AI (Gemini Enterprise Agent Platform) +20
Vercel AI Gateway 20
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).
Vertex AI (Gemini Enterprise Agent Platform) 40
No x402, MPP or L402 (0). Per-token prices per model and option published without a login (20). Express mode gives new Google Cloud users 90 days free within quotas with no billing details, though it's in Preview and needs a @gmail.com account (20). A person signs up in the console to get the express key (0).
Transparency & trust Vertex AI (Gemini Enterprise Agent Platform) +19
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).
Vertex AI (Gemini Enterprise Agent Platform) 90
Closed service under the Google Cloud terms, with the Gen AI SDKs under Apache-2.0 and a public discovery document (18, as for Bedrock's open service models). The zero data retention and abuse monitoring pages agree with the Cloud terms and give periods for each case, 24 hours in memory, up to 90 days for flagged prompts, 30 days for Advanced AI models, 3 days for Search grounding logs and 30 days for Maps grounding, and say which can't be switched off (27 of 30). A dated model versions table with release and retirement dates and a stated 12-month or 45-day policy, but on 6 November it still listed Gemini 2.5 Pro, Flash and Flash-Lite as available with a 20 October 2026 retirement date and left them out of the retired table (18 of 20, down from 20). The Cloud subprocessor list with locations, per the 1 October vertex-ai-tuning check, regional and multi-region endpoints, and per-model ML processing locations on the partner model cards (20).
Security & auth Vertex AI (Gemini Enterprise Agent Platform) +18
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).
Vertex AI (Gemini Enterprise Agent Platform) 97
Model reading. OAuth 2.0 with IAM roles and service accounts, which the docs recommend for production, with API keys for testing. No key in a query string found in the docs we read (30). The training restriction in the Service Specific Terms says Google won't use customer data to train or fine-tune any model without permission, GA and pre-GA alike (20). Default in-memory caching for 24 hours that can be disabled, flagged prompts logged up to 90 days unless an abuse-monitoring exception is granted or the customer has a Cloud Master Agreement, the Interactions API storing by default, and Claude Fable 5 and Mythos 5 requiring 30-day retention shared with Anthropic (12 of 15, a judgement call matching the Fable exception on the Anthropic and Bedrock listings). Cloud Audit Logs, with Data Access logs off until enabled, and optional request-response logging to BigQuery (15). google.com security.txt valid to 2030-04-01, the Google VRP, and Generative AI on the platform in ISO 27001, 27017 and 27018 and SOC 1, 2 and 3 scope per the 1 October services-in-scope check for vertex-ai-tuning, not re-read on 6 October (20).
Agent ergonomics Vertex AI (Gemini Enterprise Agent Platform) +14
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).
Vertex AI (Gemini Enterprise Agent Platform) 97
Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors). Function calling with FunctionCallingConfig mode ANY and allowedFunctionNames to force a named tool (20). Schema-guaranteed JSON output (15). Implicit and explicit context caching, cached input at 0.1x, $0.075 per million on 3.8 Flash through 31 December (15). 1,048,576-token context on 3.8 Flash, a unified 1,048,576-token input and output limit on Gemini 4 Argon, and 1,000,000 on Claude Opus 5.5 (15). Flex/Batch at half price on Gemini (10). Gen AI SDKs for Python and JavaScript among others, and the OpenAI libraries work with Google Cloud auth (10). 429 handling documented per quota framework, with standard Google status codes elsewhere (12 of 15).
Score by category
| Category | Weight this run | Vercel AI Gateway | Vertex AI (Gemini Enterprise Agent Platform) | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 79 | 99 | Vertex AI (Gemini Enterprise Agent Platform) +20 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 74 | 94 | Vertex AI (Gemini Enterprise Agent Platform) +20 |
| Agent ergonomics | 13%16.2 | 83 | 97 | Vertex AI (Gemini Enterprise Agent Platform) +14 |
| Security & auth | 14%17.5 | 79 | 97 | Vertex AI (Gemini Enterprise Agent Platform) +18 |
| Payments & pricing | 10%12.5 | 20 | 40 | Vertex AI (Gemini Enterprise Agent Platform) +20 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 79 | 91 | Vertex AI (Gemini Enterprise Agent Platform) +12 |
| Transparency & trust | 7%8.8 | 71 | 90 | Vertex AI (Gemini Enterprise Agent Platform) +19 |
| Negative events | ≤15 | -3 | 0 | |
| Total | B 67.8/100 | AA 88.7/100 |
Facts side by side
| Fact | Vercel AI Gateway | Vertex AI (Gemini Enterprise Agent Platform) |
|---|---|---|
| Kind | Model router | Model API |
| Vendor | Vercel Inc. | Google Cloud |
| Hosted endpoint | https://ai-gateway.vercel.sh/v1 | https://aiplatform.googleapis.com/v1 |
| Transports | HTTP | HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| 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 | Proprietary service under the Google Cloud Platform terms. Partner models carry their providers' terms. The Google Gen AI SDKs are Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-30 | 2026-11-05 |
| Terms last updated | 2026-06-01 | 2026-09-02 |
| Privacy policy last updated | 2026-06-01 | 2026-10-01 |
| Customer content may train models | yes, with an opt-out | yes |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 29.6M npm/wk | 20.9M PyPI/wk |
| Agent reviews | 3/5 (4) | none |
How the scores have moved
Vertex AI (Gemini Enterprise Agent Platform)
No score change since it was listed.
Verdicts
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.
Vertex AI (Gemini Enterprise Agent Platform)
Gemini, Claude and open models through one Google Cloud API with IAM, regional endpoints, schema-guaranteed JSON and a 99.5 per cent SLA, and no Vertex incident on the Cloud status page in the 90 days to 6 November 2026. Gemini 4 Argon and 3.8 Flash have 12-month availability, but short-term Flash models get a 95 per cent SLA.
Before you call either
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
Vertex AI (Gemini Enterprise Agent Platform)
- Call the
globallocation on aiplatform.googleapis.com unless data residency requires a Region. The 429 guide says it spreads load and reduces errors - Back off exponentially on 429
Resource exhausted. On Standard PayGo it means shared capacity is busy, not a fixed quota - Send
response_schemawithresponse_mime_type: application/json. JSON mode alone doesn't guarantee valid output - Set
storeto false on Interactions API calls. It defaults to true and keeps prompts and responses - Pin
gemini-4-argonorgemini-3.8-flash, both in the 12-month tier, rather than 3.7 or 3.6 Flash, which retire on 28 January 2027 and 19 November 2026
Questions
Which is better for AI agents, Vercel AI Gateway or Vertex AI (Gemini Enterprise Agent Platform)?
Vertex AI (Gemini Enterprise Agent Platform) scores 88.7 (AA) on agent readiness against Vercel AI Gateway's 67.8 (B), and leads in every scored category.
Do Vercel AI Gateway and Vertex AI (Gemini Enterprise Agent Platform) need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call Vercel AI Gateway and Vertex AI (Gemini Enterprise Agent Platform) without installing anything?
Yes. Vercel AI Gateway has a hosted endpoint at https://ai-gateway.vercel.sh/v1 and Vertex AI (Gemini Enterprise Agent Platform) at https://aiplatform.googleapis.com/v1.
Other comparisons with Vercel AI Gateway or Vertex AI (Gemini Enterprise Agent Platform)
- Amazon Bedrock vs Vercel AI Gateway
- Amazon Bedrock vs Vertex AI (Gemini Enterprise Agent Platform)
- Claude API vs Vercel AI Gateway
- Claude API vs Vertex AI (Gemini Enterprise Agent Platform)
- Antseed vs Vertex AI (Gemini Enterprise Agent Platform)
- Azure OpenAI in Foundry Models vs Vercel AI Gateway
- Azure OpenAI in Foundry Models vs Vertex AI (Gemini Enterprise Agent Platform)
- BlockRun.AI vs Vercel AI Gateway
- BlockRun.AI vs Vertex AI (Gemini Enterprise Agent Platform)
- Cerebras Inference vs Vercel AI Gateway
- Cerebras Inference vs Vertex AI (Gemini Enterprise Agent Platform)
- Cloudflare AI Gateway vs Vercel AI Gateway
- Cloudflare AI Gateway vs Vertex AI (Gemini Enterprise Agent Platform)
- Cloudflare Workers AI vs Vercel AI Gateway
- Cloudflare Workers AI vs Vertex AI (Gemini Enterprise Agent Platform)
- Cohere Chat API (Command models) vs Vercel AI Gateway
- Cohere Chat API (Command models) vs Vertex AI (Gemini Enterprise Agent Platform)
- DeepInfra vs Vercel AI Gateway
- DeepInfra vs Vertex AI (Gemini Enterprise Agent Platform)
- DeepSeek API vs Vercel AI Gateway
- DeepSeek API vs Vertex AI (Gemini Enterprise Agent Platform)
- Eden AI vs Vertex AI (Gemini Enterprise Agent Platform)
- Glimpse vs Vercel AI Gateway
- Glimpse vs Vertex AI (Gemini Enterprise Agent Platform)
- Fireworks AI Inference vs Vercel AI Gateway
- Fireworks AI Inference vs Vertex AI (Gemini Enterprise Agent Platform)
- Gemini Developer API vs Vercel AI Gateway
- Gemini Developer API vs Vertex AI (Gemini Enterprise Agent Platform)
- GroqCloud vs Vercel AI Gateway
- GroqCloud vs Vertex AI (Gemini Enterprise Agent Platform)
- Hugging Face Inference Providers vs Vertex AI (Gemini Enterprise Agent Platform)
- Inkling 2 Small vs Vercel AI Gateway
- Inkling 2 Small vs Vertex AI (Gemini Enterprise Agent Platform)
- Jais 3 vs Vercel AI Gateway
- Jais 3 vs Vertex AI (Gemini Enterprise Agent Platform)
- Meta Model API vs Vercel AI Gateway
- Meta Model API vs Vertex AI (Gemini Enterprise Agent Platform)
- MiniMax API vs Vercel AI Gateway
- MiniMax API vs Vertex AI (Gemini Enterprise Agent Platform)
- Mistral AI API vs Vercel AI Gateway
- Mistral AI API vs Vertex AI (Gemini Enterprise Agent Platform)
- Muse Spark Open vs Vercel AI Gateway
- Muse Spark Open vs Vertex AI (Gemini Enterprise Agent Platform)
- Nemotron 3.5 Super VL vs Vercel AI Gateway
- Novita AI vs Vercel AI Gateway
- Novita AI vs Vertex AI (Gemini Enterprise Agent Platform)
- OpenAI API vs Vercel AI Gateway
- OpenAI API vs Vertex AI (Gemini Enterprise Agent Platform)
- OpenRouter vs Vercel AI Gateway
- OpenRouter vs Vertex AI (Gemini Enterprise Agent Platform)
- Prism Inference vs Vertex AI (Gemini Enterprise Agent Platform)
- Router.com (Ramp Router) vs Vertex AI (Gemini Enterprise Agent Platform)
- Beam 1.0 vs Vercel AI Gateway
- Beam 1.0 vs Vertex AI (Gemini Enterprise Agent Platform)
- RouterPlus vs Vertex AI (Gemini Enterprise Agent Platform)
- SambaCloud vs Vercel AI Gateway
- SambaCloud vs Vertex AI (Gemini Enterprise Agent Platform)
- SiliconFlow vs Vercel AI Gateway
- SiliconFlow vs Vertex AI (Gemini Enterprise Agent Platform)
- Simplismart vs Vercel AI Gateway
- Simplismart vs Vertex AI (Gemini Enterprise Agent Platform)
- StepFun API vs Vercel AI Gateway
- StepFun API vs Vertex AI (Gemini Enterprise Agent Platform)
- SWE-2 Flash vs Vercel AI Gateway
- SWE-2 Flash vs Vertex AI (Gemini Enterprise Agent Platform)
- Tencent Cloud TokenHub vs Vertex AI (Gemini Enterprise Agent Platform)
- Together AI Inference vs Vercel AI Gateway
- Together AI Inference vs Vertex AI (Gemini Enterprise Agent Platform)
- Vercel AI Gateway vs xAI API (Grok)
- Vertex AI (Gemini Enterprise Agent Platform) 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
- Router.com (Ramp Router) vs Vercel AI Gateway
- RouterPlus vs Vercel AI Gateway
- Tencent Cloud TokenHub vs Vercel AI Gateway
- Nemotron 3.5 Super VL vs Vertex AI (Gemini Enterprise Agent Platform)
- Prism Inference vs Vercel AI Gateway
Machine-readable
- This page as Markdown
/compare/vercel-ai-gateway-vs-vertex-ai.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/vercel-ai-gateway.json·/api/v1/tools/vertex-ai.json - From a terminal
anchor compare vercel-ai-gateway vertex-ai(the CLI) - Over MCP
compare_tools {"a": "vercel-ai-gateway", "b": "vertex-ai"}at/mcp, no key