OpenAI: GPT-4.1 Mini

OpenAIID: openai/gpt-4.1-mini

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints.

Pricing per 1M Tokens

Input (Prompt)$0.40
Output (Completion)$1.60
Cache Read$0.10
Cache WriteFree
ImageN/A

Specifications

Context Length1.0M
Max Output Tokens33K
Input ModalitiesImage + Text + File
Output ModalitiesText
TokenizerGPT
Instruct TypeN/A
Top Provider Context1.0M
Top Provider Max Output33K
ModeratedYes

Compare this model

See how OpenAI: GPT-4.1 Mini stacks up against other models.

More from OpenAI

Last updated: March 23, 2026

First tracked: March 23, 2026