GPT-4.1 Mini
Chatopenai/gpt-4.1-miniGPT-4.1 Mini is the mid-sized variant of OpenAI's GPT-4.1, released on 2025-04-14, delivering GPT-4o-level performance at lower latency and cost. It supports structured outputs, vision understanding, tool use, and prompt caching, and keeps the full 1M-token context window of the larger model. Context window: 1M tokens, output: 32K. Input is priced at $0.40/M tokens and output at $1.60/M, which makes it a budget option for high-volume long-context processing, although later generations now lead on coding and reasoning. Accessible via the OpenAI-compatible protocol.
Providers
/v1/chat/completions/v1/responsesCode Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.run/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="openai/gpt-4.1-mini",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Benchmarks
GPT-4.1 Mini scores 1383 in the Overall category of the LMArena text leaderboard (style control), ranking #149 of 374 models based on 39,305 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1383 | 1379–1387 | #149 of 374 | 39,305 |
| Hard Prompts | 1402 | 1397–1408 | #147 of 374 | 16,236 |
| Coding | 1433 | 1426–1441 | #141 of 369 | 6,915 |
| Math | 1354 | 1343–1365 | #174 of 362 | 2,689 |
| Creative Writing | 1349 | 1341–1358 | #143 of 372 | 5,154 |
| Instruction Following | 1373 | 1366–1379 | #147 of 374 | 10,059 |
| Chinese | 1384 | 1370–1397 | #165 of 344 | 2,046 |
Source: LMArena · CC BY 4.0 · Updated 2026-07-12 · Methodology ↗ · Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.