Try Bifrost Enterprise free for 14 days.
Request access

o4-mini Cost Calculator - Vercel Ai Gateway

Calculate the cost of using o4-mini from Vercel Ai Gateway for your AI applications

Pricing data last updated:

o4-mini Cost Calculator

Mode: Chat

Max: 200,000 tokens

Max: 100,000 tokens

Cost Breakdown

Input Cost$0.001100
Output Cost$0.004400
Total Cost$0.005500

Pricing Details

Input: $0.00000110 per token
Output: $0.00000440 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

Function Calling
Vision

Limits

Max Input Tokens200,000
Max Output Tokens100,000
Max Tokens100,000

About o4-mini

o4-mini is a chat model from Vercel Ai Gateway, one of 95 chat models they offer. It is priced at $1.10 per 1M input tokens and $4.40 per 1M output tokens, ranking 1484 out of 2172 chat models by cost and cheaper than 32% of models in this category. o4-mini supports vision, function calling, structured output. Its 200K-token context window is in the top 38% among chat models.

Pricing Information

Input Cost$1.10 per 1M tokens
Output Cost$4.40 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens200,000
Maximum Output Tokens100,000
Maximum Total Tokens100,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 200,000 input tokens. The maximum output length is 100,000 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Vision - Process and understand images
Response Schema - Structured output formatting

How o4-mini Pricing Compares

At $1.10 per 1M input tokens and $4.40 per 1M output tokens, o4-mini ranks 1484 out of 2172 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 32% of models in this category.

o4-mini is one of 95 Vercel Ai Gateway chat models, with support for vision, function calling, structured output. its 200K-token context window places it in the top 38% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs o4-mini
anthropic.claude-haiku-4-5-20251001-v1:0AWS Bedrock$1.00$5.00-9%
anthropic.claude-haiku-4-5@20251001AWS Bedrock$1.00$5.00-9%
apac.anthropic.claude-haiku-4-5-20251001-v1:0AWS Bedrock$1.10$5.500%

Alternatives to o4-mini

Similar chat models from other providers

Frequently Asked Questions

Is o4-mini cheaper than anthropic.claude-haiku-4-5-20251001-v1:0?

No. o4-mini costs $1.10 per 1M input tokens while anthropic.claude-haiku-4-5-20251001-v1:0 costs $1.00 per 1M input tokens, making anthropic.claude-haiku-4-5-20251001-v1:0 9% more affordable for input. However, o4-mini may offer different capabilities or performance characteristics that justify the price difference.

How does o4-mini pricing compare to the average chat model?

o4-mini input pricing is $1.10 per 1M tokens, which is 100% above the median of $0.55 for chat models. It ranks 1484 out of 2172 chat models by input cost, making it cheaper than 32% of models in this category. For output, it costs $4.40 per 1M tokens compared to the median of $1.48.

What makes o4-mini different from other Vercel Ai Gateway models?

Among Vercel Ai Gateway's 95 chat models, o4-mini ranks 59 by input cost.

What are the best alternatives to o4-mini?

The most comparable chat models to o4-mini are: anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.00/1M input tokens); anthropic.claude-haiku-4-5@20251001 from AWS Bedrock ($1.00/1M input tokens); apac.anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.10/1M input tokens); claude-haiku-4-5 from Azure ($1.00/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

How do I calculate o4-mini costs?

o4-mini is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $1.10 and generating 1M output tokens costs $4.40.