Skip to content
Vercel AI Gateway

Mistral/Magistral Small

Mistral/Magistral Small is available via Vercel AI Gateway with a 128K context window and up to 64,000 output tokens. Pricing: $0.5000/1M input tokens, $1.50/1M output tokens.

Mistral/Magistral Small Pricing & Specifications

Input Price$0.50 per 1M tokens
Output Price$1.50 per 1M tokens
Context Window128,000 tokens (128K)
Max Output64,000 tokens
ProviderVercel AI Gateway

What is Mistral/Magistral Small?

Mistral/Magistral Small is a large language model by Vercel AI Gateway with a 128K context window and up to 64,000 output tokens. It costs $0.50 per 1M input tokens and $1.50 per 1M output tokens. Mistral/Magistral Small is available via Vercel AI Gateway with a 128K context window and up to 64,000 output tokens. Pricing: $0.5000/1M input tokens, $1.50/1M output tokens.

Capabilities

text function calling

Mistral/Magistral Small Cost Examples

Short prompt (500 tokens)

$0.000250

Medium prompt (2K tokens)

$0.00100

Long output (4K tokens)

$0.00600

Count tokens for Mistral/Magistral Small

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Mistral/Magistral Small

Vercel AI Gateway

Openai/Gpt 3.5 Turbo

$0.50/1M in 16K ctx

Vercel AI Gateway

Zai/Glm 4.6

$0.45/1M in 200K ctx

Vercel AI Gateway

Deepseek/Deepseek R1

$0.55/1M in 128K ctx

Vercel AI Gateway

Moonshotai/Kimi K2

$0.55/1M in 131K ctx

Frequently Asked Questions

How much does Mistral/Magistral Small cost per token? +
Mistral/Magistral Small costs $0.50 per 1M input tokens and $1.50 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.001250.
What is the context window for Mistral/Magistral Small? +
Mistral/Magistral Small supports a context window of 128,000 tokens (128K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Mistral/Magistral Small? +
Mistral/Magistral Small can generate up to 64,000 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Mistral/Magistral Small good for coding tasks? +
Yes, Mistral/Magistral Small supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All Vercel AI Gateway Models