Pricing comparison

OpenAI vs Anthropic Pricing Calculator

Compare estimated monthly cost, unit pricing, context windows, rate limits, and developer capabilities for OpenAI and Anthropic.

Cheapest eligibleCalculating
Balanced optionCalculating
CoverageCalculating
Provider / modelEstimated monthly costUnit priceContextRate limitSignal

Excluded by your requirements

Provider / modelStatusReason

Side-by-Side Pricing

ProviderModelCategoryPricingContextCapabilities
OpenAI GPT-4o mini llm $0.15 input / $0.6 output 128,000 streaming json mode tool calling batch api
OpenAI GPT-4o llm $2.5 input / $10 output 128,000 streaming json mode tool calling batch api
OpenAI text-embedding-3-small embedding $0.02 input / $0 output 8,191 batch api
OpenAI TTS-1 tts $15 / 1M chars Plan based Plan based
Anthropic Claude 3.5 Haiku llm $0.8 input / $4 output 200,000 streaming json mode tool calling batch api
Anthropic Claude 3.7 Sonnet llm $3 input / $15 output 200,000 streaming json mode tool calling batch api

Recommended Starting Points

Lowest listed unit cost

OpenAI text-embedding-3-small

$0.02 input and $0 output per 1M tokens.

Balanced comparison pick

OpenAI GPT-4o mini

$0.15 input and $0.6 output per 1M tokens.

Useful alternative

Anthropic Claude 3.5 Haiku

$0.8 input and $4 output per 1M tokens.

Pricing Details

ProviderModelCategoryPricingContextCapabilities
OpenAI GPT-4o mini llm $0.15 input / $0.6 output 128,000 streaming json mode tool calling batch api
OpenAI GPT-4o llm $2.5 input / $10 output 128,000 streaming json mode tool calling batch api
OpenAI text-embedding-3-small embedding $0.02 input / $0 output 8,191 batch api
OpenAI TTS-1 tts $15 / 1M chars Plan based Plan based
Anthropic Claude 3.5 Haiku llm $0.8 input / $4 output 200,000 streaming json mode tool calling batch api
Anthropic Claude 3.7 Sonnet llm $3 input / $15 output 200,000 streaming json mode tool calling batch api

Limits and Notes

Prices can change and rate limits are often account-tier specific. Use this calculator for planning, then confirm final numbers on the official provider pages before committing budget.

FAQ

How is monthly cost calculated?

For token APIs, monthly cost is input tokens times input price plus output tokens times output price. For TTS, it uses monthly characters. Vector database estimates depend more heavily on storage and read/write usage.

Why are some models excluded?

The calculator excludes models that do not satisfy required context window, requests per minute, streaming, JSON mode, or tool calling constraints.

Are these prices guaranteed?

No. The dataset is designed for comparison and should be checked against official pricing pages before production decisions.

Data Sources and Last Checked

Related Pages