Llama-3.1-8B-Instruct vs gemma-7b
Specs, VRAM requirements and download trends — updated 10 November 2026.
meta-llama · A · Open weights
Params
8.0 B
Context
—
30d
4.5 M
llama3.1 licence · conditional
Specification comparison
Differences are highlighted; identical values are muted.
| Specification | Llama-3.1-8B-Instruct | gemma-7b |
|---|---|---|
| Deployment | Open weights · also via API | Open weights |
| Parameters | 8.0 B | 8.5 B |
| Architecture | LlamaForCausalLM | GemmaForCausalLM |
| Context length | 131,072 | — |
| Licence | llama3.1 | gemma |
| Commercial use | Conditional | Conditional |
| Languages | 8 | — |
| Downloads 30d | 4,504,499 | 200,487 |
| Downloads all time | 193.6 M | 3.4 M |
| Quantizations on the Hub | SAFETENSORS | GGUF, SAFETENSORS |
| Gated | Yes — accept licence | Yes — accept licence |
| First seen on the Hub | 2024-07-18 | 2024-02-08 |
| API input price / 1M tokens | $0.02 | not on OpenRouter |
| API output price / 1M tokens | $0.04 | not on OpenRouter |
| Est. cost per 1M input + 1M output tokens | $0.06 | not on OpenRouter |
| Cached input / 1M tokens | — | not on OpenRouter |
| AA Intelligence Index | — | not on OpenRouter |
| AA Coding Index | 5.4 | not on OpenRouter |
| AA Agentic Index | — | not on OpenRouter |
| Max output tokens | 16,384 | not on OpenRouter |
| API providers | 4 | not on OpenRouter |
| Tool calling | Yes | not on OpenRouter |
| Reasoning mode | No | not on OpenRouter |
API cost
Estimated cost of 1M input + 1M output tokens via OpenRouter
Llama-3.1-8B-Instruct
$0.06
Download trend
Daily snapshots, last 90 days (13 Aug – 10 Nov)
7.6 M150 K
Llama-3.1-8B-Instruct
gemma-7b
VRAM side by side
On RTX 4090 · 24 GB · 8K context unless noted
Llama-3.1-8B-Instruct · fp16
19.4 GB / 24 GB
gemma-7b · fp16
20.6 GB / 24 GB