# Gemini vs Llama: API prices compared, dated and sourced

Canonical page: https://bertrande.com/en/vs/gemini-vs-llama/
License: CC-BY-4.0, reuse with attribution and a link.

No value below was produced, estimated or completed by a language model. Every figure was read from a source we name, on the date we give.

The cheapest Gemini model we track, Gemini 2.5 Flash-Lite, costs $0.400 per million output tokens and an input price that depends on the type of content. The cheapest Llama model, Llama 3.1 8B Instruct, costs $0.080 per million output tokens and $0.050 per million input tokens, as sold by OpenRouter. At the entry level, Llama is 5.0 times cheaper than Gemini on output tokens. Prices read on 18 September 2026.

## Gemini models

| Model | Input $/1M | Output $/1M | Read on |
|---|---|---|---|
| Gemini 2.5 Flash-Lite | by content type | $0.400 | 2026-09-18 |
| Gemini 3.1 Flash-Lite | by content type | $1.50 | 2026-09-18 |
| Gemini 2.5 Flash | by content type | $2.50 | 2026-09-18 |
| Gemini 3.5 Flash-Lite | by content type | $2.50 | 2026-09-18 |
| Gemini 3 Flash Preview | by content type | $3.00 | 2026-09-18 |
| Gemini 3.6 Flash | $0.750 | $3.75 | 2026-09-18 |
| Gemini 3.7 Flash | $0.750 | $3.75 | 2026-09-18 |
| Gemini 3.8 Flash | $0.750 | $3.75 | 2026-09-18 |
| Gemini Robotics ER 1.6 Preview | by content type | $5.00 | 2026-09-11 |
| Gemini Robotics ER 2 Preview | by content type | $5.00 | 2026-09-17 |
| Gemini Robotics ER 2 Streaming Preview | by content type | $5.00 | 2026-09-17 |
| Gemini 3.5 Flash | $1.50 | $9.00 | 2026-09-18 |

## Llama models

| Model | Input $/1M | Output $/1M | Read on |
|---|---|---|---|
| Llama 3.1 8B Instruct | $0.050 | $0.080 | 2026-09-18 |
| Llama Guard 4 12B | $0.180 | $0.180 | 2026-09-18 |
| Llama 3.2 1B Instruct | $0.027 | $0.201 | 2026-09-18 |
| Llama 4 Scout | $0.100 | $0.300 | 2026-09-18 |
| Llama 3.3 70B Instruct | $0.100 | $0.320 | 2026-09-18 |
| Llama 3.2 3B Instruct | $0.050 | $0.330 | 2026-09-18 |
| Llama 3.1 70B Instruct | $0.400 | $0.400 | 2026-09-18 |
| Llama 4 Maverick | $0.1875 | $0.6525 | 2026-09-18 |


Method: https://bertrande.com/en/methodology/
Report an error: https://bertrande.com/en/corrections/
