Interactive Sandbox
API Playground
Explore the Qube Compute API with live request/response examples. Test endpoints before writing code.
Live API launching July 2027. Below are interactive examples of the API interface.
Endpoints
POST/v1/chat/completions
Chat Completion (Groq LPX)
curl -X POST https://api.qubecompute.com/v1/chat/completions \
-H "Authorization: Bearer qb_demo_key_xxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.3-70b",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain GPU cloud computing in 2 sentences."}
],
"temperature": 0.7,
"max_tokens": 256
}'Base URL:
OpenAI-compatible APIapi.qubecompute.comAuth: Bearer tokenSDK & Integration
🐍
Python SDK
pip install qubecompute
from qubecompute import Client
client = Client(api_key="qb_...")Coming Q3 2027📦
Node.js SDK
npm i @qubecompute/sdk
import { Qube } from '@qubecompute/sdk'
const qb = new Qube({ apiKey: "qb_..." })Coming Q3 2027💻
CLI
brew install qubecompute-cli
qube auth login
qube instance create \
--gpu rubin-r100 --count 72Coming Q3 2027Ready to Build?
Create your account to get API keys and $500 free compute credits.