# Unitool API > Unitool public API: OpenAI-compatible chat completions for text models and async media generations (image, video, audio) on one token balance. Base URL https://api.unitool.ai/v1, auth `Authorization: Bearer ut_live_...`. Every page has a Markdown twin linked below. ## Docs (English) - [Overview](https://unitool.ai/developers-md/en/overview.md): what the API is, endpoints, what we store - [Quickstart](https://unitool.ai/developers-md/en/quickstart.md): key, base URL, curl, OpenAI Python/JS SDK, streaming - [Authentication](https://unitool.ai/developers-md/en/authentication.md): Bearer keys, scopes, spend limits, test keys, IP allowlists, rotation, leaked-key revocation, API keys in MCP - [Models](https://unitool.ai/developers-md/en/models.md): model ids, model:mode for media, GET /v1/models, prices, deprecation and 410 model_retired - [Chat (LLM)](https://unitool.ai/developers-md/en/chat-completions.md): POST /v1/chat/completions: params, ignored params, streaming, usage.cost_tokens, tools, attachments, web search - [Anthropic API and Claude Code](https://unitool.ai/developers-md/en/messages.md): POST /v1/messages for Claude models, Claude Code env, Anthropic SDK, supported and refused fields, Anthropic error envelope, count_tokens - [Responses API and Codex CLI](https://unitool.ai/developers-md/en/responses.md): stateless POST /v1/responses, Codex CLI env, items, tools incl. custom and web_search, stream events, response.failed and charging - [Media generations](https://unitool.ai/developers-md/en/generations.md): POST /v1/generations: async flow, Prefer: wait, Idempotency-Key, quotes, max_cost_tokens, file inputs, 7-day retention - [Images and speech (OpenAI)](https://unitool.ai/developers-md/en/images-audio.md): /v1/images/generations, /v1/images/edits, /v1/audio/speech, parameter mapping, 120 s wait, b64_json, retries - [Webhooks](https://unitool.ai/developers-md/en/webhooks.md): generation events, Standard Webhooks signature, verification snippets, retry schedule, rotation; endpoints managed in the account only - [Billing](https://unitool.ai/developers-md/en/billing.md): hold of input + max output, 402 with affordable tokens, disconnects, partial answers, receipts, GET /v1/usage - [Errors](https://unitool.ai/developers-md/en/errors.md): every error code with an anchor (doc_url targets) - [Limits and headers](https://unitool.ai/developers-md/en/rate-limits.md): GCRA rate limits, RateLimit headers, concurrency, request ids, retries - [Changelog](https://unitool.ai/developers-md/en/changelog.md): API changes ## Документация (русский) - [API Unitool](https://unitool.ai/developers-md/ru/overview.md) - [Быстрый старт](https://unitool.ai/developers-md/ru/quickstart.md) - [Аутентификация](https://unitool.ai/developers-md/ru/authentication.md) - [Модели](https://unitool.ai/developers-md/ru/models.md) - [Чат (LLM)](https://unitool.ai/developers-md/ru/chat-completions.md) - [Anthropic API и Claude Code](https://unitool.ai/developers-md/ru/messages.md) - [Responses API и Codex CLI](https://unitool.ai/developers-md/ru/responses.md) - [Генерации медиа](https://unitool.ai/developers-md/ru/generations.md) - [Картинки и речь (OpenAI)](https://unitool.ai/developers-md/ru/images-audio.md) - [Вебхуки](https://unitool.ai/developers-md/ru/webhooks.md) - [Биллинг](https://unitool.ai/developers-md/ru/billing.md) - [Ошибки](https://unitool.ai/developers-md/ru/errors.md) - [Лимиты и заголовки](https://unitool.ai/developers-md/ru/rate-limits.md) - [Изменения](https://unitool.ai/developers-md/ru/changelog.md) ## Optional - [HTML docs](https://unitool.ai/en/developers): the same pages for people, with the live model catalog and a page per model - [Model catalog](https://unitool.ai/en/developers/models): live prices of text models; machine-readable: `GET https://api.unitool.ai/v1/models` - [Unitool MCP](https://unitool.ai/en/mcp): the same models for agents, sign-in, or an API key with the mcp scope and no spend limit; setup for agents at https://unitool.ai/mcp.md