模型/Meta/llama-3.1-8b
Meta

Llama 3.1 8B

文本
上下文
131.1K
输入
$0.02
/M tokens
输出
$0.05
/M tokens

Meta's latest class of model (Llama 3.1) launched with a variety of sizes and flavors.

快速开始

如何调用

POST /v1/chat/completions
bash
curl https://conduit-api.bifrostapi.net/v1/chat/completions \
  -H "Authorization: Bearer ck-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama-3.1-8b","messages":[{"role":"user","content":"Hello!"}]}'

→ OpenAI 兼容。加 "stream": true(配 "stream_options":{"include_usage":true})走流式。

鉴权 · 计费 · 流式 → 快速接入

来自 Meta 的其他模型