Gpt 4.1 Mini
Provider: vercel ai gateway ·
vercel_ai_gateway/openai/gpt-4.1-mini Pricing per million tokens
| Component | USD per 1M tokens |
|---|---|
| Input | $0.40 |
| Output | $1.60 |
| Cached input (read) | $0.10 |
| Cache write | $0.00 |
💡 With prompt caching, you save up to 75% on cached input tokens — massive for repeated context like system prompts, RAG retrieval, or long conversations.
Monthly cost estimates
Assuming 30% prompt-cache hit rate where available. Adjust for your actual usage.
Small
1M in / 200k out
$0.63
per month
Saves $0.09 via caching
Medium
10M in / 2000k out
$6.30
per month
Saves $0.90 via caching
Large
100M in / 20000k out
$63.00
per month
Saves $9.00 via caching
Context
- Input window
- 1,047,576 tokens
- Max output
- 32,768 tokens
Capabilities
- ✅ Vision (image input)
- ✅ Function / tool calling
- ⬜ Prompt caching
- ⬜ Web search
- ✅ JSON / response schema
Compare Gpt 4.1 Mini with similar models
Gemini 2.5 Flash
vercel ai gateway
$0.30 in
/ $2.50 out
Qwen 3 235b
vercel ai gateway
$0.20 in
/ $0.60 out
Qwen3 Coder
vercel ai gateway
$0.40 in
/ $1.60 out
Nova Pro
vercel ai gateway
$0.80 in
/ $3.20 out
Claude 3 Haiku
vercel ai gateway
$0.25 in
/ $1.25 out
Claude 3.5 Haiku
vercel ai gateway
$0.80 in
/ $4.00 out
Pricing data sourced from LiteLLM and refreshed regularly. Last updated May 20, 2026. Always verify with the provider's official pricing page before making business decisions.