Llama 3.1 8B

Model details

Llama 3.1 8B

Model
llama3.1-8b
Provider
cerebras
API
openai-completions
Base URL
https://api.cerebras.ai/v1
Input
text
Reasoning
No
Context window
32,000
Max tokens
8,000
Cost / million input
$0.1
Cost / million output
$0.1
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "cerebras": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "llama3.1-8b",
          "name": "Llama 3.1 8B",
          "reasoning": false,
          "input": [
            "text"
          ],
          "contextWindow": 32000,
          "maxTokens": 8000,
          "cost": {
            "input": 0.1,
            "output": 0.1,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "openai-completions",
      "baseUrl": "https://api.cerebras.ai/v1"
    }
  }
}