Docs
Quota developer quickstart
Use Quota through a standard OpenAI-compatible API, issue your own API keys, and choose the route that fits the task.
Quickstart
- 1. Buy a prepaid Quota Token pack.
- 2. Create a Quota API key in the dashboard.
- 3. Send requests to the base URL with a model alias such as
quota/sonnet.
Base URL
https://api.quota.host/v1
API key format
qta_live_...
Model aliases
quota/yunyi-gpt-5-4
Yunyi GPT-5.4 (OpenAI-compatible)
quota/yunyi-gpt-5-5
Yunyi GPT-5.5 (OpenAI-compatible)
quota/codex-gpt-5-6-sol
Codex · GPT 5.6 Sol
quota/codex-gpt-5-6-luna
Codex · GPT 5.6 Luna
quota/codex-gpt-5-6-terra
Codex · GPT 5.6 Terra
quota/codex-gpt-5-5
Codex · GPT 5.5
quota/codex-gpt-5-4
Codex · GPT 5.4
quota/codex-opus-4-8
Codex · Opus 4.8
quota/codex-opus-4-7
Codex · Opus 4.7
quota/codex-sonnet-4-6
Codex · Sonnet 4.6
quota/codex-gpt-5-2
Codex · GPT 5.2
quota/codex-auto-review
Codex · Auto Review
quota/yunyi-opus-4-8
Yunyi · Opus 4.8
quota/yunyi-opus-4-7
Yunyi · Opus 4.7
quota/yunyi-sonnet-4-6
Yunyi · Sonnet 4.6
quota/yunyi-opus-4-8-thinking
Yunyi · Opus 4.8 Thinking
quota/newcli-opus-4-8-thinking
NewCLI · Opus 4.8 Thinking
freetheai/gemini-3.1-flash-lite
Quota coding route
freetheai/gemini-3.5-flash
Quota coding route
freemodel/gpt-5-3-codex
Quota coding route
cfworkers/glm-5.2
Quota coding route
freemodel/claude-haiku-4-5
Quota coding route
freemodel/gpt-5-4-mini
Quota coding route
freemodel/gpt-5-4
Quota coding route
cfworkers/glm-4.7
Quota coding route
freemodel/claude-opus-4-6
Quota coding route
cfworkers/kimi-k2.7-code
Quota coding route
freemodel/gpt-5-5
Quota coding route
freemodel/claude-sonnet-4-6
Quota coding route
freeapi/qwen2.5-coder-32b
Quota coding route
freetheai/deepseek-v4-flash
Quota coding route
cfworkers/kimi-k2.6
Quota coding route
freemodel/claude-opus-4-7
Quota coding route
freemodel/claude-opus-4-8
Quota coding route
cfworkers/qwen2.5-coder-32b
Quota coding route
newcli/haiku-4-5
Quota coding route
freetheai/gpt-5.5-mini
Quota coding route
cfworkers/deepseek-r1-32b
Quota coding route
newcli/sonnet-4-6
Quota coding route
newcli/opus-4-7
Quota coding route
freetheai/glm-4.7
Quota coding route
freetheai/grok-4.1-fast
Quota coding route
newcli/opus-4-8
Quota coding route
freeapi/kimi-k2.6
Quota coding route
newcli/opus-4-8-thinking
Quota coding route
freeapi/kimi-k2.7-code
Quota coding route
freetheai/minimax-m3
Quota coding route
freetheai/glm-5
Quota coding route
freetheai/kimi-k2.7-code
Quota coding route
iamhc/step-3.7-flash
iamhc ? Step 3.7 Flash
freeapi/glm-4.7
Quota coding route
gemini/2.5-flash
Quota coding route
gemini/2.5-pro
Quota coding route
gemini/3-flash
Quota coding route
freetheai/deepseek-v3.1
Quota coding route
freeapi/glm-5.2
Quota coding route
gemini/3-pro
Quota coding route
freetheai/glm-5.1
Quota coding route
fox/codex-auto-review
Quota coding route
freeapi/deepseek-r1-32b
Quota coding route
gemini/3.1-pro
Quota coding route
iamhc/glm-5.1
iamhc ? GLM-5.1
fox/gpt-5.2
Quota coding route
freetheai/deepseek-v4-pro
Quota coding route
fox/gpt-5.3-codex
Quota coding route
iamhc/glm-5.2
iamhc ? GLM-5.2
fox/gpt-5.4-mini
Quota coding route
fox/gpt-5.4
Quota coding route
iamhc/glm-4.7
iamhc ? GLM-4.7
fox/gpt-5.5
Quota coding route
freetheai/glm-5.2
Quota coding route
fox/gpt-5.6-terra
Quota coding route
fox/gpt-5.6-luna
Quota coding route
fox/gpt-5.6-sol
Quota coding route
iamhc/DeepSeek-V4-Pro
iamhc ? DeepSeek-V4-Pro
iamhc/MiniMax-M3
iamhc ? MiniMax-M3
codex-gpt-5-6-sol
Codex · GPT 5.6 Sol
codex-gpt-5-6-terra
Codex · GPT 5.6 Terra
codex-gpt-5-6-luna
Codex · GPT 5.6 Luna
codex-gpt-5-2
Codex · GPT 5.2
codex-auto-review
Codex · Auto Review
yunyi-opus-4-8-thinking
Yunyi · Opus 4.8 Thinking
newcli-opus-4-8-thinking
NewCLI · Opus 4.8 Thinking
Streaming
Streaming support depends on the selected route. Check route availability and test with your Quota API key before wide rollout.
Controlled user note
Do not send highly sensitive data through best-effort community routes. Route multipliers apply to total token usage.
bash
curl https://api.quota.host/v1/chat/completions \
-H "Authorization: Bearer qta_live_..." \
-H "Content-Type: application/json" \
-d '{
"model": "quota/sonnet",
"messages": [
{"role": "user", "content": "Summarize this diff and suggest next edits."}
]
}'javascript
const response = await fetch("https://api.quota.host/v1/chat/completions", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer qta_live_...",
},
body: JSON.stringify({
model: "quota/sonnet",
messages: [{ role: "user", content: "Review this pull request." }],
}),
});
const data = await response.json();python
import requests
response = requests.post(
"https://api.quota.host/v1/chat/completions",
headers={
"Authorization": "Bearer qta_live_...",
"Content-Type": "application/json",
},
json={
"model": "quota/sonnet",
"messages": [{"role": "user", "content": "Generate release notes from these commits."}],
},
)
print(response.json())json
{
"error": {
"code": "insufficient_balance",
"message": "Your Quota balance is too low for this route.",
"type": "billing_error"
}
}json
{
"usage": {
"input_tokens": 1800,
"output_tokens": 3400,
"route_multiplier": "x3",
"charged_quota_tokens": 15600
}
}