マーケットサポート← アプリに戻る

Mistral

Mistral のチャットモデルは 1 つのシンプルなエンドポイントで呼び出します:messages 配列とモデル slug を送信すると、応答テキストが返ります。このファミリーは 4 個のモデルを提供します。

概要

標準的な 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
Mistral Large 2512Mistralchat/mistral-large-2512
Mistral Large 2407Mistralchat/mistral-large-2407
Mistral Medium 3.5Mistralchat/mistral-medium-3-5
Mistral Small 3.2 24BMistralchat/mistral-small-3-2

Mistral Large 2512

POST/api/chat
cURL
curl -X POST https://97ai.97claude.com/api/chat \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "chat/mistral-large-2512",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Mistral Large 2407

POST/api/chat
cURL
curl -X POST https://97ai.97claude.com/api/chat \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "chat/mistral-large-2407",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Mistral Medium 3.5

POST/api/chat
cURL
curl -X POST https://97ai.97claude.com/api/chat \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "chat/mistral-medium-3-5",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Mistral Small 3.2 24B

POST/api/chat
cURL
curl -X POST https://97ai.97claude.com/api/chat \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "chat/mistral-small-3-2",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'