Spaces:
Configuration error
Configuration error
File size: 2,054 Bytes
cbde5f9 f6c38f3 cbde5f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | # TokenMix β One API Key, Every LLM
Access **GPT-5, Claude, Gemini, DeepSeek, Qwen** and **155+ other LLMs** through a single OpenAI-compatible API with consolidated billing.
π **Website**: [tokenmix.ai](https://tokenmix.ai)
π **Docs**: [tokenmix.ai/docs](https://tokenmix.ai/docs)
π» **GitHub**: [github.com/TokenMixAi](https://github.com/TokenMixAi)
π¦ **PyPI**: [pypi.org/project/tokenmix-tg-bot](https://pypi.org/project/tokenmix-tg-bot/)
π¦ **npm**: [npmjs.com/package/tokenmix-tg-bot](https://www.npmjs.com/package/tokenmix-tg-bot)
---
## What is TokenMix?
TokenMix is an **AI API aggregator** β instead of juggling 5 different provider accounts (OpenAI, Anthropic, Google, DeepSeek, Mistral...), you get **one key, one bill, one endpoint**.
Drop-in compatible with the OpenAI Python / Node SDKs β just change the `base_url` to `https://api.tokenmix.ai/v1`.
## Why developers use TokenMix
- π **One API key for 155+ models** β GPT-5, Claude Opus 4.5, Gemini 3, DeepSeek V3, Qwen, Mistral and more
- π³ **Unified billing** β pay-as-you-go from $0.10/M tokens
- π **Free $1 credit** to try every model
- β‘ **No rate limit juggling** β managed at our side
- π **OpenAI compatible** β drop-in replacement
## Open-source projects
| Project | Language | Install |
|---------|----------|---------|
| [tg-ai-bot (Python)](https://github.com/TokenMixAi/tg-ai-bot) | Python 3.9+ | `pip install tokenmix-tg-bot` |
| [tg-ai-bot (Node.js)](https://github.com/TokenMixAi/tg-ai-bot/tree/main/nodejs) | Node.js 18+ | `npm install -g tokenmix-tg-bot` |
Both are AI chatbots for Telegram with streaming + vision support β under 200 lines of code each.
## Get started in 60 seconds
1. Sign up at [tokenmix.ai](https://tokenmix.ai) (no credit card required)
2. Get your API key
3. Use the OpenAI SDK with `base_url=https://api.tokenmix.ai/v1`
```python
from openai import OpenAI
client = OpenAI(api_key="tm-...", base_url="https://api.tokenmix.ai/v1")
client.chat.completions.create(model="gpt-5", messages=[...]) |