MarketSupport← Back to app

Grok

Grok chat models are called through one simple endpoint: send a messages array plus the model slug and get the reply text back. This family exposes 2 models.

Overview

Send a standard messages array (user / assistant / system roles). Billing is deducted from your credit balance per response; the response includes your remaining balance.

Authentication

Create an API key at /api-keys, then send it as a Bearer token. Requests from the browser while logged in also work via the session cookie.

Authorization: Bearer <YOUR_API_KEY>

Chat Completions

POST
POST https://97ai.97claude.com/api/chat

Body: { "model": "<slug>", "messages": [{ "role": "user", "content": "…" }] }

Response: { "text": "<assistant reply>", "credits": <billed>, "balance": <remaining> }

Models

ModelProvidermodel slug
Grok 4.5xAIchat/grok-4-5
Grok 4.3xAIchat/grok-4-3

Grok 4.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/grok-4-5",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Grok 4.3

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/grok-4-3",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'