GPT-4.1 token cost

Strong all-round OpenAI model with a very large context window. Prefer for long documents, tool-heavy apps, and workloads that benefit from prompt caching.

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$2.00
Output / 1M$8.00
Cached input / 1M$0.500
Batch input / 1M$1.00
Batch output / 1M$4.00

Model details

DetailValue
ProviderOpenAI
Context window1M
TokenizerExact (o200k_base)
Last verified2026-08-02
API model idgpt-4.1