AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Cerebras

Llama 3.1 8B API

Cerebras
About

Llama 3.1 8B is a high-performance LLM available via the Cerebras API, ideal for scalable text generation and natural language processing. This model delivers cost-effective pricing at $0.10/1M input and $0.10/1M output tokens, native tool calling support, open weights architecture. Access Llama 3.1 8B via the Cerebras API with up to 8K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
No
Tool Use
Yes
WeightsOpen
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
32K

Tokens

Input Limit
32K

Tokens

Max Output
8K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.10
Output
$0.10
Frequently Asked Questions

Llama 3.1 8B by Cerebras costs $0.10 per 1M input tokens and $0.10 per 1M output tokens.

Model Details
ID
llama3.1-8b
Provider
Cerebras
Family
llama
Release Date
Jan 1, 2025
Knowledge Cutoff
Dec 1, 2023
API Integration
NPM Package
@ai-sdk/cerebras
Environment Variables
CEREBRAS_API_KEY
Documentation