Qubax API documentation
Build with 400+ models.
One API.
Everything you need to build with the Qubax AI API. Fully OpenAI-compatible — change the base URL and keep your code.
Quickstart
Make your first request.
curl https://api.qubax.ai/v1/chat/completions \
-H "Authorization: Bearer $QUBAX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4.8",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Base URL https://api.qubax.ai/v1
Browse the docs
24 pagesGetting started
Account, keys and your first request.
API reference
OpenAI-compatible endpoints under api.qubax.ai/v1.
- Chat CompletionsFull reference for the completions endpoint.
- Responses APIThe newer agent interface — works with OpenAI Codex.
- Streaming ResponsesStream tokens as they are generated over SSE.
- Image GenerationText-to-image, mirrors the OpenAI Images API.
- Audio (TTS & STT)Generate speech and transcribe audio files.
- EmbeddingsVectors for search, clustering and classification.
SDKs & tools
Official OpenAI SDKs and coding agents, unchanged.
Guides
Routing, savings and production limits.
Billing
Per-token pricing and crypto top-ups.
Up to 99% below OpenRouter prices.
Same models, same SDKs. Pay per token with crypto — no subscription, no card.