Roo Code
Roo Code is a VS Code extension that brings AI coding assistance directly into your editor. You can configure it to use AI Gateway for unified model access and spend monitoring.
Go to the AI Gateway tab of the Vercel dashboard and click API keys to create a new API key.
Install the Roo Code extension from the VS Code marketplace.
Click the gear icon in the Roo Code panel to open the settings.
In the Roo Code settings panel, configure the connection:
- Select Vercel AI Gateway as your API Provider
- Paste your AI Gateway API Key
- Choose a model from the available models
Roo Code automatically updates to include the models available on AI Gateway. Browse the full catalog on the models page.
Your requests will now be routed through AI Gateway. You can verify this by checking your AI Gateway Overview in the Vercel dashboard.
Prompt caching is supported for Claude and GPT models, which can reduce costs by reusing previously processed prompts.
View your usage, spend, and request activity in the AI Gateway tab of the Vercel dashboard. See the observability documentation for more details.
Was this helpful?