anthropic/claude-sonnet-5-5-kiro
Kiro 専用ルートで Claude Sonnet 5.5 を提供します。ストリーミングと自動ツール呼び出しの往復に対応しています。トークンの事前カウント(count_tokens)とツールの強制指定は現在利用できません。ツールには auto を使用してください。通常の Sonnet 5.5 とは別料金です。
キャッシュ読み取り $0.015/M · キャッシュ書き込み $0.375/M
どちらの ID を使っても API でこのモデルを呼び出せます。
anthropic/claude-sonnet-5-5-kiroYou can use these names directly in the request model field.
ONEHOP_KEY プレースホルダーをご自身の API Key に置き換えてください。 作成する →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.onehop.ai/anthropic",
api_key="<ONEHOP_KEY>",
)
message = client.messages.create(
model="anthropic/claude-sonnet-5-5-kiro",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)