Overview
TokHive's OpenAI- and Anthropic-compatible APIs: endpoints, base URLs, authentication and errors. Official SDKs work after changing the base URL and key.
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.
Responses
OpenAI's Responses API, served by ChatGPT subscriptions. This is the recommended endpoint for OpenAI models. Point an official OpenAI SDK at https://api.tokhive.ai/v1 and call it as usual.
Chat Completions
OpenAI's Chat Completions format, for tools that do not speak Responses yet. TokHive converts the request to Responses and converts the result back into a chat.completion object, or a stream of chat.completion.chunk events. Supply, verification and billing are those of Responses. For new code, prefer Responses: it supports more of the model's features.
Messages
Anthropic's native Messages API, served by Claude subscriptions. Requests and responses are Anthropic's own format, unconverted, streaming and non-streaming. Point an official Anthropic SDK at https://api.tokhive.ai/anthropic and call it as usual.