Skip to main content

Vercel AI Gateway

Vercel AI Gateway provides unified, edge-optimized access to 100+ LLM providers with automated retries, global edge caching, and centralized request telemetry.

Website: https://vercel.com/docs/ai/ai-gateway


Getting an API Key

  1. Log in to the Vercel Dashboard.
  2. Navigate to your project or team settings and enable AI Gateway.
  3. Create and copy your Vercel AI Gateway API Key.

Supported Models

Vercel AI Gateway supports routed models across major providers using the standard provider/model-id format:

Anthropic Claude

  • anthropic/claude-sonnet-5 - (Recommended for Coding) Flagship agentic coding and refactoring
  • anthropic/claude-opus-4-8 - Maximum reasoning depth and multi-file planning
  • anthropic/claude-3-7-sonnet - Hybrid thinking model

OpenAI

  • openai/gpt-5.5 - (Recommended for Reasoning) Flagship multimodal model
  • openai/gpt-4o - Fast, robust pair-programming workhorse
  • openai/o3-mini / openai/o4-mini - High-depth chain-of-thought verification

Google Gemini

  • google/gemini-3.7-flash - 1M+ context window for repository-wide exploration
  • google/gemini-2.5-pro - Multimodal reasoning and document analysis

Open-Weights & DeepSeek

  • deepseek/deepseek-r1 - Frontier open-weights mathematical and code reasoning
  • deepseek/deepseek-chat (V3) - High-efficiency coding model

Configuration in PostQode

  1. Open PostQode Settings ().
  2. Select Vercel AI Gateway in the API Provider dropdown.
  3. Enter your Vercel AI Gateway API Key.
  4. Specify your target model string (e.g. anthropic/claude-sonnet-5, openai/gpt-5.5, or google/gemini-3.7-flash).
  5. Click Save Settings to connect.