跳至内容
Llama 3.1 8B

Llama 3.1 8B

模型 ID cerebras/llama3.1-8b
这是 Cerebras 免费模型,无需付费即可使用。

模型信息

属性
上下文长度8,192 tokens
最大输出8,192 tokens
输入价格$0 / 1M tokens
输出价格$0 / 1M tokens
供应商Cerebras
状态免费 (Production)

速率限制

类型限制
Requests30/分钟,900/小时,14,400/天
Tokens60,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": "你好!"}]
  }'

相关链接