AI API Token Cost Calculator
Calculate API costs for OpenAI and Anthropic models per 1M tokens.
About this Calculator
Building with AI APIs requires careful cost modeling — token costs add up quickly at scale. This calculator uses current published pricing for OpenAI (GPT-4o, GPT-4o mini, o1, o3-mini) and Anthropic (Claude 3.5 Sonnet, Claude 3 Haiku, Claude 3 Opus) models, with separate input and output token rates. Enter your expected daily/monthly request volume and average tokens per request to get a monthly cost projection — essential for pricing your AI product.
AI APItoken costOpenAI pricingAnthropic pricingGPT costClaude cost
Related Calculators
Trending
YouTube Revenue Calculator
Estimate YouTube AdSense revenue from views and RPM.
Open
TikTok Earnings Estimator
Estimate TikTok Creator Fund and brand deal earnings from followers.
Open
Digital Product Pricing Calculator
Find the optimal price for your digital product based on market and value.
Open