Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Count Message Tokens
VERCEL_AI_GATEWAY_COUNT_MESSAGE_TOKENSEstimate input tokens for Anthropic-format messages, system content, and tools before sending a model request through Vercel AI Gateway.
Get Credit Balance
VERCEL_AI_GATEWAY_GET_CREDIT_BALANCEReturn the connected team's remaining AI Gateway credit balance and lifetime credit usage in USD.
Get Generation
VERCEL_AI_GATEWAY_GET_GENERATIONLook up cost, token usage, provider routing, latency, and finish details for one completed Vercel AI Gateway generation.
Get Model
VERCEL_AI_GATEWAY_GET_MODELReturn detailed capabilities, modalities, limits, tags, and pricing for one exact Gateway model ID.
Get Model Endpoints
VERCEL_AI_GATEWAY_GET_MODEL_ENDPOINTSCompare provider endpoints serving one Vercel AI Gateway model, including limits, pricing, caching, availability, throughput, and latency.
Get Spend Report
VERCEL_AI_GATEWAY_GET_SPEND_REPORTQuery 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 Model Catalog
VERCEL_AI_GATEWAY_LIST_MODEL_CATALOGList AI Gateway model-to-provider routes and capability tags, with bounded local filtering by model text, provider, or tag.
List TypeSafe Models
VERCEL_AI_GATEWAY_LIST_TYPESAFE_MODELSList evaluation models available through AI Gateway's TypeSafe-compatible API, including each accepted model name, description, and release date.
Search Models
VERCEL_AI_GATEWAY_SEARCH_MODELSSearch the AI Gateway model catalog by text, model type, and tags, returning capability and pricing metadata for matching models.