Today › AI API prices › Cerebras
llama3.1-8b API pricing (Cerebras)
Input / 1M tokens$0.1
Output / 1M tokens$0.11.0× input
Context window128Kmax output 128K
Rank within Cerebras1 / 8
Among all modelscheaper than 89%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $2.50 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $0.51 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $0.25 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| codegemma-2b | Fireworks AI | $0.1 | $0.1 | 8K |
| cogito-v1-preview-llama-3b | Fireworks AI | $0.1 | $0.1 | 131K |
| deepseek-coder-1b-base | Fireworks AI | $0.1 | $0.1 | 16K |
| deepseek-r1-distill-qwen-1p5b | Fireworks AI | $0.1 | $0.1 | 131K |
| ernie-4p5-21b-a3b-pt | Fireworks AI | $0.1 | $0.1 | 131K |
| ernie-4p5-300b-a47b-pt | Fireworks AI | $0.1 | $0.1 | 131K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0.1 | $0.1 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
llama3.1-8b on Cerebras costs $0.1 per million input tokens and $0.1 per million output tokens; it ranks 1 of 8 Cerebras models by price, with a 128K context window.