# Llama 3.1 8B API Pricing & Context Window (/models/cerebras/llama3-1-8b)

Llama 3.1 8B is a Cerebras model tracked in Sim. It supports a 33k token context window. Pricing starts at $0.1/1M input tokens and $0.1/1M output tokens. Key capabilities include Tool choice.

| Specification | Value |
| - | - |
| Model ID | `cerebras/llama3.1-8b` |
| Provider | [Cerebras](/models/cerebras) |
| Status | Retired by the provider |
| Released | Aug 27, 2024 |
| Context window | 33k tokens |
| Max output | Not published |

## Pricing \[#pricing]

Prices are in US dollars per 1M tokens, as listed in Sim's model catalog on Apr 1, 2026.

| Tokens | Price per 1M |
| - | - |
| Input | $0.1 |
| Cached input | Not listed |
| Output | $0.1 |

## Capabilities \[#capabilities]

| Capability | Support |
| - | - |
| Temperature | Not configurable |
| Reasoning effort | Not supported |
| Verbosity | Not supported |
| Thinking levels | Not supported |
| Structured outputs | Not supported |
| Tool choice | Supported |
| Computer use | Not supported |
| Memory support | Supported |
| Max output tokens | Not published |

## Use Llama 3.1 8B in Sim \[#use-llama-31-8b-in-sim]

Cerebras has retired this model, so API calls to it fail and it no longer appears in the model picker. Workflows that still name it keep validating; switch their [Agent blocks](/workflows/blocks/agent) to a current model such as [GPT OSS 120B](/models/cerebras/gpt-oss-120b).

## Related models \[#related-models]

| Model | Input | Output | Context window |
| - | - | - | - |
| [Qwen 3.8 27B](/models/cerebras/qwen-3-8-27b) | $0.99 | $1.49 | 131k |
| [GPT OSS 120B](/models/cerebras/gpt-oss-120b) | $0.35 | $0.75 | 131k |

## Frequently asked questions \[#frequently-asked-questions]

### What is Llama 3.1 8B? \[#what-is-llama-31-8b]

Llama 3.1 8B is a Cerebras model tracked in Sim. It supports a 33k token context window. Pricing starts at $0.1/1M input tokens and $0.1/1M output tokens. Key capabilities include Tool choice.

### How much does Llama 3.1 8B cost? \[#how-much-does-llama-31-8b-cost]

Llama 3.1 8B starts at $0.1/1M input tokens, and $0.1/1M output tokens.

### What is the context window for Llama 3.1 8B? \[#what-is-the-context-window-for-llama-31-8b]

Llama 3.1 8B supports a context window of 33k tokens in Sim. In an agent, this determines how much conversation history, tool outputs, and retrieved documents the model can hold in a single call.

### What capabilities does Llama 3.1 8B support? \[#what-capabilities-does-llama-31-8b-support]

Llama 3.1 8B supports the following capabilities in Sim: Tool choice.
