How Many Tokens?

← All models

GPT-4.1: token counter & pricing

OpenAI · exact (uses official tokenizer) · pricing as of 2026-04-27.

Provider
OpenAI
API model ID
gpt-4.1
Context window
1,000,000 tokens
Input price
$2.00 per 1M tokens
Output price
$8.00 per 1M tokens
Tokenizer accuracy
exact (uses official tokenizer)
Pricing as of
2026-04-27

Open the counter to count tokens for GPT-4.1 in real time.

Detailed write-up for GPT-4.1 is coming soon. In the meantime, the live counter at the top of this page works for all supported models.

Compare GPT-4.1 to other models