Home / openai / OpenAI: GPT-4.1

OpenAI: GPT-4.1 API Pricing & Cost Calculator

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

CachingVision openai/gpt-4.1
Input / 1M
$2.00
Output / 1M
$8.00
Cache Read / 1M
$0.500
Blended 3:1 / 1M
$3.50
Agent Cached / 1M
$2.24
Context Window
1.0M

Monthly Workload Cost Calculator

Daily
$8.38
Monthly
$251.25
Cache Saved
$168.75
Annual
$3,056.88

Benchmarks & Capabilities

Intelligence Index—
Coding / Engineering— / —
Agentic Index—
Design Arena Avg ELO1012.7
Value Score—
Modalitytext+image+file->text
Max Output32.8K

5 Cheaper Alternatives to OpenAI: GPT-4.1

Alternative ModelBlended / 1MInput / 1MOutput / 1MIntelSide-by-Side
OpenAI: GPT-6.1 Terra (batch)
openai/gpt-6.1-terra:batch
$1.00 $0.500 $2.50 51 Compare →
Google: Gemini 4 Neon (batch)
google/gemini-4-neon:batch
$3.00 $1.50 $7.50 62 Compare →
Google: Gemini 4 Hydrogen (batch)
google/gemini-4-hydrogen:batch
$1.50 $0.750 $3.75 54 Compare →
OpenAI: GPT-6.2 Sol (batch)
openai/gpt-6.2-sol:batch
$2.00 $1.00 $5.00 57 Compare →
OpenAI: GPT-6.1 Sol (batch)
openai/gpt-6.1-sol:batch
$2.00 $1.00 $5.00 55 Compare →

Frequently Asked Questions

How much does OpenAI: GPT-4.1 API cost per 1M tokens?

OpenAI: GPT-4.1 (openai/gpt-4.1) costs $2.00 per 1M input tokens and $8.00 per 1M output tokens (3:1 blended price: $3.50 per 1M tokens).

Does OpenAI: GPT-4.1 support prompt caching and how much does it save?

Yes. Cached input reads cost $0.500 per 1M tokens, bringing realistic 80%-cached agent loop cost down to $2.24 per 1M tokens.

What is the context window and maximum output of OpenAI: GPT-4.1?

OpenAI: GPT-4.1 supports a 1.0M token context window (1,047,576 tokens) and up to 32.8K output tokens per completion.

Fetch Live JSON via API

curl -s "https://llm.lhblabs.com/api/v1/models/openai-gpt-4-1"
Recommended Stack: DigitalOcean

Predictable Droplets, managed databases, and GPU nodes for production AI workloads.

Try DigitalOcean →
Self-Serve Placement Building an LLM API, GPU Cloud, or AI Dev Tool?
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.
Book Sponsor Slot →