Meta's latest class of model (Llama 3.1) launched with a variety of sizes and flavors.
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})走流式。
鉴权 · 计费 · 流式 → 快速接入