OpenAI API cost calculator: estimate your GPT spend before it estimates you
This OpenAI API cost calculator (also an AI inference calculator for o3/o4-mini thinking tokens) estimates your monthly OpenAI API pricing bill from three inputs: model, request volume, and average tokens per request. Toggle between standard, batch, and cached pricing and get your number in seconds. It also shows what the same workload costs on Claude and Gemini. For the full per-model rate card, see CloudZero's OpenAI API pricing guide.