---
title: "Vercel AI Gateway integration for LuumenAI"
url: "https://www.luumen.ai/integrations/vercel-ai-gateway/"
entity: SoftwareIntegration
category: "AI & automation"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Vercel AI Gateway integration for LuumenAI

One gateway for model lookup, spend, and inference calls from the terminal

## What LuumenAI can do with Vercel AI Gateway

LuumenAI connects to Vercel AI Gateway with an API token and exposes 22 tools (9 read-only · 13 write). For connected tools, admins configure which actions may run automatically and which require approval, within the access granted to the user.

## Key facts

- Authentication: API token
- Tools available: 22 tools (9 read-only · 13 write)
- Deployment: scoped as part of your Pilot, Platform, or Managed rollout
- Category: AI & automation

## About Vercel AI Gateway with LuumenAI

Connect Vercel AI Gateway and Luumen can read your model catalog, per-provider endpoint pricing and latency, credit balance, and spend reports on demand. When you want a call made — a chat completion, an embedding batch, an image generation — Luumen shows the model, the routing, and the request first, then waits for your approval.

## Example tools

Read-only (9 in total):

- `VERCEL_AI_GATEWAY_COUNT_MESSAGE_TOKENS` — Estimate input tokens for Anthropic-format messages, system content, and tools before sending a model request through Vercel AI Gateway.
- `VERCEL_AI_GATEWAY_GET_CREDIT_BALANCE` — Return the connected team's remaining AI Gateway credit balance and lifetime credit usage in USD.
- `VERCEL_AI_GATEWAY_GET_GENERATION` — Look up cost, token usage, provider routing, latency, and finish details for one completed Vercel AI Gateway generation.
- `VERCEL_AI_GATEWAY_GET_MODEL` — Return detailed capabilities, modalities, limits, tags, and pricing for one exact Gateway model ID.
- `VERCEL_AI_GATEWAY_GET_MODEL_ENDPOINTS` — Compare provider endpoints serving one Vercel AI Gateway model, including limits, pricing, caching, availability, throughput, and latency.
- `VERCEL_AI_GATEWAY_GET_SPEND_REPORT` — Query aggregated Vercel AI Gateway spend and token usage.
- `VERCEL_AI_GATEWAY_LIST_MODEL_CATALOG` — List AI Gateway model-to-provider routes and capability tags, with bounded local filtering by model text, provider, or tag.
- `VERCEL_AI_GATEWAY_LIST_TYPESAFE_MODELS` — List evaluation models available through AI Gateway's TypeSafe-compatible API, including each accepted model name, description, and release date.

Write and destructive (13 in total, subject to configured approval policy):

- `VERCEL_AI_GATEWAY_COMPACT_RESPONSE` — Compact a long OpenAI Responses conversation into replayable context through Vercel AI Gateway.
- `VERCEL_AI_GATEWAY_CREATE_ANTHROPIC_MESSAGE` — Create one non-streaming Anthropic Messages-compatible result through Vercel AI Gateway, with multimodal content, tools, extended thinking, and routing controls.
- `VERCEL_AI_GATEWAY_CREATE_CHAT_COMPLETION` — Create one non-streaming OpenAI Chat Completions-compatible result through Vercel AI Gateway, with multimodal messages, tools, structured output, fallback models, and routing controls.
- `VERCEL_AI_GATEWAY_CREATE_EMBEDDINGS` — Generate OpenAI-compatible vector embeddings through Vercel AI Gateway for text or token inputs, with optional dimensions and routing controls.
- `VERCEL_AI_GATEWAY_EDIT_IMAGES` — Create edited images from up to 16 HTTPS or base64 data-URL source images and a text instruction.
- `VERCEL_AI_GATEWAY_EVALUATE_STATE` — Evaluate one shared state against one or more typed choice, score, or boolean questions using an AI Gateway evaluation model.
- `VERCEL_AI_GATEWAY_GENERATE_IMAGES` — Generate one or more images from a text prompt through an image-only Vercel AI Gateway model.
- `VERCEL_AI_GATEWAY_GENERATE_RESPONSE` — Generate one non-streaming OpenAI Responses-compatible result through AI Gateway, with optional instructions, tools, structured output, reasoning, and routing controls.

## Frequently asked questions

### How does LuumenAI connect to Vercel AI Gateway?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Vercel AI Gateway on its own?

For connected tools, admins configure which actions may run automatically and which require approval, within the access granted to the user.

### Is there an audit trail?

Every call to Vercel AI Gateway — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/vercel-ai-gateway/
