Skip to main content

Models

Each API lists the models you can call through it. A model is listed when it is enabled, fully priced, and at least one online provider offers it. Momentary conditions, such as a busy account or a short rate limit, do not remove a model from the list, so a listed model can still occasionally return 503 no_supply.

OpenAI models​

GET /v1/models
GET /v1/models/{id}

Lists the OpenAI models you can call through Responses and Chat Completions, in OpenAI's format.

curl https://api.tokhive.ai/v1/models \
-H "Authorization: Bearer $HIVE_API_KEY"

Retrieving a model that is not in the list, including a Claude model, returns 404 model_not_found.

Claude models​

GET /anthropic/v1/models
GET /anthropic/v1/models/{id}

Lists the Claude models you can call through Messages, in Anthropic's format.

curl https://api.tokhive.ai/anthropic/v1/models \
-H "x-api-key: $HIVE_API_KEY"
{
"data": [
{
"type": "model",
"id": "claude-opus-5-5",
"display_name": "Claude Opus 5.5",
"created_at": "2026-09-01T00:00:00Z"
}
],
"has_more": false,
"first_id": "claude-opus-5-5",
"last_id": "claude-opus-5-5"
}

The whole list always fits on one page, so has_more is always false. Retrieving a model that is not in the list returns 404.

Codex model catalog​

GET /v1/codex/models

The model catalog Codex reads through model_catalog_url in its config. TokHive fetches it from the upstream for your Codex version and keeps only the models in /v1/models. It returns 404 codex_catalog_unavailable when no catalog is available yet. The console's Codex setup guide fills in this URL for you, so you rarely call it yourself.