Llama 3.1 8B Instruct vs GPT-4o mini API Price Comparison
Prices updated: ·50 quotes
As of : At official rates, Llama 3.1 8B Instruct is $0.1000/1M input tokens and GPT-4o mini is $0.1500 — Llama 3.1 8B Instruct is ~33% cheaper than GPT-4o mini. Via relay providers, the lowest Llama 3.1 8B Instruct rate is $0.0041 (RunAPI) and GPT-4o mini is $0.0062 (TreeRouter). Context windows: Llama 3.1 8B Instruct 128K, GPT-4o mini 131K. GPT-4o mini supports image input. 50 provider quotes tracked (Llama 3.1 8B Instruct: 15, GPT-4o mini: 35), updated daily.
Llama 3.1 8B InstructBudget
Official
$0.1000
/ 1M tokens
Best Price
$0.0041
/ 1M tokens
15 providers · 128K Context
GPT-4o miniBudget
Official
$0.1500
/ 1M tokens
Best Price
$0.0062
/ 1M tokens
35 providers · 131K Context · 👁 Vision
At official prices, Llama 3.1 8B Instruct is ~33% cheaper. At the best relay price, Llama 3.1 8B Instruct is ~33% cheaper.
Price Comparison
| Llama 3.1 8B Instruct | GPT-4o mini | |
|---|---|---|
| Official input / 1M tokens | $0.1000 ✓ | $0.1500 |
| Official output / 1M tokens | $0.1000 ✓ | $0.6000 |
| Cheapest input / 1M tokens | $0.0041 ✓ | $0.0062 |
| Cheapest output / 1M tokens | $0.0062 | $0.0031 ✓ |
| providers | 15 | 35 |
| Context | 128K | 131K |
| Vision | — | ✓ |
Llama 3.1 8B Instruct — All Providers
Detail page →GPT-4o mini — All Providers
Detail page →Frequently Asked Questions
Which is cheaper, Llama 3.1 8B Instruct or GPT-4o mini?
At official price, Llama 3.1 8B Instruct is cheaper by ~33%. At the best relay price, Llama 3.1 8B Instruct with a ~33% difference.
What context window do Llama 3.1 8B Instruct and GPT-4o mini support?
Llama 3.1 8B Instruct has a 128K token context window; GPT-4o mini has 131K tokens.
Do Llama 3.1 8B Instruct and GPT-4o mini support image input?
Llama 3.1 8B Instruct does not support image input; GPT-4o mini supports image input.
What is the cheapest way to access Llama 3.1 8B Instruct or GPT-4o mini?
Llama 3.1 8B Instruct's lowest input price is $0.0041/1M tokens (RunAPI). GPT-4o mini's is $0.0062/1M tokens (TreeRouter). Relay providers typically offer lower prices with different SLA terms.
Related Comparisons
Related