TokAPI Docs

Models

The TokAPI model catalog — real model IDs for OpenAI- and Claude-compatible requests.

Use these model IDs in the model field of your requests. To fetch the live catalog at any time, call GET https://api.tokapi.ai/v1/models (no auth required).

Claude models

Claude models support roughly 1M tokens of context and up to 128k tokens of output.

Model IDNotes
claude-opus-4-8Flagship — Opus 4.8, ~1M context.
claude-opus-4-7Previous Opus generation.
claude-sonnet-4-6Balanced — Sonnet 4.6.
claude-sonnet-4-5Previous Sonnet generation.
claude-haiku-4-5Fastest — Haiku 4.5.
claude-haiku-3-5Lightweight legacy Haiku.

GPT models

Model IDNotes
gpt-5.5Latest flagship GPT.
gpt-5.4Prior GPT generation.
gpt-5.2Earlier GPT generation.

Fetch the live catalog

curl https://api.tokapi.ai/v1/models

Retrieve a single model with:

curl https://api.tokapi.ai/v1/models/claude-opus-4-8

See Set up Claude Code and Set up Codex for how to wire these IDs into your tools.

On this page