Skip to main content

OpenAI API pricing

OpenAI GPT API: pricing and cost estimation

A practical guide to estimating GPT API spend across input, output, cached tokens and tool calls.

Start with a transparent estimate

Estimate input and expected output tokens in the PromptCost calculator. Then confirm the exact model, token direction, cache policy, batch discount and tool charges with the provider.

What to include in the budget

Best fit

Teams that need a transparent starting point for GPT API budgeting and model selection.

Primary sources