Textby OpenAI

GPT-4.1

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

  • By price it is in the pricier half of the 343 text models GenMagic runs (268th cheapest).
  • Among the models GenMagic runs, it places in the top 10 on 4 of its 39 benchmarks: 5th of 11 on GeoBench: A Common World Country, 7th of 23 on MMLU-Pro, 7th of 23 on WildBench, and more below.
  • It was listed on Apr 14, 2025.

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

Try GPT-4.1

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

Try

Specifications

Context window

1M tokens

Max output

33K tokens

Knowledge cutoff

2024-06-30

Input price

$3.00 / 1M tokens

Output price

$12.00 / 1M tokens

Cached input

$0.75 / 1M tokens

Benchmarks

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

52.4%

source date 2025-04-14
Source: epoch
AIMEMathematics

38.3%± 6.3

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

5.5%

Source: epoch
ARC-AGI-2Reasoning & Knowledge

0.4%

Source: epoch
Chess PuzzlesReasoning & Knowledge

11%± 3.1

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

841 Elo

Source: designarena
Design Arena: CodeDesign & Generation

1022 Elo

Source: designarena
DTBenchReasoning & Knowledge

68.3%

Source: epoch
FrontierMathMathematics

5.5%± 1.3

source date 2025-04-14
Source: epoch

0%± 0.0

source date 2025-07-01
Source: epoch

6%± 1.4

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

63.7%± 0.4

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

65.9%

source date 2026-06-10
Source: helm
Humanity's Last ExamReasoning & Knowledge

5.4%± 0.9

Source: epoch
IFEvalInstruction & Preference

83.8%

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

1391 Elo

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

1364 Elo

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

1384 Elo

source date 2026-11-09
Source: lmarena

1385 Elo

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

1360 Elo

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

1398 Elo

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

1383 Elo

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

25.6

Source: epoch
MATH (Level 5)Mathematics

83%± 0.8

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

81.1%

source date 2026-06-10
Source: helm
Omni-MATHMathematics

47.1%

source date 2026-06-10
Source: helm
SimpleBenchReasoning & Knowledge

27%

Source: epoch
SimpleQA VerifiedReasoning & Knowledge

31.1%± 1.5

source date 2026-08-31
Source: epoch

48.5%± 2.3

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

47.7%± 1.7

source date 2026-10-01
Source: openrouter
WeirdMLCoding

39%± 0.0

Source: epoch
WildBenchInstruction & Preference

8.7

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 through the API

The model id is openai/gpt-4.1. 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",
    "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",
    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" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use GPT-4.1 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, or enter openai/gpt-4.1 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 (this model)OpenAI$3.00 in / $12.00 out per 1M tokens1M
Pareto 26.9Unbiased$3.75 in / $11.25 out per 1M tokens262K
Perplexity: Sonar Reasoning ProPerplexity$3.00 in / $12.00 out per 1M tokens128K
Google: Gemini 3.5 FlashGoogle$2.25 in / $13.50 out per 1M tokens1M
MoonshotAI: Kimi LatestMoonshot AI$0.27 in / $14.01 out per 1M tokens1M
AionLabs: Aion 3.5AionLabs$4.50 in / $9.00 out per 1M tokens262K

More from OpenAI

All 70 OpenAI models

Price and listing history

Every change GenMagic has recorded for GPT-4.1 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%$2.20 in / $8.80 out per 1M tokens$3.00 in / $12.00 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: 39 scores from Epoch AI, Design Arena, Artificial Analysis and OpenRouter, Stanford HELM, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 10, 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 today

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