> ## 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: A Unified LLM API Gateway for Developers

> Learn what TokModel is, how the OpenAI-compatible gateway works, and which endpoint types and providers are available for your applications.

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.

<Note>
  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.
</Note>

## 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:

<CardGroup cols={2}>
  <Card title="Chat completions" icon="message-square" href="/guides/chat-completions">
    Generate conversational responses and multi-turn dialogue using models from OpenAI, Anthropic, Google, and more via `/v1/chat/completions`.
  </Card>

  <Card title="Responses" icon="zap" href="/api-reference/responses">
    Stream or receive structured model outputs using the newer `/v1/responses` endpoint.
  </Card>

  <Card title="Embeddings" icon="layers" href="/guides/embeddings">
    Convert text into high-dimensional vectors for semantic search, clustering, and retrieval via `/v1/embeddings`.
  </Card>

  <Card title="Image generation" icon="image" href="/guides/image-generation">
    Create, edit, and vary images with leading image models via `/v1/images/generations`.
  </Card>

  <Card title="Audio" icon="mic" href="/guides/audio">
    Convert text to speech, transcribe audio files, and translate spoken audio via `/v1/audio/speech`, `/v1/audio/transcriptions`, and `/v1/audio/translations`.
  </Card>

  <Card title="Reranking" icon="arrow-up-down" href="/guides/reranking">
    Score and reorder a list of documents by relevance to a query via `/v1/rerank`.
  </Card>
</CardGroup>

TokModel also supports the Anthropic messages format at `/v1/messages` for clients using the Anthropic SDK directly.

## Next steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Create an account, get your API key, and make your first request in under 5 minutes.
  </Card>

  <Card title="Open the console" icon="layout-dashboard" href="https://tokmodel.com/console">
    Manage your API keys, view usage, and top up credits from your account dashboard.
  </Card>
</CardGroup>
