GPT-4.1

JSON →
openai llm
textimage

Latest GPT-4 generation model with improved reasoning, coding, and instruction following, supporting a 1M token context window.

context window 1.0M tokens
max output 33K tokens
input price $2 / 1M tokens
output price $8 / 1M tokens
tool-usejson-modevisionprompt-cachingstreamingreasoningcode-generationfunction-calling
releasedApr 2025
knowledge cutoffMar 2025
full doc /v1/models/gpt-4.1