Claude
Claude のチャットモデルは 1 つのシンプルなエンドポイントで呼び出します:messages 配列とモデル slug を送信すると、応答テキストが返ります。このファミリーは 10 個のモデルを提供します。
概要
標準的な messages 配列(user / assistant / system ロール)を送信します。課金は応答ごとにクレジット残高から差し引かれ、レスポンスには残りの balance が含まれます。
認証
/api-keys で API キーを作成し、Bearer トークンとして送信します。ログイン中のブラウザからのリクエストはセッション cookie 経由でも動作します。
Authorization: Bearer <YOUR_API_KEY>チャット補完
POST
POST https://97ai.97claude.com/api/chatボディ: { "model": "<slug>", "messages": [{ "role": "user", "content": "…" }] }
レスポンス: { "text": "<assistant reply>", "credits": <billed>, "balance": <remaining> }
モデル
| モデル | プロバイダー | model slug |
|---|---|---|
| Claude Opus 5 | Anthropic | chat/claude-opus-5 |
| Claude Opus 4.8 | Anthropic | chat/claude-opus-4-8 |
| Claude Opus 4.7 | Anthropic | chat/claude-opus-4-7 |
| Claude Opus 4.6 | Anthropic | chat/claude-opus-4-6 |
| Claude Opus 4.5 | Anthropic | chat/claude-opus-4-5 |
| Claude Sonnet 5 | Anthropic | chat/claude-sonnet-5 |
| Claude Sonnet 4.6 | Anthropic | chat/claude-sonnet-4-6 |
| Claude Sonnet 4.5 | Anthropic | chat/claude-sonnet-4-5 |
| Claude Fable 5 | Anthropic | chat/claude-fable-5 |
| Claude Haiku 4.5 | Anthropic | chat/claude-haiku-4-5 |
Claude Opus 5
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-opus-5",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Opus 4.8
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-opus-4-8",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Opus 4.7
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-opus-4-7",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Opus 4.6
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-opus-4-6",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Opus 4.5
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-opus-4-5",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Sonnet 5
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-sonnet-5",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Sonnet 4.6
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-sonnet-4-6",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Sonnet 4.5
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-sonnet-4-5",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Fable 5
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-fable-5",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Claude Haiku 4.5
POST
/api/chatcURL
curl -X POST https://97ai.97claude.com/api/chat \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chat/claude-haiku-4-5",
"messages": [{ "role": "user", "content": "Hello!" }]
}'