Skip to content
codingcompare

GPT-4.1

OpenAI · Long-lived GPT workhorse for coding, instruction following, and production apps

Key facts

Provider
OpenAI
Context window
1.0M tokens
Max output
32.8K tokens
Input price
$2 / M tok
Output price
$8 / M tok
Knowledge cutoff
Apr 2024
Released
Apr 14, 2025
License

Capabilities

ReasoningTool callingStructured outputFile attachmentsTemperature controlOpen weights

Pricing

USD per million tokens, list API rates.

Input
$2
Output
$8
Cache read
$0.5
Cache write

Modalities

Input
Text, Image, Pdf
Output
Text

Links