Textby 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...

  • By price it is in the cheaper half of the 345 text models GenMagic runs (164th cheapest).
  • Among the models GenMagic runs, it places in the top 10 on 1 of its 37 benchmarks: 5th of 23 on IFEval.
  • It was listed on Apr 14, 2025.

Data last changed Nov 13, 2026 · tracked since Oct 29, 2026 · Every model change

Try GPT-4.1 Mini

Generate with GPT-4.1 Mini right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

1M tokens

Max output

33K tokens

Knowledge cutoff

2024-06-30

Input price

$0.60 / 1M tokens

Output price

$2.40 / 1M tokens

Cached input

$0.15 / 1M tokens

Benchmarks

How GPT-4.1 Mini scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

20.2

source date 2026-11-11
Source: openrouter

32.4%

source date 2025-04-14
Source: epoch
AIMEMathematics

44.7%± 6.1

source date 2025-04-14
Source: epoch
ARC-AGI-1Reasoning & Knowledge

3.5%

Source: epoch
ARC-AGI-2Reasoning & Knowledge

0%

Source: epoch
Chess PuzzlesReasoning & Knowledge

1%± 1.0

source date 2026-10-13
Source: epoch
Design Arena: 3DDesign & Generation

820 Elo

Source: designarena
Design Arena: CodeDesign & Generation

984 Elo

Source: designarena
DTBenchReasoning & Knowledge

68.8%

Source: epoch
FrontierMathMathematics

4.5%± 1.2

source date 2025-04-14
Source: epoch

6.7%± 1.5

source date 2026-08-27
Source: epoch
GPQA DiamondReasoning & Knowledge

65.2%± 1.3

source date 2026-10-01
Source: openrouter
GPQA MainReasoning & Knowledge

61.4%

source date 2026-06-10
Source: helm
IFEvalInstruction & Preference

90.4%

source date 2026-06-10
Source: helm
LMArena (Coding)Instruction & Preference

1367 Elo

source date 2026-11-11
Source: lmarena
LMArena: Creative WritingInstruction & Preference

1299 Elo

source date 2026-11-11
Source: lmarena
LMArena: Hard PromptsInstruction & Preference

1349 Elo

source date 2026-11-11
Source: lmarena

1344 Elo

source date 2026-11-11
Source: lmarena
LMArena: MathMathematics

1347 Elo

source date 2026-11-11
Source: lmarena
LMArena: Multi-TurnInstruction & Preference

1354 Elo

source date 2026-11-11
Source: lmarena
LMArena (Overall)Instruction & Preference

1341 Elo

source date 2026-11-11
Source: lmarena
LMCAReasoning & Knowledge

21.1

Source: epoch
MATH (Level 5)Mathematics

87.3%± 0.7

source date 2025-04-14
Source: epoch
MMLU-ProReasoning & Knowledge

78.3%

source date 2026-06-10
Source: helm
Mystery Game PuzzlesReasoning & Knowledge

7%± 2.6

source date 2026-08-27
Source: epoch
Omni-MATHMathematics

49.1%

source date 2026-06-10
Source: helm
SimpleQA VerifiedReasoning & Knowledge

12.7%± 1.1

source date 2026-08-31
Source: epoch
tau-bench (Airline)Agentic & Tool Use

44.3%± 1.0

source date 2026-10-01
Source: openrouter
WeirdMLCoding

37.6%± 0.0

Source: epoch
WildBenchInstruction & Preference

8.5

source date 2026-06-10
Source: helm

Compare against every model in the full benchmark matrix.

Capabilities

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use GPT-4.1 Mini through the API

The model id is openai/gpt-4.1-mini. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1-mini",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="openai/gpt-4.1-mini",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "openai/gpt-4.1-mini" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use GPT-4.1 Mini in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick OpenAI: GPT-4.1 Mini, or enter openai/gpt-4.1-mini as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
OpenAI: GPT-4.1 Mini (this model)OpenAI$0.60 in / $2.40 out per 1M tokens1M
Mistral: Mistral Large 3 2512Mistral AI$0.75 in / $2.25 out per 1M tokens262K
Morph: Morph V3 FastMorph$1.20 in / $1.80 out per 1M tokens262K
Perplexity: SonarPerplexity$1.50 in / $1.50 out per 1M tokens127K
Qwen: Qwen3.8 27BQwen$0.23 in / $2.81 out per 1M tokens1M
Relace: Relace Apply 3Relace$1.27 in / $1.88 out per 1M tokens256K

More from OpenAI

All 70 OpenAI models

Price and listing history

Every change GenMagic has recorded for GPT-4.1 Mini since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$0.44 in / $1.76 out per 1M tokens$0.60 in / $2.40 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as OpenAI publishes them, checked daily.
  • Benchmarks: 37 scores from Artificial Analysis and OpenRouter, Epoch AI, Design Arena, Stanford HELM, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 13, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with GPT-4.1 Mini today

One GenMagic plan unlocks GPT-4.1 Mini and every other model across text, image, audio, and video.