Skip to main content
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer

Openai API Cost Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser โ€” no data is sent to any server.

Formula: Cost = (Input Tokens / 1,000,000) x Input Price + (Output Tokens / 1,000,000) x Output Price

Your Result

Worked example โ€” Monthly API cost: $75.00 | Cost per request: ~$0.005 (half a cent)

Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy