Skip to content
BYOK Tools

Comparison

Cloudflare AI Gateway vs Vercel AI Gateway

Both let you bring your own API key and both support OpenAI, Anthropic, Google Gemini. Differences below.

Cloudflare AI Gateway

Edge proxy that adds caching, rate limits and logs to your provider keys.

Vercel AI Gateway

One endpoint for hundreds of models, with bring-your-own-key support and no markup.

Editor score4.4 / 54.3 / 5
CategoryLLM Gateways & RoutersLLM Gateways & Routers
PricingFreemium · Core features free on all Cloudflare plansFreemium · Free tier; usage at provider list price
PlatformsWebWeb
ProvidersOpenAI, Anthropic, Google Gemini, OpenRouter, Mistral, Groq, DeepSeek, xAI, Azure OpenAI, AWS Bedrock, Perplexity, CohereOpenAI, Anthropic, Google Gemini, Mistral, Groq, DeepSeek, xAI, Azure OpenAI, AWS Bedrock, Perplexity, Cohere
Open sourceNoNo
Self-hostableNoNo
Local modelsNoNo
Key storageVendor serversVendor servers
Strengths
  • Nothing to host
  • Generous free tier
  • Global edge network
  • Tight integration with the AI SDK
  • No token markup
Drawbacks
  • Closed source
  • Ties you to the Cloudflare dashboard
  • Best fit if you already host on Vercel
  • Closed source

The verdict

Cloudflare AI Gateway scores higher overall.

Choose Cloudflare AI Gateway if you want nothing to host on Web.

Choose Vercel AI Gateway if you want tight integration with the AI SDK on Web.

Cloudflare AI Gateway vs Vercel AI Gateway: FAQ

Is Cloudflare AI Gateway or Vercel AI Gateway better?
Cloudflare AI Gateway has the higher editor score (4.4 vs 4.3). The better choice depends on platform, provider and pricing needs; see the table above.
Which is cheaper, Cloudflare AI Gateway or Vercel AI Gateway?
Cloudflare AI Gateway is freemium (Core features free on all Cloudflare plans). Vercel AI Gateway is freemium (Free tier; usage at provider list price). With both, model usage is billed separately by your API provider.
Which handles API keys more safely?
Both score 28/100 on the BYOK Tools Key Safety Score.
Do Cloudflare AI Gateway and Vercel AI Gateway support the same AI providers?
Both support OpenAI, Anthropic, Google Gemini, Mistral, Groq, DeepSeek, xAI, Azure OpenAI, AWS Bedrock, Perplexity, Cohere.
Can Cloudflare AI Gateway or Vercel AI Gateway run local models?
Neither supports local models.