claude-fable-5
Anthropic · テキスト
claude-fable-5はGetModelでOpenAI互換APIを通じて利用でき、従量課金です。キーを1つ取得すれば、任意のOpenAI SDKから呼び出せます。
料金
| 項目 | 価格 |
|---|---|
| 入力 | $2.7 / 100万トークン |
| 出力 | $13.5 / 100万トークン |
呼び出し方法
curl https://getmodel.ai/v1/chat/completions \
-H "Authorization: Bearer $GETMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-fable-5","messages":[{"role":"user","content":"Hello"}]}' from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")
resp = client.chat.completions.create(
model="claude-fable-5",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content) 詳細
よくある質問
claude-fable-5 API の料金は?
GetModel での claude-fable-5 は $2.7 / 100万トークン (入力), $13.5 (出力)、従量課金・サブスク不要です。
claude-fable-5 を API で呼び出すには?
OpenAI 互換クライアントを https://getmodel.ai/v1 に向け、GetModel の API キーを設定し、model を「claude-fable-5」にします。
claude-fable-5 を他のモデルと一緒に使えますか?
はい — GetModel の API キー1つで claude-fable-5 と 30+ の他モデルを利用できます。model フィールドを変えるだけです。