Meta有料稼働中
Llama 3.2 1B Instruct
APIモデル名: llama-3.2-1b-instruct
Llama 3.2 1B InstructはMetaのチャットモデルで、Api.Airforceの統合APIで提供されています。 料金は入力100万トークンあたり¥6、出力100万トークンあたり¥35です。 これはプロバイダーの公式入力レート¥5を下回っています。 1つのキーでOpenAI互換APIを通じてアクセスでき、Api.Airforce上の他の65以上のモデルと併せて利用できます。
料金
Api.Airforceの料金とプロバイダーの公式レートの比較。
仕様
- プロバイダー
- Meta
- タイプ
- チャットモデル
Llama 3.2 1B Instruct の活用シーン
- チャットボット・アシスタント — 会話AI、文章作成、要約、Q&A。
Llama 3.2 1B Instruct と類似モデルの比較
| モデル | 知能 | コンテキスト | 入力 / 1M | 出力 / 1M |
|---|---|---|---|---|
| Llama 3.2 1B Instruct | — | — | ¥6 | ¥35 |
| Aion Rp Llama 3.1 8B | — | — | ¥138 | ¥276 |
| Hermes 3 Llama 3.1 405B | — | — | ¥173 | ¥173 |
| Hermes 3 Llama 3.1 70B | — | — | ¥121 | ¥121 |
料金はApi.Airforceの従量課金レート(1Mトークンあたり)。コンテキストは最大入力長を示します。
関連モデル
Aion Rp Llama 3.1 8BMeta · ¥138 / 1MHermes 3 Llama 3.1 405BMeta · ¥173 / 1MHermes 3 Llama 3.1 70BMeta · ¥121 / 1MLlama 2 13BMeta · ¥306 / 1MLlama 2 70BMeta · ¥204 / 1MLlama 2 7BMeta · ¥204 / 1MLlama 3 70BMeta · ¥408 / 1MLlama 3 8BMeta · ¥204 / 1MLlama 3.1 405B InstructMeta · ¥918 / 1MLlama 3.1 70B InstructMeta · ¥69 / 1MLlama 3.1 8B InstructMeta · ¥9 / 1MLlama 3.2 3B InstructMeta · ¥9 / 1M
Llama 3.2 1B Instruct — よくある質問
- Llama 3.2 1B Instruct の料金はいくらですか?
- Llama 3.2 1B Instruct は入力1Mトークンあたり ¥6、出力1Mトークンあたり ¥35 の従量課金制です。サブスクリプション不要 — 使った分だけ課金されます。
- Llama 3.2 1B Instruct には何ができますか?
- Llama 3.2 1B InstructはMetaのチャットモデルで、Api.Airforce APIからアクセスできます。
- Llama 3.2 1B Instruct は無料で使えますか?
- Llama 3.2 1B Instruct は従量課金制の有料モデルです — サブスクリプション不要、使用量分のみ課金されます。
- APIで Llama 3.2 1B Instruct を使うにはどうすればよいですか?
- Llama 3.2 1B Instruct はOpenAI互換です。任意のOpenAI SDKの向き先を https://api.airforce/v1 に変更し、モデルID llama-3.2-1b-instruct とApi.AirforceのAPIキーを渡してください。
- Llama 3.2 1B Instruct はどこが開発しましたか?
- Llama 3.2 1B InstructはMetaのチャットモデルで、Api.Airforceの統合ゲートウェイを通じて100+の他のモデルとともに提供されています。
リアルタイムメトリクスを読み込み中…
リアルタイムメトリクスを読み込み中…
リアルタイムメトリクスを読み込み中…
APIでLlama 3.2 1B Instructを利用する
OpenAI互換 — 任意のOpenAI SDKをhttps://api.airforce/v1に向け、llama-3.2-1b-instructをモデルとして渡してください。
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.2-1b-instruct",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="llama-3.2-1b-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "llama-3.2-1b-instruct",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);