Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tokmodel.com/llms.txt

Use this file to discover all available pages before exploring further.

TokModel is a unified API gateway that gives you a single base URL — https://tokmodel.com — to access over 30 AI model providers. Instead of managing separate API keys, SDKs, and integrations for each provider, you point your existing code at TokModel and route requests to any supported model without changing anything else. If you already use the OpenAI SDK or any OpenAI-compatible client, you can switch to TokModel in seconds.
TokModel is fully OpenAI-compatible. You don’t need to change your SDK, client library, or request format — just update your base URL and API key.

How it works

Your application sends requests to https://tokmodel.com using the same format as the OpenAI API. TokModel authenticates your request with your API key, routes it to the appropriate provider, and returns the response in the format your client already expects. Credits are deducted from your account balance based on the model and token usage of each request.

Supported endpoints

TokModel exposes the following OpenAI-compatible endpoints:

Chat completions

Generate conversational responses and multi-turn dialogue using models from OpenAI, Anthropic, Google, and more via /v1/chat/completions.

Responses

Stream or receive structured model outputs using the newer /v1/responses endpoint.

Embeddings

Convert text into high-dimensional vectors for semantic search, clustering, and retrieval via /v1/embeddings.

Image generation

Create, edit, and vary images with leading image models via /v1/images/generations.

Audio

Convert text to speech, transcribe audio files, and translate spoken audio via /v1/audio/speech, /v1/audio/transcriptions, and /v1/audio/translations.

Reranking

Score and reorder a list of documents by relevance to a query via /v1/rerank.
TokModel also supports the Anthropic messages format at /v1/messages for clients using the Anthropic SDK directly.

Next steps

Quickstart

Create an account, get your API key, and make your first request in under 5 minutes.

Open the console

Manage your API keys, view usage, and top up credits from your account dashboard.