Mistral Large 4 on Vercel AI Gateway

Mistral Large · MistralAI

Serverless

Last refreshed 2026-10-06. Next refresh: weekly.

Why use Mistral Large 4 on Vercel AI Gateway?

Vercel AI Gateway offers Mistral Large 4 with pay-as-you-go pricing at $0.68/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Mistral Large 4 across 3 providers to find the best fit for your use case
Input / 1M
$0.68
Output / 1M
$2.09
Cache
read $0.070
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
mistral/mistral-large-4

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="mistral/mistral-large-4",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "mistral/mistral-large-4", not the LLMReference slug "mistral-large-4".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Mistral Large 4 Across Providers

ProviderInput (per 1M)Output (per 1M)
Mistral AI Studio$0.68$2.09
OpenRouter$0.68$2.09
Vercel AI Gateway$0.68$2.09

Pricing

TypePrice (per 1M)
Input tokens$0.68
Output tokens$2.09
Image input$1.00

Capabilities

VisionMultimodalJSON / Tool useStructured OutputsPrompt CachingBatch API

About Mistral Large 4

Mistral Large 4 (API id mistral-large-4-0, public preview launched 6 October 2026) is Mistral AI's flagship open-weight multimodal Mixture-of-Experts model: 1.05T total parameters, 49B active, and a 1.6B vision encoder, with a 1M-token context window on first-party docs. It accepts text and image input and returns text. First-party docs list structured outputs, function calling, document QnA, prefix, chat completions, batching, agents/conversations, and built-in tools. Standard API pricing on docs.mistral.ai/inference/pricing is $0.68 / $0.07 cached input / $2.09 output per 1M tokens.

Get Started

Model Specs

Released2026-10-06
Parameters1.05T (49B active)
Context1.05m
ArchitectureMixture of Experts

Related Models on Vercel AI Gateway