Your AI team, working in Vercel AI Gateway
Access Vercel AI Gateway's model discovery, inference, generation, and usage APIs through a unified AI model gateway.
Start your companyWhat your team can do in Vercel AI Gateway
22 tools to work with, connected with an API key.
Compact a long OpenAI Responses conversation into replayable context through Vercel AI Gateway. This endpoint only supports models routed to OpenAI and does not fail over to other providers; model compatibility is checked by the provider rather than by this action.
Estimate input tokens for Anthropic-format messages, system content, and tools before sending a model request through Vercel AI Gateway.
Create one non-streaming Anthropic Messages-compatible result through Vercel AI Gateway, with multimodal content, tools, extended thinking, and routing controls.
Create one non-streaming OpenAI Chat Completions-compatible result through Vercel AI Gateway, with multimodal messages, tools, structured output, fallback models, and routing controls.
Generate OpenAI-compatible vector embeddings through Vercel AI Gateway for text or token inputs, with optional dimensions and routing controls.
Create edited images from up to 16 HTTPS or base64 data-URL source images and a text instruction. Uses the non-streaming JSON image-edit route only.
Evaluate one shared state against one or more typed choice, score, or boolean questions using an AI Gateway evaluation model. Returns structured answers, token usage, and gateway metadata rather than generated prose.
Evaluate one shared state through AI Gateway's TypeSafe-compatible System One API. Use this compatibility action for TypeSafe noul, choice, and score request shapes; use Evaluate State for new integrations.
Generate one or more images from a text prompt through an image-only Vercel AI Gateway model. Returns a completed non-streaming JSON response.
Generate one non-streaming OpenAI Responses-compatible result through AI Gateway, with optional instructions, tools, structured output, reasoning, and routing controls. Inspect status because a successful HTTP response may still be incomplete.
Generate spoken audio from text through a Vercel AI Gateway speech model. Returns completed base64 audio in JSON; streaming output is not supported.
Return the connected team's remaining AI Gateway credit balance and lifetime credit usage in USD.
Look up cost, token usage, provider routing, latency, and finish details for one completed Vercel AI Gateway generation.
Return detailed capabilities, modalities, limits, tags, and pricing for one exact Gateway model ID.
Compare provider endpoints serving one Vercel AI Gateway model, including limits, pricing, caching, availability, throughput, and latency.
Query aggregated Vercel AI Gateway spend and token usage. This endpoint requires a Pro or Enterprise plan, and each query costs $5 per 1,000 queries.
List AI Gateway model-to-provider routes and capability tags, with bounded local filtering by model text, provider, or tag.
List evaluation models available through AI Gateway's TypeSafe-compatible API, including each accepted model name, description, and release date.
Rank structured object documents by relevance through the Cohere v1 route, using selected rank fields and optionally returning each source document.
Rerank string documents through the current Cohere v2 compatibility endpoint. Unlike the v1 action, this action accepts text strings only and does not support object documents, rank_fields, or return_documents.
Search the AI Gateway model catalog by text, model type, and tags, returning capability and pricing metadata for matching models.
Transcribe base64-encoded recorded audio through a Vercel AI Gateway transcription model. Returns one completed JSON transcript, not a live stream.
Nothing matches that.
More in AI models
See them all βThe Anthropic Admin API allows programmatic management of organizational resources, including members, workspaces, and API keys.
3 toolsβ AAPIpie.ai is an AI super aggregator providing a unified API to access a vast array of AI models from leading providers, enabling cost-effective andβ¦
13 toolsβ BBytePlus Ark provides regional language, vision, image, embedding, file, response, and asynchronous video generation APIs. Chat and image generationβ¦
17 toolsβ CCometAPI provides a unified API gateway for text, image, audio, video, and other generative AI models from multiple providers.
6 toolsβ GGroqCloud provides high-performance AI inference services, enabling developers to deploy and manage AI models efficiently.
7 toolsβ ORun large language models locally or in the cloud with Ollama
8 toolsβ