OpenAIExact tokenizer

GPT-4.1 API price

OpenAI charges $2 per 1M input tokens and $8 per 1M output tokens. Context window 1,047,576 tokens. A 10k-in / 2k-out request is about $0.0360.

Input$2 / 1M
Output$8 / 1M
Blended$3.50 / 1M
Context1,047,576
10k + 2k$0.0360
100k + 8k$0.2640

Who uses GPT-4.1

Catalog prompts in the same model family, plus coding agents from this provider.

More from OpenAI