Google Vertex AI
Google Vertex AI is available on the Spanway gateway through the vertex_ai/ model prefix. You register a Google Vertex AI model once in the gateway's config.yaml (or through the Admin UI), and every application then calls it through the gateway's OpenAI-compatible API with a Spanway virtual key. The provider credential stays on the gateway, and every request is authenticated, rate limited, logged and costed in the same way as any other provider.
The gateway translates requests and responses for Google Vertex AI natively, so provider specific parameters and errors are mapped to the OpenAI format for you.
Supported endpoints
The gateway's endpoint support matrix lists the following endpoints for Google Vertex AI. Each link explains the request shape and the gateway features that apply to that endpoint.
- OpenAI Chat Completions API (
/chat/completions) - Anthropic Messages API (
/messages) - OpenAI Responses API (
/responses) - OpenAI Embeddings API (
/embeddings) - OpenAI Images Generations API (
/images/generations) - OpenAI Text-to-Speech API (
/audio/speech) - Mistral OCR API (
/ocr) - A2A (Agent-to-Agent) protocol for agent communication (
/a2a) - Google Interactions API (
/interactions) - OpenAI Vector Stores Search API (
/vector_stores/search) - Anthropic Count Tokens API (
/count_tokens) - OpenAI Fine-Tuning API (
/fine_tuning) - RAG Ingest API (
/rag/ingest) - RAG Query API (
/rag/query) - Google GenerateContent API (
/generateContent) - OpenAI Realtime API (
/realtime)
Model types
The bundled price map lists 207 Google Vertex AI models across these modes: Chat, Image generation, Realtime, Embedding, Text completion, Text to speech, Transcription, OCR, Video, Vector store, Rerank. The mode decides which gateway endpoint a model is meant for, and it is also used by the gateway's health checks to send the right kind of test request.
Environment variables
The Google Vertex AI integration reads the following environment variables. Variables marked as required are the ones the gateway's environment validation checks for this provider. You can also pass any of these values directly in spanway_params (for example api_key or api_base), and the per-model value wins over the environment.
| Variable | Required | Purpose |
|---|---|---|
VERTEXAI_PROJECT | Yes | Project the requests are billed to |
VERTEXAI_LOCATION | Yes | Region or location of the deployment |
VERTEX_PROJECT | No | Project the requests are billed to |
VERTEX_LOCATION | No | Region or location of the deployment |
VERTEXAI_CREDENTIALS | No | Alternative credential source |
VERTEX_CREDENTIALS | No | Alternative credential source |
VERTEXAI_API_BASE | No | Overrides the provider base URL |
VERTEX_API_BASE | No | Overrides the provider base URL |
GOOGLE_APPLICATION_CREDENTIALS | No | Alternative credential source |
GCS_BUCKET_NAME | No | Storage bucket used by file and batch operations |
GCS_BATCH_BUCKET_NAME | No | Storage bucket used by file and batch operations |
GCS_PATH_SERVICE_ACCOUNT | No | Read by the provider integration |
Reference a variable from config.yaml with the os.environ/ prefix so that the secret never appears in the file itself. Secrets can also come from a secret manager, see secret managers.
Register a model on the gateway
Add an entry to model_list in config.yaml. The model_name is the public name your applications send, and spanway_params.model tells the gateway which provider and upstream model to call.
model_list:
- model_name: gemini-3.8-flash
spanway_params:
model: vertex_ai/gemini-3.8-flash
vertex_project: os.environ/VERTEXAI_PROJECT
vertex_location: os.environ/VERTEXAI_LOCATION
Start the gateway with this file:
export VERTEXAI_PROJECT="..."
export VERTEXAI_LOCATION="..."
spanway --config config.yaml
Spanway is in private preview. The container images and Helm charts will be published soon. To request access, write to sales@spanway.ai, and preview customers receive download instructions in their onboarding pack.
To add the model without a restart, call POST /model/new with the same model_name and spanway_params, or use the Models + Endpoints page in the Admin UI. See model management for details.
Call the model through the gateway
Send requests to the gateway's /v1/chat/completions endpoint with a virtual key. The gateway maps the public model name to the Google Vertex AI deployment, translates the request, and returns the response in the OpenAI format.
curl -X POST http://localhost:4000/v1/chat/completions \
-H "Authorization: Bearer $SPANWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.8-flash",
"messages": [{"role": "user", "content": "Summarize what an AI gateway does in two sentences."}]
}'
The same request works from any OpenAI SDK by setting the base URL to http://localhost:4000 and the API key to a Spanway virtual key. Create keys with POST /key/generate as described in virtual keys.
Models and pricing
The table lists every Google Vertex AI model in the gateway's bundled price map. Prices are shown in US dollars per 1 million tokens, computed from the per-token values the gateway uses for spend tracking. Context window sizes are the provider limits recorded in the same file. Capabilities are the supports_* flags set for each model.
Prices come from the price map bundled with this Spanway build. They are used to calculate the spend recorded for each request, key, team and user. Your negotiated rates may differ, and you can override them per deployment with custom pricing.
Model (model value) | Mode | Max input tokens | Max output tokens | Input per 1M tokens | Output per 1M tokens | Other pricing | Capabilities |
|---|---|---|---|---|---|---|---|
vertex_ai/deep-research-pro-preview-12-2025 | Chat | 65,536 | 32,768 | $2.00 | $12.00 | $0.134 per image | vision, prompt caching, structured output, web search |
vertex_ai/gemini-2.5-computer-use-preview-10-2025 | Chat | 128,000 | 64,000 | $1.25 | $10.00 | tools, vision, computer use | |
vertex_ai/gemini-2.5-flash | Chat | 1,048,576 | 65,535 | $0.3 | $2.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
vertex_ai/gemini-2.5-flash-image | Image generation | 32,768 | 32,768 | $0.3 | $2.50 | $0.039 per image | tools, vision, prompt caching, structured output, PDF input |
vertex_ai/gemini-2.5-flash-lite | Chat | 1,048,576 | 65,535 | $0.1 | $0.4 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
vertex_ai/gemini-2.5-flash-lite-preview-09-2025 | Chat | 1,048,576 | 65,535 | $0.1 | $0.4 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
vertex_ai/gemini-2.5-flash-preview-09-2025 | Chat | 1,048,576 | 65,535 | $0.3 | $2.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
vertex_ai/gemini-2.5-pro | Chat | 1,048,576 | 65,535 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-2.5-pro-preview-tts | Chat | 1,048,576 | 65,535 | $1.00 | $20.00 | tools, vision, prompt caching, structured output, web search | |
vertex_ai/gemini-3-flash-preview | Chat | 1,048,576 | 65,535 | $0.5 | $3.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
vertex_ai/gemini-3-pro-image | Image generation | 65,536 | 32,768 | $2.00 | $12.00 | $0.134 per image | vision, prompt caching, structured output, web search |
vertex_ai/gemini-3-pro-image-preview | Image generation | 65,536 | 32,768 | $2.00 | $12.00 | $0.134 per image | vision, prompt caching, structured output, web search |
vertex_ai/gemini-3.1-flash-image | Image generation | 65,536 | 32,768 | $0.5 | $3.00 | $0.0672 per image | vision, prompt caching, structured output, web search |
vertex_ai/gemini-3.1-flash-image-preview | Image generation | 65,536 | 32,768 | $0.5 | $3.00 | $0.0672 per image | vision, prompt caching, structured output, web search |
vertex_ai/gemini-3.1-flash-lite | Chat | 1,048,576 | 65,536 | $0.25 | $1.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.1-flash-lite-image | Image generation | 65,536 | 4,096 | $0.25 | $1.50 | $0.0336 per image | vision, prompt caching, PDF input, video in |
vertex_ai/gemini-3.1-flash-lite-preview | Chat | 1,048,576 | 65,536 | $0.25 | $1.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.1-pro-preview | Chat | 1,048,576 | 65,536 | $2.00 | $12.00 | $0.00012 per image | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in |
vertex_ai/gemini-3.1-pro-preview-customtools | Chat | 1,048,576 | 65,536 | $2.00 | $12.00 | $0.00012 per image | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in |
vertex_ai/gemini-3.5-flash | Chat | 1,048,576 | 65,535 | $1.50 | $9.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.5-flash-lite | Chat | 1,048,576 | 65,536 | $0.3 | $2.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.6-flash | Chat | 1,048,576 | 65,536 | $0.75 | $3.75 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.7-flash | Chat | 1,048,576 | 65,536 | $0.75 | $3.75 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.8-flash | Chat | 1,048,576 | 65,536 | $0.75 | $3.75 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.8-flash-cyber | Chat | 1,048,576 | 65,536 | $1.50 | $7.50 | vision, reasoning, prompt caching, structured output, PDF input, audio in, video in | |
vertex_ai/gemini-embedding-001 | Embedding | 2,048 | $0.15 | $0 | |||
vertex_ai/gemini-embedding-2 | Embedding | 8,192 | $0.2 | $0 | |||
vertex_ai/gemini-embedding-2-preview | Embedding | 8,192 | $0.2 | $0 | |||
vertex_ai/gemini-flash-experimental | Embedding | 1,000,000 | 8,192 | $0 | $0 | $0 per 1M characters | |
vertex_ai/gemini-live-2.5-flash-native-audio | Realtime | 131,072 | 65,536 | $0.5 | $2.00 | tools, vision, web search, audio in, audio out | |
vertex_ai/gemini-live-2.5-flash-preview-native-audio-09-2025 | Realtime | 1,048,576 | 65,535 | $0.5 | $2.00 | tools, vision, structured output, web search, PDF input, audio in, audio out | |
vertex_ai/gemini-nano-banana-2.1 | Image generation | 131,072 | 32,768 | $1.50 | $7.50 | $0.0336 per image | vision, reasoning, prompt caching, web search, PDF input, video in |
vertex_ai/gemini-omni-flash-preview | Chat | 1,048,576 | 65,535 | $1.50 | $9.00 | vision, reasoning, audio in, video in | |
vertex_ai/gemini-robotics-er-1.5-preview | Chat | 1,048,576 | 65,535 | $0.3 | $2.50 | tools, vision, reasoning, structured output | |
vertex_ai/medlm-large | Chat | 8,192 | 1,024 | $5 per 1M characters | |||
vertex_ai/medlm-medium | Chat | 32,768 | 8,192 | $0.5 per 1M characters | |||
vertex_ai/multimodalembedding | Embedding | 2,048 | $0.8 | $0 | $0.2 per 1M characters | ||
vertex_ai/multimodalembedding@001 | Embedding | 2,048 | $0.8 | $0 | $0.2 per 1M characters | ||
vertex_ai/text-embedding-004 | Embedding | 2,048 | $0.1 | $0 | $0.025 per 1M characters | ||
vertex_ai/text-embedding-005 | Embedding | 2,048 | $0.1 | $0 | $0.025 per 1M characters | ||
vertex_ai/text-embedding-large-exp-03-07 | Embedding | 8,192 | $0.1 | $0 | $0.025 per 1M characters | ||
vertex_ai/text-embedding-preview-0409 | Embedding | 3,072 | $0.00625 | $0 | |||
vertex_ai/text-multilingual-embedding-002 | Embedding | 2,048 | $0.1 | $0 | $0.025 per 1M characters | ||
vertex_ai/text-unicorn | Text completion | 8,192 | 1,024 | $10.00 | $28.00 | ||
vertex_ai/text-unicorn@001 | Text completion | 8,192 | 1,024 | $10.00 | $28.00 | ||
vertex_ai/chirp | Text to speech | $30 per 1M characters | |||||
vertex_ai/chirp_2 | Transcription | $0.00026667 per input second | |||||
vertex_ai/chirp_3 | Transcription | $0.00026667 per input second | |||||
vertex_ai/claude-3-5-haiku | Chat | 200,000 | 8,192 | $1.00 | $5.00 | tools, PDF input | |
vertex_ai/claude-3-5-haiku@20241022 | Chat | 200,000 | 8,192 | $1.00 | $5.00 | tools, PDF input | |
vertex_ai/claude-3-5-sonnet | Chat | 200,000 | 8,192 | $3.00 | $15.00 | tools, vision, PDF input, computer use | |
vertex_ai/claude-3-5-sonnet@20240620 | Chat | 200,000 | 8,192 | $3.00 | $15.00 | tools, vision, PDF input | |
vertex_ai/claude-3-haiku | Chat | 200,000 | 4,096 | $0.25 | $1.25 | tools, vision | |
vertex_ai/claude-3-haiku@20240307 | Chat | 200,000 | 4,096 | $0.25 | $1.25 | tools, vision | |
vertex_ai/claude-3-opus | Chat | 200,000 | 4,096 | $15.00 | $75.00 | tools, vision | |
vertex_ai/claude-3-opus@20240229 | Chat | 200,000 | 4,096 | $15.00 | $75.00 | tools, vision | |
vertex_ai/claude-3-sonnet | Chat | 200,000 | 4,096 | $3.00 | $15.00 | tools, vision | |
vertex_ai/claude-3-sonnet@20240229 | Chat | 200,000 | 4,096 | $3.00 | $15.00 | tools, vision | |
vertex_ai/claude-fable-5 | Chat | 1,000,000 | 128,000 | $10.00 | $50.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-fable-5-1 | Chat | 1,000,000 | 128,000 | $10.00 | $50.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-fable-5-1@default | Chat | 1,000,000 | 128,000 | $10.00 | $50.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-fable-5@default | Chat | 1,000,000 | 128,000 | $10.00 | $50.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-haiku-4-5 | Chat | 200,000 | 64,000 | $1.00 | $5.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
vertex_ai/claude-haiku-4-5@20251001 | Chat | 200,000 | 64,000 | $1.00 | $5.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
vertex_ai/claude-haiku-5-5 | Chat | 1,000,000 | 128,000 | $0.1 | $0.5 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-haiku-5-5@default | Chat | 1,000,000 | 128,000 | $0.1 | $0.5 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-5 | Chat | 200,000 | 64,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-5@20251101 | Chat | 200,000 | 64,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-6 | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-6@default | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-7 | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-7@default | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-8 | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-4-8@default | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-5 | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-5-5 | Chat | 1,000,000 | 128,000 | $4.00 | $20.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-5-5@default | Chat | 1,000,000 | 128,000 | $4.00 | $20.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-opus-5@default | Chat | 1,000,000 | 128,000 | $5.00 | $25.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-4-5 | Chat | 200,000 | 64,000 | $3.00 | $15.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-4-5@20250929 | Chat | 200,000 | 64,000 | $3.00 | $15.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-4-6 | Chat | 1,000,000 | 64,000 | $3.00 | $15.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-4-6@default | Chat | 1,000,000 | 64,000 | $3.00 | $15.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-5 | Chat | 1,000,000 | 128,000 | $2.00 | $10.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-5-5 | Chat | 1,000,000 | 128,000 | $2.00 | $10.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-5-5@default | Chat | 1,000,000 | 128,000 | $2.00 | $10.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/claude-sonnet-5@default | Chat | 1,000,000 | 128,000 | $2.00 | $10.00 | tools, vision, reasoning, prompt caching, structured output, PDF input, computer use | |
vertex_ai/codestral-2 | Chat | 128,000 | 128,000 | $0.3 | $0.9 | tools | |
vertex_ai/codestral-2@001 | Chat | 128,000 | 128,000 | $0.3 | $0.9 | tools | |
vertex_ai/codestral-2501 | Chat | 128,000 | 128,000 | $0.2 | $0.6 | tools | |
vertex_ai/codestral@2405 | Chat | 128,000 | 128,000 | $0.2 | $0.6 | tools | |
vertex_ai/codestral@latest | Chat | 128,000 | 128,000 | $0.2 | $0.6 | tools | |
vertex_ai/deep-research-pro-preview-12-2025 | Chat | 65,536 | 32,768 | $2.00 | $12.00 | $0.134 per image | |
vertex_ai/deepseek-ai/deepseek-ocr-maas | OCR | $0.3 | $1.20 | ||||
vertex_ai/deepseek-ai/deepseek-r1-0528-maas | Chat | 65,336 | 8,192 | $1.35 | $5.40 | tools, reasoning, prompt caching | |
vertex_ai/deepseek-ai/deepseek-v3.1-maas | Chat | 163,840 | 32,768 | $0.6 | $1.70 | tools, reasoning, prompt caching | |
vertex_ai/deepseek-ai/deepseek-v3.2-maas | Chat | 163,840 | 32,768 | $0.56 | $1.68 | tools, reasoning, prompt caching | |
vertex_ai/gemini-2.0-flash | Chat | $0.15 | $0.6 | $0.0375 per 1M characters | |||
vertex_ai/gemini-2.0-flash-lite | Chat | $0.075 | $0.3 | $0.01875 per 1M characters | |||
vertex_ai/gemini-2.5-flash-image | Image generation | 32,768 | 32,768 | $0.3 | $2.50 | $0.039 per image | tools, vision, prompt caching, structured output, PDF input |
vertex_ai/gemini-2.5-flash-native-audio | Realtime | $0.5 | $2.00 | ||||
vertex_ai/gemini-2.5-flash-preview-tts | Text to speech | $0.5 | $10.00 | ||||
vertex_ai/gemini-2.5-flash-tts | Text to speech | $0.5 | $10.00 | ||||
vertex_ai/gemini-2.5-pro-tts | Text to speech | $1.00 | $20.00 | ||||
vertex_ai/gemini-3-flash-preview | Chat | 1,048,576 | 65,535 | $0.5 | $3.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3-pro-image | Image generation | 65,536 | 32,768 | $2.00 | $12.00 | $0.134 per image | |
vertex_ai/gemini-3-pro-image-preview | Image generation | 65,536 | 32,768 | $2.00 | $12.00 | $0.134 per image | |
vertex_ai/gemini-3-pro-preview | Chat | 1,048,576 | 65,535 | $2.00 | $12.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.1-flash-image | Image generation | 65,536 | 32,768 | $0.5 | $3.00 | $0.0672 per image | |
vertex_ai/gemini-3.1-flash-image-preview | Image generation | 65,536 | 32,768 | $0.5 | $3.00 | $0.0672 per image | |
vertex_ai/gemini-3.1-flash-lite | Chat | 1,048,576 | 65,536 | $0.25 | $1.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.1-flash-lite-image | Image generation | 65,536 | 4,096 | $0.25 | $1.50 | $0.0336 per image | vision, prompt caching, PDF input, video in |
vertex_ai/gemini-3.1-flash-lite-preview | Chat | 1,048,576 | 65,536 | $0.25 | $1.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.1-flash-tts-preview | Text to speech | $1.00 | $20.00 | ||||
vertex_ai/gemini-3.1-pro-preview | Chat | 1,048,576 | 65,536 | $2.00 | $12.00 | $0.00012 per image | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in |
vertex_ai/gemini-3.1-pro-preview-customtools | Chat | 1,048,576 | 65,536 | $2.00 | $12.00 | $0.00012 per image | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in |
vertex_ai/gemini-3.5-flash | Chat | 1,048,576 | 65,535 | $1.50 | $9.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.5-flash-lite | Chat | 1,048,576 | 65,536 | $0.3 | $2.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.5-live-translate-preview | Realtime | $3.50 | $21.00 | $0.0000875 per input second | audio in, audio out | ||
vertex_ai/gemini-3.5-transcribe | Transcription | $12.00 | $0.00005 per input second | ||||
vertex_ai/gemini-3.5-transcribe-live | Transcription | $21.00 | $0.0000875 per input second | ||||
vertex_ai/gemini-3.5-transcribe-live-preview | Transcription | $3.50 | $21.00 | audio in | |||
vertex_ai/gemini-3.5-transcribe-preview | Transcription | $2.00 | $12.00 | audio in | |||
vertex_ai/gemini-3.6-flash | Chat | 1,048,576 | 65,536 | $0.75 | $3.75 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.7-flash | Chat | 1,048,576 | 65,536 | $0.75 | $3.75 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.8-flash | Chat | 1,048,576 | 65,536 | $0.75 | $3.75 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, audio in, video in | |
vertex_ai/gemini-3.8-flash-cyber | Chat | 1,048,576 | 65,536 | $1.50 | $7.50 | vision, reasoning, prompt caching, structured output, PDF input, audio in, video in | |
vertex_ai/gemini-3.8-flash-lite-tts | Text to speech | 8,192 | 16,384 | $0.5 | $6.00 | ||
vertex_ai/gemini-3.8-flash-tts | Text to speech | 8,192 | 16,384 | $0.5 | $9.00 | ||
vertex_ai/gemini-3.8-live | Realtime | 131,072 | 65,536 | $0.75 | $4.50 | tools, vision, web search, audio in, audio out | |
vertex_ai/gemini-embedding-2 | Embedding | 8,192 | $0.2 | $0 | |||
vertex_ai/gemini-embedding-2-preview | Embedding | 8,192 | $0.2 | $0 | |||
vertex_ai/gemini-nano-banana-2.1 | Image generation | 131,072 | 32,768 | $1.50 | $7.50 | $0.0336 per image | vision, reasoning, prompt caching, web search, PDF input, video in |
vertex_ai/gemini-omni-1.1-flash | Chat | $1.50 | $9.00 | ||||
vertex_ai/gemini-omni-1.1-flash-preview | Chat | 57,920 | $1.50 | $9.00 | vision, reasoning, video in | ||
vertex_ai/gemma-4-26b-a4b-it | Chat | $0.15 | $0.6 | ||||
vertex_ai/google/gemma-4-26b-a4b-it-maas | Chat | 262,144 | 128,000 | $0.15 | $0.6 | tools, vision | |
vertex_ai/jamba-1.5 | Chat | 256,000 | 256,000 | $0.2 | $0.4 | ||
vertex_ai/jamba-1.5-large | Chat | 256,000 | 256,000 | $2.00 | $8.00 | ||
vertex_ai/jamba-1.5-large@001 | Chat | 256,000 | 256,000 | $2.00 | $8.00 | ||
vertex_ai/jamba-1.5-mini | Chat | 256,000 | 256,000 | $0.2 | $0.4 | ||
vertex_ai/jamba-1.5-mini@001 | Chat | 256,000 | 256,000 | $0.2 | $0.4 | ||
vertex_ai/lyria-002 | Text to speech | $0.06 per image | audio out | ||||
vertex_ai/lyria-3-clip-preview | Text to speech | 131,072 | 8,192 | $0 | $0 | $0.04 per image | audio out |
vertex_ai/lyria-3-pro-preview | Text to speech | 131,072 | 8,192 | $0 | $0 | $0.08 per image | audio out |
vertex_ai/meta/llama-3.1-8b-instruct-maas | Chat | 128,000 | 2,048 | $0 | $0 | vision | |
vertex_ai/meta/llama-3.1-70b-instruct-maas | Chat | 128,000 | 2,048 | $0 | $0 | vision | |
vertex_ai/meta/llama-3.1-405b-instruct-maas | Chat | 128,000 | 2,048 | $5.00 | $16.00 | vision | |
vertex_ai/meta/llama-3.2-90b-vision-instruct-maas | Chat | 128,000 | 2,048 | $0 | $0 | vision | |
vertex_ai/meta/llama-3.3-70b-instruct-maas | Chat | 128,000 | 8,192 | $0.72 | $0.72 | tools | |
vertex_ai/meta/llama-4-maverick-17b-16e-instruct-maas | Chat | 1,000,000 | 1,000,000 | $0.35 | $1.15 | tools | |
vertex_ai/meta/llama-4-maverick-17b-128e-instruct-maas | Chat | 1,000,000 | 1,000,000 | $0.35 | $1.15 | tools | |
vertex_ai/meta/llama-4-scout-17b-16e-instruct-maas | Chat | 10,000,000 | 10,000,000 | $0.25 | $0.7 | tools | |
vertex_ai/meta/llama-4-scout-17b-128e-instruct-maas | Chat | 10,000,000 | 10,000,000 | $0.25 | $0.7 | tools | |
vertex_ai/meta/llama3-8b-instruct-maas | Chat | 32,000 | 32,000 | $0 | $0 | ||
vertex_ai/meta/llama3-70b-instruct-maas | Chat | 32,000 | 32,000 | $0 | $0 | ||
vertex_ai/meta/llama3-405b-instruct-maas | Chat | 32,000 | 32,000 | $0 | $0 | ||
vertex_ai/minimaxai/minimax-m2-maas | Chat | 196,608 | 196,608 | $0.3 | $1.20 | tools | |
vertex_ai/mistral-large-2411 | Chat | 128,000 | 8,191 | $2.00 | $6.00 | tools | |
vertex_ai/mistral-large@2407 | Chat | 128,000 | 8,191 | $2.00 | $6.00 | tools | |
vertex_ai/mistral-large@2411-001 | Chat | 128,000 | 8,191 | $2.00 | $6.00 | tools | |
vertex_ai/mistral-large@latest | Chat | 128,000 | 8,191 | $2.00 | $6.00 | tools | |
vertex_ai/mistral-medium-3 | Chat | 128,000 | 8,191 | $0.4 | $2.00 | tools | |
vertex_ai/mistral-medium-3@001 | Chat | 128,000 | 8,191 | $0.4 | $2.00 | tools | |
vertex_ai/mistral-nemo@2407 | Chat | 128,000 | 128,000 | $3.00 | $3.00 | tools | |
vertex_ai/mistral-nemo@latest | Chat | 128,000 | 128,000 | $0.15 | $0.15 | tools | |
vertex_ai/mistral-ocr-2505 | OCR | ||||||
vertex_ai/mistral-small-2503 | Chat | 128,000 | 128,000 | $0.1 | $0.3 | tools, vision | |
vertex_ai/mistral-small-2503@001 | Chat | 32,000 | 8,191 | $0.1 | $0.3 | tools | |
vertex_ai/mistralai/codestral-2 | Chat | 128,000 | 128,000 | $0.3 | $0.9 | tools | |
vertex_ai/mistralai/codestral-2@001 | Chat | 128,000 | 128,000 | $0.3 | $0.9 | tools | |
vertex_ai/mistralai/mistral-medium-3 | Chat | 128,000 | 8,191 | $0.4 | $2.00 | tools | |
vertex_ai/mistralai/mistral-medium-3@001 | Chat | 128,000 | 8,191 | $0.4 | $2.00 | tools | |
vertex_ai/moonshotai/kimi-k2-thinking-maas | Chat | 256,000 | 256,000 | $0.6 | $2.50 | tools, web search | |
vertex_ai/openai/gpt-oss-20b-maas | Chat | 131,072 | 32,768 | $0.07 | $0.25 | reasoning | |
vertex_ai/openai/gpt-oss-120b-maas | Chat | 131,072 | 32,768 | $0.09 | $0.36 | reasoning | |
vertex_ai/qwen/qwen3-235b-a22b-instruct-2507-maas | Chat | 262,144 | 16,384 | $0.22 | $0.88 | tools | |
vertex_ai/qwen/qwen3-coder-480b-a35b-instruct-maas | Chat | 262,144 | 32,768 | $0.22 | $1.80 | tools | |
vertex_ai/qwen/qwen3-next-80b-a3b-instruct-maas | Chat | 262,144 | 262,144 | $0.15 | $1.20 | tools | |
vertex_ai/qwen/qwen3-next-80b-a3b-thinking-maas | Chat | 262,144 | 262,144 | $0.15 | $1.20 | tools | |
vertex_ai/search_api | Vector store | ||||||
vertex_ai/semantic-ranker-default | Rerank | $0 | $0 | ||||
vertex_ai/semantic-ranker-default-002 | Rerank | $0 | $0 | ||||
vertex_ai/semantic-ranker-default-003 | Rerank | $0 | $0 | ||||
vertex_ai/semantic-ranker-default-004 | Rerank | $0 | $0 | ||||
vertex_ai/semantic-ranker-default@latest | Rerank | $0 | $0 | ||||
vertex_ai/semantic-ranker-fast | Rerank | $0 | $0 | ||||
vertex_ai/semantic-ranker-fast-004 | Rerank | $0 | $0 | ||||
vertex_ai/semantic-ranker-fast@latest | Rerank | $0 | $0 | ||||
vertex_ai/veo-2.0-generate-001 | Video | 1,024 | $0.5 per output second | ||||
vertex_ai/veo-3.0-fast-generate-001 | Video | 1,024 | $0.1 per output second | ||||
vertex_ai/veo-3.0-generate-001 | Video | 1,024 | $0.4 per output second | ||||
vertex_ai/veo-3.1-fast-generate-001 | Video | 1,024 | $0.1 per output second | ||||
vertex_ai/veo-3.1-fast-generate-preview | Video | 1,024 | $0.1 per output second | ||||
vertex_ai/veo-3.1-generate-001 | Video | 1,024 | $0.4 per output second | ||||
vertex_ai/veo-3.1-generate-preview | Video | 1,024 | $0.4 per output second | ||||
vertex_ai/veo-3.1-lite-generate-001 | Video | 1,024 | $0.05 per output second | ||||
vertex_ai/virtual-try-on-001 | Image generation | $0.06 per image | |||||
vertex_ai/xai/grok-4.1-fast-non-reasoning | Chat | 128,000 | 128,000 | $0.2 | $0.5 | tools, vision, prompt caching, structured output, web search | |
vertex_ai/xai/grok-4.1-fast-reasoning | Chat | 128,000 | 128,000 | $0.2 | $0.5 | tools, vision, reasoning, prompt caching, structured output, web search | |
vertex_ai/xai/grok-4.3 | Chat | 200,000 | 200,000 | $1.25 | $2.50 | tools, vision, reasoning, prompt caching, structured output | |
vertex_ai/xai/grok-4.6 | Chat | 524,288 | 524,288 | $2.00 | $6.00 | tools, vision, reasoning, prompt caching, structured output | |
vertex_ai/xai/grok-4.7 | Chat | 524,288 | 524,288 | $2.00 | $6.00 | tools, vision, reasoning, prompt caching, structured output | |
vertex_ai/xai/grok-4.20-non-reasoning | Chat | 2,000,000 | 2,000,000 | $1.25 | $2.50 | tools, vision, prompt caching, structured output, web search | |
vertex_ai/xai/grok-4.20-reasoning | Chat | 2,000,000 | 2,000,000 | $1.25 | $2.50 | tools, vision, reasoning, prompt caching, structured output, web search | |
vertex_ai/zai-org/glm-4.7-maas | Chat | 200,000 | 128,000 | $0.6 | $2.20 | tools, reasoning | |
vertex_ai/zai-org/glm-5-maas | Chat | 200,000 | 128,000 | $1.00 | $3.20 | tools, reasoning, prompt caching | |
vertex_ai/zai-org/glm-5.2-maas | Chat | 1,000,000 | 64,000 | $1.40 | $4.40 | tools, reasoning, prompt caching, structured output |