OpenAI · frontier

GPT-4.1 cost calculator

A 1M-context model tuned for long-document and agentic coding work. Strong instruction following on very large inputs.

Pro Precise per-model tokenizer, custom models, CSV/JSON export & API — upgrade.

—

Estimated input tokens0
Expected output tokens0
Context window—
0% of context used
Input cost$0.00
Output cost$0.00
Total cost / request$0.00
Est. monthly (×1000)$0.00

Context window

1,000,000 tokens (in + out)

Input price

$2.00 / 1M tokens

Output price

$8.00 / 1M tokens

View GPT-4.1 pricing →

Compare GPT-4.1

Use the calculator above to add other models to the comparison table and see cost and context usage side by side.

Back to all models →