gpt-4.1ChatExamples verified 2026-09-25GPT 4.1
Native Codex and OpenAI SDK models, available on both Responses and Chat Completions.
- Official price
- $2 / $8/ 1M tokensInput / output
- Context window
- 1M tokens1,047,576
Pricing
Official price in USD. Actual charge = official price × group multiplier.
- Input
- $2 / 1M tokens
- Cached input
- $0.50 / 1M tokens
- Output
- $8 / 1M tokens
- Context over 272K
- input ×1 · output ×1