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.
Who uses GPT-4.1
Catalog prompts in the same model family, plus coding agents from this provider.