Base URL: https://tsung-cp.a0985344368.workers.dev
Authorization: Bearer YOUR_API_KEY
{
"prompt": "Analyze the competitive landscape of...",
"task_type": "general",
"max_tokens": 2000
}
Routes to the optimal LLM provider based on task type and complexity.
{
"prompt": "Quick question...",
"providers": ["groq", "cerebras", "deepseek"]
}
Races multiple providers, returns the fastest response.
{
"prompt": "Should we invest in...",
"council_size": 3
}
Gets independent responses from 3+ models and synthesizes a consensus.
{
"task": "Review this architecture...",
"type": "code-review",
"context": "Additional context..."
}
Multi-LLM swarm with TriCollision consensus scoring.
| Plan | Requests/month | Rate limit |
|---|---|---|
| Starter | 5,000 | 10 req/min |
| Pro | 10,000 | 30 req/min |
| Business | 50,000 | 100 req/min |
| Enterprise | Custom | Custom |
{
"success": true,
"content": "AI response...",
"provider": "deepseek",
"tokens": 1234,
"latency_ms": 850
}
401 — Invalid or missing API key
429 — Rate limit exceeded
500 — Provider error (automatic retry with failover)