TheToolRadar
Price updated Mar 19, 2026: input price per 1m changed from $0.8000 to $2.00/1M tokens (+150%)

GPT-4.1 API Cost Calculator

Estimate your monthly API costs for GPT-4.1 from Openai.

Pricing per 1M tokens

Input
$2.00
Output
$8.00
1.0M context32.8K max outputVisionFunction callingStreaming

Pricing last verified: Mar 21, 2026

30-Day Price History

Solid line: input price  ·  Dashed line: output price

Estimate Your Costs

What are you building?

Cost Breakdown

Input cost/request$0.001000
Output cost/request$0.002400
Cost per request$0.003400
Daily cost (1,000 requests)$3.40
Monthly estimate$102.00
Annual estimate$1,224.00

Compare with Similar Models

ModelInput/1MOutput/1M
o3
Openai
$2.00$8.00
o4 Mini Deep Research
Openai
$2.00$8.00
GPT-5
Openai
$1.25$10.00
GPT-5 Chat
Openai
$1.25$10.00
GPT-5 Codex
Openai
$1.25$10.00

Frequently Asked Questions

How much does GPT-4.1 cost per token?

GPT-4.1 is priced at $2.00 per 1M input tokens and $8.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.

What is the context window for GPT-4.1?

GPT-4.1 has a context window of 1.0M tokens (1,047,576 tokens). The maximum output length is 32.8K tokens.

Does GPT-4.1 support image inputs (vision)?

Yes, GPT-4.1 supports vision/image inputs. You can send images as part of your prompts.

Does GPT-4.1 support function calling (tool use)?

Yes, GPT-4.1 supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.

How does GPT-4.1 compare to similar models?

GPT-4.1 costs $2.00 input and $8.00 output per 1M tokens. GPT-4.1 is competitively priced compared to o4 Mini Deep Research ($2.00 input / $8.00 output per 1M tokens). See the "Compare with Similar Models" table above, or visit the o4 Mini Deep Research page at /tools/cost-calculator/openai/o4-mini-deep-research.