megachangelog
Feature

Set up coding agents in one command with AI Gateway

Vercel AI Gateway now supports routing for 9 different coding agents including Claude Code, Codex, and OpenCode. Developers can set up all agents in one command with centralized observability, billing, and policy controls across 200+ models.

Using coding agents means setting up multiple accounts, provisioning API keys, and scattering observability and billing. Now, you can route them through to centralize all of this and add controls, with set up in one command:AI Gateway

To start:

connects Claude Code, Codex, OpenCode, and more in one command. It finds the agents on your machine, creates the API key, and writes the gateway URL and your credentials into each agent's own config format.vercel ai-gateway coding-agents setup

Files are edited in place with their formatting preserved, and setup does not pin to a model. This command supports 9 coding agents to utilize the models in AI Gateway. You can also use the in-line command for a selector with all models: refer to the for the full catalog./modelmodels list

Pass to take the defaults, or set the key up front:--yes

Read more

  • , including models the agent has no native support for. The gateway routes the request to whichever model you picked, with automatic fallbacks.Any of in any agent200+ models

  • : spend, performance, tokens and more, across the models your agents used.One dashboard for agent traffic

  • agents use to control spend., resets, and expiry on the Budgetskeys

  • : turn on or restrict may serve requests, and it holds for every agent request without editing an agent's config.Team-wide policy your agents can't route aroundZero Data Retentionwhich providers

  • , with the cost, tokens, and model behind each request.Request traces

Agent

Selecting a model

Claude Code, CLI and desktop

or , as in /model/model <slug>/model anthropic/claude-opus-5

Codex, CLI and desktop

or /modelcodex --model <slug>

OpenCode

, then pick /modelsvercel/<creator>/<model>

Pi

, or /modelpi --list-models

Cline

, or switch in sessioncline auth -p vercel-ai-gateway -m <slug>

Cursor

Add gateway slugs under Settings, then Models

Hermes

/model custom:vercel-ai-gateway:<slug>

Kilo Code

, then pick /modelsopenai-compatible/<creator>/<model>

OpenClaw

Add slugs to the starter list in openclaw.json

ai-gatewaycoding-agentsapiclimodels

Source: original entry ↗