Llama 3.1 8B
模型 ID
cerebras/llama3.1-8b
这是 Cerebras 免费模型,无需付费即可使用。
模型信息
| 属性 | 值 |
|---|---|
| 上下文长度 | 8,192 tokens |
| 最大输出 | 8,192 tokens |
| 输入价格 | $0 / 1M tokens |
| 输出价格 | $0 / 1M tokens |
| 供应商 | Cerebras |
| 状态 | 免费 (Production) |
速率限制
| 类型 | 限制 |
|---|---|
| Requests | 30/分钟,900/小时,14,400/天 |
| Tokens | 60,000/分钟,1,000,000/小时,1,000,000/天 |
描述
Llama 3.1 8B 是 Meta 发布的轻量级开源对话模型,适合快速响应和资源受限的场景。
使用示例
curl https://api.cerebras.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama3.1-8b",
"messages": [{"role": "user", "content": "你好!"}]
}'