# BeeRoute Documentation

BeeRoute is an OpenAI-compatible LLM API gateway. One API key calls Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM and other leading models, plus image and video models such as GPT Image, Nano Banana, Seedance and Kling. You pay as you go in US dollars, and your balance never expires.

## Quick facts

| Item | Value |
| :--- | :--- |
| Base URL | `https://beeroute.ai` (OpenAI SDKs use `https://beeroute.ai/v1`) |
| Authentication | `Authorization: Bearer sk-xxx` (the Claude API also accepts `x-api-key`; the Gemini API also accepts `x-goog-api-key`) |
| API formats | OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, Gemini generateContent, Embeddings, Rerank, Images, Video, Audio |
| Models and prices | [https://beeroute.ai/modellist/](https://beeroute.ai/modellist/), or `GET https://beeroute.ai/v1/models` |
| Billing | Pay as you go in USD. No subscription; unused paid balance is refundable |

## Get started in 3 steps

1. **Sign up and add credit**: create an account at [beeroute.ai](https://beeroute.ai/sign-up), then top up on the [Wallet](https://beeroute.ai/wallet) page.
2. **Create an API key**: open the [API Keys](https://beeroute.ai/keys) page and create a key (it looks like `sk-xxx`).
3. **Make your first request**:

```bash
curl https://beeroute.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```

To switch providers, change only `model`, for example to `gpt-6.2-sol`, `gemini-4-neon` or `deepseek-flash`.

## Use BeeRoute in your tools

- **Coding agents**: [Claude Code](agent/claude-code.md), [Codex](agent/codex.md), [Cursor](agent/cursor.md), [Cline](agent/cline.md), [OpenCode](agent/opencode.md) and [more](agent/README.md).
- **SDKs and frameworks**: any library built on the OpenAI SDK, including LangChain and LlamaIndex. Set the base URL to `https://beeroute.ai/v1` and use your BeeRoute key. See [OpenAI SDK Quick Start](coding/openai.md).
- **Chat apps**: LobeChat, Cherry Studio, ChatBox, Open WebUI and other apps that accept a custom OpenAI endpoint.

?> Some apps need the full path in the custom URL. Try `https://beeroute.ai/v1` first; if that fails, try `https://beeroute.ai` or `https://beeroute.ai/v1/chat/completions`.

## API reference

- Text: [Chat Completions](coding/openai-chat.md), [Responses](coding/openai-responses.md), [Claude Messages](coding/claude.md), [Gemini generateContent](coding/gemini.md)
- Images: [GPT Image](coding/gpt-image-2.md), [Nano Banana](coding/nano-banana.md), [Seedream](coding/seedream.md)
- Video: [Seedance](coding/seedance2.0-video.md), [Kling](coding/kling-video.md), [Vidu](coding/vidu-video.md), [Wan 3.0](coding/wan3.0-video.md), [HappyHorse](coding/happyhorse-video.md), [MiniMax](coding/minimax-video.md)
- Other: [Embeddings](coding/openai-embedding.md), [Rerank](coding/rerank.md), [Usage API](coding/openapi.md)

## Why BeeRoute

- **One key, every major model**: no separate accounts, billing or SDKs for each provider.
- **Native formats**: besides the OpenAI format, the Anthropic Messages and Gemini APIs are relayed natively, so official SDKs and tools work unchanged.
- **Transparent billing**: every request is logged with its token count and cost. Prices are published on the [pricing page](https://beeroute.ai/modellist/).
- **No subscription**: pay only for what you use. Credits never expire. See the [refund policy](https://beeroute.ai/refund-policy.html).

## Contact

Email [service@beeroute.ai](mailto:service@beeroute.ai). BeeRoute is operated by Astro Polaris Technology Limited.
