Home/Models/OpenAI/GPT-4.1

Model detail

GPT-4.1, explained.

Long-context coding and instruction-following model.

OpenAI · context 1MActive
ReasoningBasic
SpeedMedium
InputText, Image
OutputText
Context · input · output · windowctx 1,000,000 tokens

Standalone access

Per 1M tokens · official provider pricing

ProviderInputOutputCache read
OpenAI$2.3$9.2$0.57

Official provider list price — AnyModel routes to whichever channel is healthiest, at no markup. Snapshot effective Jul 1, 2026.

13% off

AnyModel access

Per 1M tokens · public AnyModel price

Input$2−13% vs $2.3
Cached$0.5−12% vs $0.57
Output$8−13% vs $9.2
Effective≈ 13% below official · same routes, one key · Jul 1, 2026
  • One API key across every channel
  • Automatic health-based failover
  • Single invoice · versioned price snapshot
Get this price →

AnyModel price is the public price; internal channel cost is never exposed.

News

What’s happening with this model

All news
Article

GPT-5.4 arrives on AnyModel

Read the coverage on the AnyModel blog.

Read
Article

Reasoning shootout: o4 vs Claude Opus 4.5 vs DeepSeek R2

Read the coverage on the AnyModel blog.

Read
Article

Token billing explained: input / output / cached

Read the coverage on the AnyModel blog.

Read
Article

Cut costs by 70% with cached tokens

Read the coverage on the AnyModel blog.

Read

Capability

Input typesText, Image
Output typesText
Tool usefunction calling
Structured outputJSON mode
Thinkingnot on this model
Web searchnot on this model

Analysis

UA distribution

Share of requests by client type.

Token curve

↑ Trending up by 5.2% this month.

Uptime

14-day uptime holds above the SLA line.

First-token latency

p95 time-to-first-token across routes.

Analysis · data
WindowAvg latencySuccessRequestsTokens
24h364ms98.61%489,24722,888,639
7d365ms98.90%2,055,564226,079,449
14d357ms99.04%3,860,177470,251,610

Use case

Same prompt, this model’s answer

Every model answers the same question — see exactly how GPT-4.1 responds before you commit a token.

Text input

Summarize the key risks of provider lock-in for an AI gateway, in three bullets.

Output

• Price changes pass through with zero negotiation leverage.
• Migration touches every call site, SDK, and retry policy.
• A single provider outage takes your whole product down.

1,284 tok0.4s · ttft 540ms$0.0043
Image + text input

Read the highlighted bar and explain the trend in one line.

Output

The highlighted bar (Fri) is the week’s peak at 1,420 requests — a 5.2% rise continuing the upward trend since Monday.

1,902 tok0.6s · ttft 648ms$0.0062

Availability

Status
Active
Uptime 24h
99.87%
Uptime 7d
99.67%
Latency p95
648ms
Jul 10, 2026ResolvedScheduled maintenance window — routing continued on alternate channels.

Full uptime

Call it

openai-compatible · v1
# base url
https://api.anymodel.com/v1

# model id
openai/gpt-4.1

# openai-compatible requestcurl https://api.anymodel.com/v1/chat/completions \
  -H "Authorization: Bearer $ANYMODEL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1",
    "messages": [{"role":"user","content":"Hello"}]
  }'

Recommended fallback → openai/gpt-5.4 · openai/gpt-5 · anthropic/claude-opus-4-5  ·  auto-routed on health or quota.

Start in minutes

Find it. Route it. Ship it.

Generate an API key, pick a model (or let the router choose), and send your first request. No per-provider SDKs, no migration.