← All models
OpenAICurrent

GPT-4.1

Instruction-following and agentic coding workflows

Context Window

1048K tokens

≈ 786K words

Input Price

$2

per 1M tokens

Output Price

$8

per 1M tokens

Released

April 2025

Capabilities

Vision / Image inputTool / Function calling

Best for

Instruction-following and agentic coding workflows

Strengths

  • Long context
  • Instruction following
  • Coding
  • Agentic tasks

API identifier

gpt-4.1

Compare GPT-4.1 side-by-side with any other model

Compare models →