GPT-4.1
Pricing & Specs

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

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

The per-token price never tells the full story. A typical task (1K input + 500 output tokens) on GPT-4.1 costs about $0.0060 — roughly $6.00 per 1,000 runs. But if it needs 3x the tokens of a cheaper model to match quality on YOUR task, the economics flip. The only way to know is to benchmark it on your actual workload.

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

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?

Yes. OpenMark lets you benchmark GPT-4.1 against 100+ models on your own task with real API calls — no API keys needed, free tier available.

Is GPT-4.1 the right model for YOUR task?

Pricing tables can't answer that. Benchmark it against 100+ models
on your actual workload — real API calls, real costs. Free tier available.

Benchmark GPT-4.1 — Free →