Vercel AI Gateway logo

Integrate Vercel AI Gateway with your AI CRM

Access Vercel AI Gateway's model discovery, inference, generation, and usage APIs through a unified AI model gateway.

Explore Triggers and Actions

Compact Response

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.

ActionTry it

Count Message Tokens

Estimate input tokens for Anthropic-format messages, system content, and tools before sending a model request through Vercel AI Gateway.

ActionTry it

Create Anthropic Message

Create one non-streaming Anthropic Messages-compatible result through Vercel AI Gateway, with multimodal content, tools, extended thinking, and routing controls.

ActionTry it

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.

ActionTry it

Create Embeddings

Generate OpenAI-compatible vector embeddings through Vercel AI Gateway for text or token inputs, with optional dimensions and routing controls.

ActionTry it

Edit Images

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.

ActionTry it

Evaluate State

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.

ActionTry it

Evaluate with TypeSafe API

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.

ActionTry it

Generate Images

Generate one or more images from a text prompt through an image-only Vercel AI Gateway model. Returns a completed non-streaming JSON response.

ActionTry it

Generate 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.

ActionTry it

Generate Speech

Generate spoken audio from text through a Vercel AI Gateway speech model. Returns completed base64 audio in JSON; streaming output is not supported.

ActionTry it

Get Credit Balance

Return the connected team's remaining AI Gateway credit balance and lifetime credit usage in USD.

ActionTry it

Get Generation

Look up cost, token usage, provider routing, latency, and finish details for one completed Vercel AI Gateway generation.

ActionTry it

Get Model

Return detailed capabilities, modalities, limits, tags, and pricing for one exact Gateway model ID.

ActionTry it

Get Model Endpoints

Compare provider endpoints serving one Vercel AI Gateway model, including limits, pricing, caching, availability, throughput, and latency.

ActionTry it

Get Spend Report

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.

ActionTry it

List Model Catalog

List AI Gateway model-to-provider routes and capability tags, with bounded local filtering by model text, provider, or tag.

ActionTry it

List TypeSafe Models

List evaluation models available through AI Gateway's TypeSafe-compatible API, including each accepted model name, description, and release date.

ActionTry it

Rerank Object Documents

Rank structured object documents by relevance through the Cohere v1 route, using selected rank fields and optionally returning each source document.

ActionTry it

Rerank Text Documents

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.

ActionTry it

Search Models

Search the AI Gateway model catalog by text, model type, and tags, returning capability and pricing metadata for matching models.

ActionTry it

Transcribe Audio

Transcribe base64-encoded recorded audio through a Vercel AI Gateway transcription model. Returns one completed JSON transcript, not a live stream.

ActionTry it

How the Vercel AI Gateway integration works

The Vercel AI Gateway integration connects your Dench AI CRM directly to Vercel AI Gateway, so agents can read and act on your Vercel AI Gateway data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

22 actions are available for agents to invoke on your behalf. Every call runs through Vercel AI Gateway's own authorization, scoped to the account you connect.

Set up Vercel AI Gateway in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Vercel AI Gateway and click Connect — you'll authorize access through Vercel AI Gateway's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Vercel AI Gateway in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Vercel AI Gateway integration work with Dench?

The Dench Vercel AI Gateway integration connects your AI CRM to Vercel AI Gateway, so AI agents can work with your Vercel AI Gateway data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Vercel AI Gateway via Dench?

The Vercel AI Gateway integration currently exposes 22 actions, including Compact Response, Count Message Tokens, Create Anthropic Message, Create Chat Completion, Create Embeddings, and Edit Images. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Vercel AI Gateway to Dench?

No. You connect Vercel AI Gateway from your Dench workspace using Vercel AI Gateway's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Vercel AI Gateway integration secure?

Connections are authorized through Vercel AI Gateway's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Vercel AI Gateway connection from your workspace settings at any time.