o4 mini
Vercel Ai GatewayText
o4 mini is a text model from Vercel Ai Gateway with a context window of 200K tokens and max output of 100K tokens. Pricing starts at $1.10 per million input tokens and $4.40 per million output tokens (cheapest at Replicate).
Specifications
| Model Key | vercel_ai_gateway/openai/o4-mini |
| Provider | Vercel Ai Gateway |
| LiteLLM Provider | vercel_ai_gateway |
| Mode | Text |
| Canonical Name | o-mini-4 |
| Context Window | 200K tokens |
| Max Output | 100K tokens |
Capabilities
✓ Vision✓ Function Calling✗ Reasoning✓ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | $0.0011 | $1.10 |
| Output Tokens | $0.0044 | $4.40 |
| Cache Read (Input) | $0.000275 | $0.275 |
Price Comparison by Provider
Compare prices for o4 mini across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Replicate | replicate/openai/o4-mini | $1.00 | $4.00 |
| Vercel Ai Gateway | vercel_ai_gateway/openai/o4-mini | $1.10 | $4.40 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Apac.anthropic.claude 3 Haiku 20240307 V1 | AWS Bedrock | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | Anthropic | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | OpenRouter | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | Vercel Ai Gateway | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | Anthropic (Vertex AI) | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | Anthropic (Vertex AI) | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku 20240307 V1 | AWS Bedrock | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Databricks Meta Llama 3 1 8B Instruct | Databricks | Text | $0.150 | $0.450 | 200K | 128K | no | no |
| Glm 4.7 Flash | OpenRouter | Text | $0.070 | $0.400 | 200K | 32K | yes | yes |
| Us.anthropic.claude 3 Haiku 20240307 V1 | AWS Bedrock | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |