Models›OpenAI›GPT-4.1

GPT-4.1

by OpenAI · released Apr 10, 2025 · 3 providers
Model IDopenai/gpt-4.1-2025-04-14
VisionTool callingStructured outputs1.05M context

Non-reasoning workhorse with 1M-token context

PLAYGROUND & AGENT API

Use this model in the playground

Create an agent with this model, try it in the playground, and call your saved agent through the API.

Input tokens$2.1per 1 million tokens
Output tokens$8.4per 1 million tokens

Playground catalog rates, including your 5% Free-plan fee. Included usage applies first, then prepaid credits. Cached tokens and tools can have separate charges. Direct chat-completions routing is not currently listed for this exact model; use its saved agent ID with the Agents API.

Context
1.05M
tokens
Max output
33k
tokens per reply
Input
$2
provider baseline / 1M; fee applies
Output
$8
provider baseline / 1M; fee applies

Choose how to use GPT-4.1

Playground

Try prompts in your browser, create an agent, and see the cost of each reply. Your selected model carries into setup.

Model capabilities below describe the underlying model. Available playground features depend on its provider.

API

Connect your app with a Gizmo API key. Choose fastest or cheapest, stream text responses, and inspect timing, tokens, and charges in request logs.

Direct chat-completions routing is not listed for this exact model. Create a saved agent with this model and call it using the Agents API.

Provider price + a transparent platform fee

RateProvider baselineFree plan · 5% feePaid plan · 4% fee
Input / 1M tokens$2$2.1$2.08
Output / 1M tokens$8$8.4$8.32

Legacy chat image rates use the catalog baseline. The dedicated image playground shows separate estimates and settles the provider’s metered usage. API rates are current routing ceilings; final API charges use provider-reported cost plus your fee. Cheapest routing compares eligible OpenRouter and Cheaper Inference rates for the same model; savings are not guaranteed. Cached input or other provider charges may differ. Compare all model rates and verified discounts →

How your plan pays for usage

API and playground share one included allowance. Usage including the fee draws from that allowance first, then your prepaid credits. Plans bill monthly; included usage resets weekly: Free $1, Starter $5, Growth $25, Scale $50.

A $1 provider charge becomes $1.05 on Free or $1.04 on a paid plan before included usage is applied. Plan eligibility still applies in the playground.

Free models and limits

Zero-cost models stay $0, including the fee, and do not consume your dollar allowance. Free accounts can make 1,000 free-model API requests per calendar month, resetting in UTC. Admitted requests count even if the provider fails.

Free includes 20 API requests/minute and 6 playground messages/minute. Paid plans raise these limits. See plan limits.

Before a text API request, Gizmo temporarily reserves included usage and, if necessary, prepaid credit for the model’s full context plus your maximum output. Image jobs reserve twice their displayed estimate. Unused funds return after metering. This hold can exceed the final charge; unconfirmed usage remains marked pending.

Overview

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 GPT-4.5 across coding (54.6% SWE-bench Verified), instruction compliance (87.4% IFEval), and multimodal understanding benchmarks. It is tuned for precise code diffs, agent reliability, and high recall in large document contexts, making it ideal for agents, IDE tooling, and enterprise knowledge retrieval.

Strengths

  • Long context
  • Fast, predictable output

Best for

Long documentsFast drafting

Benchmarks

Design Arena head-to-head, human-voted

CategoryEloWin rateRank
Data viz111959.5%#84
Game dev110459.1%#86
UI components101949.7%#101
Code104250.9%#104
Websites105252.3%#105
3D scenes87930.9%#112

Capabilities

Input
✍️ Text🖼️ Images
Output
✍️ Text
✓ Tool calling✓ Structured outputs✓ JSON mode✓ Seeded sampling

Sampling controls: temperature, top_p, max_tokens.

Requests pass through the provider’s content moderation.

Pricing on Gizmo

These are provider baseline rates before Gizmo’s 5% Free-plan or 4% paid-plan fee. Your included usage covers charges first; overage uses prepaid credits. See the fee-inclusive comparison above.

Provider baseline rates

Input
$2 / 1M
Cached input
$0.5 / 1M
Output
$8 / 1M
Web search
$0.01 / call

Examples before the platform fee

Typical chat turn
$0.008 2k in · 500 out
$1 of input
≈ 500k tokens
$1 of output
≈ 125k tokens
Full context, once
$2.10
Paid plans. This model is above the free tier’s price ceiling. Starter ($20/mo) covers $5 of usage weekly, Growth $25, Scale $50; every paid plan includes $25 in bonus credits.

Providers and pricing

One way to run GPT-4.1 on Gizmo.

ProviderRouteInput / 1MOutput / 1MContextUptime 24h
OpenAILowest priceDirect$2.00$8.001.05M99.6%

Rates are each provider’s, per million tokens, before Gizmo’s 5% (Free) or 4% (paid) fee. “Cheapest” routing starts at the top of this list; “Fastest” starts with the model’s maker.

Run GPT-4.1 in under a minute

1

Create your account

Sign up with just an email. Start on the free tier with no card, or pick a paid plan for a bigger weekly allowance and $25 in bonus credits.

2

Your agent is ready

GPT-4.1 is preselected as the brain of your first agent. Give it a name and a system prompt, or keep the defaults.

3

Chat, research, create

Live web research and image generation are built in. Every reply shows what it cost, and you can switch models anytime.

Sources. OpenRouter · Design Arena · OpenAI documentation. Verified Sep 9, 2026. Baseline prices are the provider’s list prices at sync time. Gizmo adds a 5% fee on Free or 4% on paid plans; included usage is applied before overage credits.