Cerebras: Llama 3.1 8B
stableLlama 3.1 8B is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.
llama3.1-8bllama
Context
32K
tokens
Max output
8K
tokens
Input
$0.10
per 1M
Output
$0.10
per 1M
Activity
Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.
Providers
ProviderContextInput /MOutput /M
Pricing
| Item | Price | Unit |
|---|---|---|
| Input | $0.10 | per 1M tokens |
| Output | $0.10 | per 1M tokens |
Performance
Reliability
Compare
Compare usage and performance
Place this model beside up to three other catalog models.
Capabilities
Capabilities
Modalities
Input
Output
Details
- Model ID
- llama3.1-8b
- Family
- llama
- Status
- stable
- Knowledge
- -
- Released
- -
Gateway Config
- API
- 2024-01-01
- Auth
- CEREBRAS_API_KEY
- Discovery
- static
- Provider type
- static
Quick Start
index.ts
Endpoint
Base URL
https://api.cerebras.ai/v1Chat completions
https://api.cerebras.ai/v1/chat/completionsModel
llama3.1-8bAuth env
CEREBRAS_API_KEYLlama 3.1 8B FAQ
How much does the Llama 3.1 8B API cost?
Through Cerebras, Llama 3.1 8B costs $0.10 per 1M input tokens and $0.10 per 1M output tokens.
What is the context window of Llama 3.1 8B?
Llama 3.1 8B accepts up to 32K tokens of context and returns up to 8K output tokens on Cerebras.
What can Llama 3.1 8B do?
Llama 3.1 8B supports chat and function calling. It accepts text input.
How do I call Llama 3.1 8B through Everstack?
Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @cerebras/llama3.1-8b. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.
