GPT-5 token cost

OpenAI frontier model for hard coding, agents, and long-context production work. Use when quality matters more than the cheapest token rate, then check cache and batch in TokenCALC before you scale.

Privacy first counting

TokenCALC counts tokens in your browser when an Exact encoding is available. Prompt text does not need to leave your device for local counting.

Pricing snapshot

USD per 1 million tokens. Verify against the provider source before you lock budget.

RateUSD
Input / 1M$1.25
Output / 1M$10.00
Cached input / 1M$0.125
Batch input / 1M$0.625
Batch output / 1M$5.00

Model details

DetailValue
ProviderOpenAI
Context window400K
TokenizerExact (o200k_base)
Last verified2026-08-02
API model idgpt-5