Chat / Text

Chat / Text · Introduction

Text chat with Claude, GPT and more — Anthropic / OpenAI compatible, SSE streaming, billed per token.

Supported Protocols

Streaming (SSE)

All protocols support streaming (SSE): add "stream": true. For OpenAI, also add "stream_options": {"include_usage": true} to get usage. See each protocol page.

List Models (/v1/models)

Call GET /v1/models to fetch the live list of available models for your account (OpenAI-compatible), returning each model id. Treat this endpoint as the source of truth.

curl https://api.cqtai.com/v1/models \
  -H "Authorization: Bearer <API_KEY>"
{
  "object": "list",
  "data": [
    { "id": "gpt-4o", "object": "model", "owned_by": "openai" },
    { "id": "claude-haiku-4-5-20251001", "object": "model", "owned_by": "anthropic" }
  ]
}

Model List

Available chat models and prices (per 1M tokens), same source as the pricing page.

Loading

Third-party Integration

Integrate via Claude Code / Codex / Gemini / CC-Switch — see CLI / VS Code setup on the left.