Llama 3.1 8b API pricing
Cerebras · chat model · 128K context · ranked #201 of 1557 by input price
Reviewed by Mohammad Ghonchegi · dataset generated 2026-10-28 12:57 UTC · every figure below is recomputed from it on each refresh · how the numbers are produced
What Llama 3.1 8b costs in practice
Llama 3.1 8b from Cerebras is billed at $0.1 per million input tokens and $0.1 per million output tokens. No separate prompt-cache rate is published for it, so every input token is billed at the full rate. It ranks #201 of 1557 priced chat listings by input price, which makes it 6.00× cheaper than the median priced model here ($0.6).
Three concrete workloads on this model's rates: a 20,000 requests/day support bot sending 2,500 tokens in and 400 out costs about $174 a month; summarising 5,000 documents a day at 12,000 tokens in and a 600-token summary costs about $189; and 1,000 agent sessions a day at 30,000 input and 5,000 output tokens costs about $105.
How Cerebras bills: Cerebras bills per million tokens for models it runs on wafer-scale hardware, with fewer models available than general-purpose platforms. The rate above is the one this index normalises to (USD per million tokens); the authoritative figure is always the provider's own pricing page, linked below.
The figure above excludes batch and committed-use discounts, regional rates, free tiers and enterprise agreements — providers publish those separately, and they can move the real bill by tens of percent. Context is listed as 128K tokens with at most 128K tokens of output per call; some providers bill requests above a long-context threshold at a higher tier, which this page does not model. Token counting also differs between providers' tokenizers, so two providers quoting the same rate can bill a different total for the same text.
Use Llama 3.1 8b when you need tool calling and the monthly figure above fits the budget. If it does not, Gemini Exp 1114 (Google Gemini) is the nearest cheaper option at free per million input tokens — keep the capability flags in mind before swapping, since a cheaper model that lacks one of the features above will cost more once you work around it.
The same model on every platform we track
Llama 3.1 8b is served by 2 platforms in this index and they all land within a few percent of each other on input pricing — around $0.1 per million tokens — so switching host buys convenience, not savings.
| Platform | Input $/1M | Output $/1M | Cached $/1M | Context | Listing |
|---|---|---|---|---|---|
| Cerebrasthis page | $0.1 | $0.1 | — | 128K | — |
| Cerebras | $0.1 | $0.1 | — | 128K | details |
Cheapest listing today: Cerebras at $0.1 per million input tokens — the page you are on.
Monthly cost examples
Assuming 1,200 prompt + 400 completion tokens per request unless noted, billed 30 days a month and without cache hits.
| Workload | Cost / month | Cost / day |
|---|---|---|
| 1,000 requests/day | $4.8 | $0.16 |
| 10,000 requests/day | $48 | $1.6 |
| 100,000 requests/day | $480 | $16 |
| 1M summaries/month | $829.99 | $27.67 |
Model a different profile in the cost calculator.
Capabilities
Cheaper alternatives
Ranked by blended cost (3× input + 1× output) — cheaper, but check context and capabilities before switching.
| # | Model | Provider | Input $/1M | Output $/1M | Cached $/1M | Context |
|---|---|---|---|---|---|---|
| 1 | Gemini Exp 1114 | Google Gemini | free | free | — | 1.0M |
| 2 | Gemini Exp 1206 | Google Gemini | free | free | — | 2.1M |
| 3 | Gemma 3 27b It | Google Gemini | free | free | — | 131K |
| 4 | Gemma 4 26b A4b It | Google Gemini | free | free | — | 262K |
| 5 | Gemma 4 31b It | Google Gemini | free | free | — | 262K |
| 6 | Learnlm 1.5 Pro Experimental | Google Gemini | free | free | — | 33K |
Data provenance
This page is assembled from the sources below. Where two sources disagree, both are shown.
Only one source publishes this model; no independent cross-check available yet.
Compilation is automated and re-run on every refresh (2026-10-28 12:57 UTC); the page structure and its explanatory copy are written and reviewed by the editor — see how this is made. For turning this rate into a budget rather than a rate, see the cost-planning guide.
More from Cerebras
Frequently asked
› How much does Llama 3.1 8b cost per 1,000 tokens?
About $0.0001 for input and $0.0001 for output tokens, based on the per-million rates on this page.
› Is Llama 3.1 8b cheaper than other models?
By input price it ranks #201 of 1557 priced chat models in this index, putting it in the cheaper half of the market.
› Is Llama 3.1 8b cheaper on another platform?
We track 2 platforms serving this model. The cheapest input rate today is $0.1 per million tokens at Cerebras; the most expensive is $0.1 at Cerebras.
› How often is Llama 3.1 8b's price checked?
The dataset was last refreshed 2026-10-28 12:57 UTC. Providers can change pricing at any time — verify with Cerebras before committing to a budget.
This is one of several platform listings of Llama 3.1 8b. The canonical, most complete version of this page is Cerebras's listing.