Test Taotok API endpoints in your browser. One API key, all models. OpenAI-compatible.
curl https://api.taotok.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"model":"gpt-4o","messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"Explain what an AI API gateway is in one sentence."}]}'
All requests require an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Get your key from the Console after registration.
https://api.taotok.io
Create a chat completion. Fully compatible with OpenAI's chat completions API.
{
"model": "gpt-4o",
"messages": [
{"role": "system", "content": "You are helpful."},
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7,
"max_tokens": 1024,
"stream": false
}
Set "stream": true to receive Server-Sent Events (SSE):
curl https://api.taotok.io/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}],"stream":true}'
List all available models for your account.
curl https://api.taotok.io/v1/models \ -H "Authorization: Bearer YOUR_API_KEY"
All models share a unified credit pool — one balance for everything. See pricing →
| gpt-4o | OpenAI GPT-4o |
| gpt-4o-mini | OpenAI GPT-4o Mini |
| gpt-4-turbo | OpenAI GPT-4 Turbo |
| claude-3-5-sonnet | Anthropic Claude 3.5 Sonnet |
| claude-3-opus | Anthropic Claude 3 Opus |
| claude-3-haiku | Anthropic Claude 3 Haiku |
| gemini-1.5-pro | Google Gemini 1.5 Pro |
| gemini-1.5-flash | Google Gemini 1.5 Flash |
| deepseek-chat | DeepSeek-V3 |
| deepseek-reasoner | DeepSeek-R1 |