現在利用可能
Meta
llama-3.1-8b
Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance compared to...
TextToolsOpen Weights32K
入力無料
出力無料
コンテキスト32K
エンドポイントopenai
機能
ツール構造化
モダリティ
入力
text
出力
text
クイック統計
コンテキストウィンドウ32K
最大出力32K
モードchat
トークナイザーLlama3
学習データ更新2023
Hugging Facemeta-llama/Meta-Llama-3.1-8B-Instruct
パフォーマンス
パフォーマンスデータを読み込み中...
対応パラメータ
| パラメータ | 常時 | デフォルト |
|---|---|---|
| frequency_penalty | - | - |
| logit_bias | - | - |
| max_tokens | - | |
| min_p | - | - |
| presence_penalty | - | - |
| repetition_penalty | - | - |
| response_format | - | - |
| seed | - | |
| stop | - | |
| structured_outputs | - | - |
| temperature | - | |
| tool_choice | - | - |
| tools | - | - |
| top_k | - | - |
| top_p | - |
§ 01
料金
| 入力料金 | $0.00 · 100万トークン |
| 出力料金 | $0.00 · 100万トークン |
| コンテキストウィンドウ | 32K トークン |
| 対応エンドポイント | openai |
| ベンダー | Meta |
§ 02
コードから llama-3.1-8b を呼び出す
OpenAI 互換の SDK を UnoRouter に向け、モデル名を指定するだけです。YOUR_API_KEY はダッシュボードで取得した実際のキーに置き換えてください。
bash
curl https://api.unorouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-8b",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
よくあるご質問
llama-3.1-8b の100万トークンあたりの料金はいくらですか?
入力は100万トークンあたり $0.00、出力は100万トークンあたり $0.00 で課金されます。トークン単位の課金で、バッチサイズへの切り上げはありません。
API で llama-3.1-8b を使うにはどうすればよいですか?
UnoRouter の /v1/chat/completions エンドポイントへ model=llama-3.1-8b を指定してリクエストを送信してください。OpenAI 互換のクライアントライブラリであれば動作します。認証は標準の Bearer トークンを使用します。
llama-3.1-8b のコンテキストウィンドウはどれくらいですか?
llama-3.1-8b は 32K トークンのコンテキストウィンドウに対応しており、プロンプトとモデルの応答で共有されます。
§ 04