You can now use Vercel MCP to run AI Gateway models directly from your agent. Vercel MCP adds four tools:
generate_ai_gateway_text
generate_ai_gateway_image
generate_ai_gateway_decisiondecision model typed questions about one input and returns choices, scores, and boolean probabilities, for classification, routing, verification, and scoring.
generate_ai_gateway_extractionextraction model to pull typed field values from text, PDFs, and images.
Your agent can chain the tools in one session, such as generating images and then scoring them with a decision call. Try a prompt like this:
The tools authenticate with your existing Vercel MCP sign-in, so you don't need a separate API key. Usage comes out of your team's AI Gateway credits.
To get started, add Vercel MCP to your AI clients (e.g., Claude Code) across all your projects:
Read the Vercel MCP AI Gateway tools reference to learn more.