AI CreditsAI Credits

API Credits

OpenAI API Cost Calculator

Estimate OpenAI API costs by model and token count — compare GPT-4o, GPT-4o mini, and o-series pricing.

By AI Credits Editorial · Content updated 2026-08-28

Calculate your API cost

Enter token counts and pick a model to estimate request cost.

Estimated cost

$0.045

OpenAI GPT-4o mini at list price

Find free credits for this provider

Cheapest options for this workload

Same token counts ranked by estimated list price.

ModelInput / 1MOutput / 1MEst. total
GPT-4o miniCheapest
OpenAI
$0.150/1M$0.600/1M$0.045Free credits
Gemini 2.5 Flash
Google
$0.150/1M$0.600/1M$0.045Free credits
Claude Haiku
Anthropic
$0.250/1M$1.25/1M$0.087Free credits
Gemini 2.5 Pro
Google
$1.25/1M$10.00/1M$0.625Free credits
GPT-4o
OpenAI
$2.50/1M$10.00/1M$0.750Free credits
Claude Sonnet
Anthropic
$3.00/1M$15.00/1M$1.05Free credits

Prices are approximate public list rates. Verify on each provider's pricing page before budgeting.

FAQ

Frequently asked questions

Quick answers about credits, eligibility, and how we verify offers.