MarketSupport← Back to app

GPT

GPT 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 5 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
GPT-5.6 TerraOpenAIchat/gpt-5-6-terra
GPT-5.6 SolOpenAIchat/gpt-5-6-sol
GPT-5.6 LunaOpenAIchat/gpt-5-6-luna
GPT-5.5OpenAIchat/gpt-5-5
GPT-5.4OpenAIchat/gpt-5-4

GPT-5.6 Terra

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/gpt-5-6-terra",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

GPT-5.6 Sol

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/gpt-5-6-sol",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

GPT-5.6 Luna

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/gpt-5-6-luna",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

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

GPT-5.4

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