🔥 Limited time: Pro lifetime access $29 — price goes up July 12 →

OpenAI GPT-oss Pricing: Open-Source Models at $0.08/1M Tokens

OpenAI enters the open-source API market with two models priced to compete with Llama and DeepSeek. Here's what they cost and when to use them.

🚨 Claude 4 retired June 15: See all 42 alternatives, calculate your savings, and get migration code on our Claude 4 Migration Hub.

⚠️ Deprecation alert: Claude 4 Opus and Claude Sonnet 4 retired on June 15, 2026. If you're using these models, see our migration guide for step-by-step instructions.

Pricing at a Glance

GPT-oss 120B
$0.15 / $0.60
Input / Output per 1M tokens

128K context window

GPT-oss 20B
$0.08 / $0.35
Input / Output per 1M tokens

128K context window

OpenAI's GPT-oss models are a departure from the company's typical closed-source approach. These are open-weight models available through OpenAI's API at budget-tier pricing — designed to compete directly with Meta's Llama and DeepSeek's V4 lineup.

The 120B model is priced identically to GPT-4o mini ($0.15/$0.60), while the 20B model undercuts almost everything on the market at $0.08/$0.35.

How GPT-oss Compares to Competitors

ModelInput (per 1M)Output (per 1M)ContextType
GPT-oss 20B$0.08$0.35128KOpen-weight
GPT-oss 120B$0.15$0.60128KOpen-weight
Llama 3.1 8B (Together.ai)$0.10$0.10128KOpen-weight
Llama 3.1 70B (Together.ai)$0.88$0.88128KOpen-weight
DeepSeek V4 Flash$0.14$0.281MClosed
DeepSeek V4 Pro$0.44$0.871MClosed
GPT-4o mini$0.15$0.60128KClosed
Mistral Small 4$0.10$0.30128KClosed

Key Takeaway

GPT-oss 120B is priced identically to GPT-4o mini and Mistral Small 4. The 20B model is the cheapest OpenAI model available, undercutting even Llama 3.1 8B on input pricing. However, Llama 3.1 8B has cheaper output tokens ($0.10 vs $0.35), which matters for generation-heavy workloads.

Monthly Cost Scenarios

Here's what you'd pay for common usage patterns:

ScenarioGPT-oss 120BGPT-oss 20BGPT-4o miniDeepSeek V4 Flash
100K req/day, 2K in / 500 out$135/mo$68/mo$135/mo$95/mo
1M req/day, 1K in / 200 out$450/mo$240/mo$450/mo$360/mo
10M req/day, 500 in / 100 out$2,250/mo$1,200/mo$2,250/mo$1,800/mo

At high volume, GPT-oss 20B saves $1,050/mo over GPT-4o mini for the same workload. That's real money for startups burning through API budgets.

When to Use GPT-oss

When to Avoid GPT-oss

Calculate your exact savings: Compare GPT-oss against your current model to see how much you'd save.

Try the APIpulse Calculator

🔍 Free Cost Audit — See if you're overpaying for AI APIs

🎯 API Cost Score

Rate your API setup — get a letter grade in 30 seconds

The Bigger Picture

OpenAI entering the open-weight market signals that the budget LLM tier is getting crowded. With GPT-oss, Llama 4, DeepSeek V4, Mistral Small, and Gemini Flash all competing under $0.20/1M input tokens, developers have more affordable options than ever.

The real winner isn't any single model — it's the downward pressure on pricing across the board. Use APIpulse to find the cheapest option for your specific workload.

🎯 API Cost Score

Rate your API setup — get a letter grade in 30 seconds

🎯 Rate Your API Setup in 30 Seconds

Get an A+ to F grade on your AI API costs. See how you compare and find cheaper alternatives instantly.

Get Your Cost Score →

📊 Generate Your Personalized API Cost Report

Select your model, enter your monthly spend, and get a custom savings report with cheaper alternatives — free, in 60 seconds.

Generate My Report →
💸 Looking for DeepSeek V4 Flash Alternatives?
5 models ranked by cost — some offer better quality at similar prices.
See 5 DeepSeek V4 Flash Alternatives →
💸 Looking for Mistral Small 4 Alternatives?
5 models ranked by cost — some are 90% cheaper.
See 5 Mistral Small 4 Alternatives →
🔧 Free Embeddable Pricing Widget
Add live AI API pricing to your docs, blog, or README with one script tag. 42 models, auto-updating.
Get the Free Widget →

Want to optimize your AI API costs?

APIpulse Pro ($29 one-time) includes saved scenarios, cost report exports, and personalized recommendations that can save you up to 40%.

Get Pro — $29