OpenAIExact tokenizer

GPT-4.1

Planning rates for the OpenAI API. Blended price $3.50 per 1M tokens at a 3:1 input-to-output mix.

Price

$3.50

blended per 1M tokens

Input$2 / 1M
Output$8 / 1M
10k in + 2k out$0.0360
100k in + 8k out$0.2640

Context

1,047,576

token context window

Family gpt. GPT-family counts use the browser tokenizer.

More from OpenAI