Codellama 7 B pricing
Source: litellm · updated 2026-11-16
Short answer: Codellama 7 B costs $0.060 per million input tokens and $0.120 per million output tokens. That is a 3:1 blended rate of $0.075 per million tokens, ranking it #99 of 822 tracked models by input price.
Input / 1M
$0.060
Output / 1M
$0.120
Output ÷ input
2.00×
Context window
16,384
Price breakdown
| Metric | USD |
|---|---|
| Input, per 1M tokens | $0.060 |
| Output, per 1M tokens | $0.120 |
| Output ÷ input multiple | 2.00× |
| 3:1 blended, per 1M tokens | $0.075 |
| Context window | 16,384 tokens |
| Vendor | llamagate |
What a typical workload costs
| Monthly volume | Input cost | Output cost | Total |
|---|---|---|---|
| 1M in / 250K out | $0.060 | $0.030 | $0.090 |
| 10M in / 2.5M out | $0.600 | $0.300 | $0.900 |
| 100M in / 25M out | $6.00 | $3.00 | $9.00 |
Other llamagate models
| Model | Input | Output |
|---|---|---|
| Llama 3.1.8 B | $0.030 | $0.050 |
| Gemma 3.4 B | $0.030 | $0.080 |
| Llama 3.2.3 B | $0.040 | $0.080 |
| Qwen 3.8 B | $0.040 | $0.140 |
| DeepSeek Coder 6.7 B | $0.060 | $0.120 |
Compare against
Cheaper alternatives
Next cheaper option: DeepSeek V4 Flash 0731 at $0.048 per 1M input tokens. Next step up: DeepSeek V4.1 Flash 1017 at $0.050 per 1M input tokens.
Spotted a price that is out of date? Submit a correction.