GPT-4.1
Pricing & Specs

OpenAI · $2 input / $8 output per 1M tokens · 1.04758M context window

No longer offered on OpenMark

$2
per 1M input tokens
$8
per 1M output tokens
1.04758M
context window (tokens)

GPT-4.1 is no longer offered on OpenMark (deprecated or superseded upstream). Its specs are kept here for reference. If you're still running it in production, it's worth benchmarking current alternatives: newer models are often cheaper AND better on the same task.

GPT-4.1 API Pricing

TokensPrice
Input$2 / 1M tokens
Output$8 / 1M tokens
Cached input$0.5 / 1M tokens

Cached input tokens are billed when caching is enabled. Batch API pricing is available for this model at 50%.

What that means in practice

1x One typical task (1K input + 500 output tokens): $0.0060
1K 1,000 runs of that task: $6.00
💡 Real cost depends on how verbose the model is on YOUR prompts. Benchmark to measure actual tokens, not estimates.

GPT-4.1 Specs

SpecValue
Context window1.04758M tokens
Input modalitiestext, image
Output modalitiestext
Latency (measured by OpenMark)~739ms median response
Reasoning modelNo
Tool / function callingYes
JSON modeYes
StreamingYes
Prompt cachingYes
Batch APIYes

Capabilities

text generation vision function calling structured outputs streaming

Notes

Deprecated by OpenAI.

FAQ

How much does GPT-4.1 cost?

GPT-4.1 costs $2 per 1M input tokens and $8 per 1M output tokens ($0.5 per 1M cached input tokens).

What is GPT-4.1's context window?

GPT-4.1 has a 1.04758M-token context window.

Can I test GPT-4.1 on my own task?

GPT-4.1 is no longer offered on OpenMark, but you can benchmark its current alternatives from OpenAI and other providers on your own task, free tier available.

Still using GPT-4.1?

It's been superseded. Benchmark its current alternatives on your actual
workload. You'll likely find something cheaper AND better. Free tier available.

Test Current Alternatives Free →

Get the monthly model change report

New models, API price changes, and retirements, straight from the registry that powers OpenMark. One email a month.