---
id: "openai/gpt-4.1-mini"
also: ["openai/gpt-4.1-mini-2025-04-14", "requesty/openai/gpt-4.1-mini", "vercel/openai/gpt-4.1-mini"]
card_usd_per_m: "0.4 in, 1.6 out, at openai"
cheapest_list_usd_per_m: "0.4 in, 1.6 out, at azure on openrouter"
cheapest_effective_usd_per_m: "0.2392 in, 1.597 out, at azure on openrouter"
context: 1047576
max_output: 32768
input: ["image", "text", "file"]
output: ["text"]
released: "2025-04-14"
api: ["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/messages", "/api/v1/responses"]
params: ["max_completion_tokens", "max_tokens", "response_format", "seed", "stop", "structured_outputs", "temperature", "tool_choice", "tools", "top_p"]
endpoints: 11
gateways: "requesty (6), openrouter (3), vercel (2)"
no_training: 11
trains: 0
retains_prompts: 3
coding: 20.2000
---
# 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.