TensaHub › OpenRouter

AionLabs: Aion-RP 1.0 (8B)

OpenRouter の aion-labs/aion-rp-llama-3.1-8b モデル API,$0.8 / $1.6(100万トークンあたり),コンテキスト 32,768 トークン。curl・Python・JavaScript のコード例とライブテスト。

カタログでテスト・評価する

Aion-RP-Llama-3.1-8B ranks the highest in the character evaluation portion of the RPBench-Auto benchmark, a roleplaying-specific variant of Arena-Hard-Auto, where LLMs evaluate each other’s responses. It is a fine-tuned base model...

種類
モデル
プロバイダー
OpenRouter
モデル ID
aion-labs/aion-rp-llama-3.1-8b
料金
有料
入力 / 出力の価格
$0.8 / $1.6(100万トークンあたり)
キーなしで利用
いいえ
キーの環境変数
OPENROUTER_API_KEY
ベース URL(OpenAI 互換)
https://openrouter.ai/api/v1
コンテキスト
32,768 トークン
入力
テキスト
開発者の評価
まだ評価がありません
ドキュメント
https://openrouter.ai/aion-labs/aion-rp-llama-3.1-8b

コード例

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"aion-labs/aion-rp-llama-3.1-8b","messages":[{"role":"user","content":"こんにちは。一文で自己紹介してください。"}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
    model="aion-labs/aion-rp-llama-3.1-8b",
    messages=[{"role": "user", "content": "こんにちは。一文で自己紹介してください。"}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
  model: 'aion-labs/aion-rp-llama-3.1-8b',
  messages: [{ role: 'user', content: 'こんにちは。一文で自己紹介してください。' }],
})
console.log(r.choices[0].message.content)

組み込みコードを生成 →

人気の検索

よくある質問

AionLabs: Aion-RP 1.0 (8B) の API は無料ですか?

いいえ。AionLabs: Aion-RP 1.0 (8B) は有料の API です($0.8 / $1.6(100万トークンあたり))。

コードから AionLabs: Aion-RP 1.0 (8B) を呼び出すには?

AionLabs: Aion-RP 1.0 (8B) は https://openrouter.ai/api/v1 で OpenAI 互換 API を提供しています。このベース URL を指定すれば、任意の OpenAI SDK(Python、JavaScript など)で利用できます。 モデル ID:aion-labs/aion-rp-llama-3.1-8b。 ストリーミング・JSON・再試行に対応したすぐ使えるコードを開発者ツールキットで提供しています。

AionLabs: Aion-RP 1.0 (8B) のコンテキストウィンドウは?

AionLabs: Aion-RP 1.0 (8B) は最大 32,768 トークンのコンテキスト(プロンプトと履歴)を扱えます。

AionLabs: Aion-RP 1.0 (8B) の代替は?

カタログ内の類似 API:AionLabs: Aion 3.5 Mini, AionLabs: Aion 3.5, AionLabs: Aion-3.0-Mini, AionLabs: Aion-3.0, AionLabs: Aion-2.0。

代替候補