GPT-4.1 API Pricing

OpenAI · 1M context window · Best for coding, instruction following, long context

Last updated April 25, 2026 · Data refreshed every 6 hours
Input
$2.00
Output
$8.00
Context
1M
Vendor
OpenAI

All prices in USD per million tokens. Live as of April 25, 2026.

Cost Examples

Workload Tokens Cost
1M chat messages (~500 tok in / 500 tok out) 1000M $5000.00
Process 10K PDFs (~2K tok each, output 200 tok) 22M $56.00
Generate 100K tweets (~280 tok out, 50 tok prompt) 33M $234.00
1 chatbot conversation per user × 10K users (~5K tok each) 50M $250.00
Summarize 1K technical articles (~5K in / 500 out) 6M $14.00
Related Tools & Pages