GPT-4.1
vendorOpenAI · gpt-4.1 · prices updated June 14, 2026
Input · 1M tokens
$2
Cached input · 1M
$0.5−75%
Output · 1M tokens
$8
Price history
inputoutput
Specifications
Context window1,000,000
Knowledge cutoffJun 2024
Tokenizertiktoken (o200k_base)
Batch API−50% off the price
Tools
Web SearchCode InterpreterFile SearchImage GenerationMCP
Exact token counts: local tiktoken tokenizer (o200k_base). Tool calls are billed by the provider separately.
About the model
Long-context model (1M), stable pre-GPT-5 line