chainId 46630 · USDG
Builder / Integration

Developers

Create API keys, send a test request, and connect your app to distributed inference.

Send your first request

A real API call, with the full response available to inspect.

Uses your free daily allowance. The secret stays in this form’s memory.

BASE URLhttps://permutecompute.xyz/api/chat/completions
curl https://permutecompute.xyz/api/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen-lite","messages":[{"role":"user","content":"Hello"}]}'
Use your full secret key in requests. Key previews cannot authenticate. Paid models require available credits.

API keys

Keys are tied to your verified wallet. Keep the full secret safe; it is shown only once.

Compute API (beta)

list_gpus · submit_job · job_status · cancel_job · get_receipt · rent_gpu — see docs/API.md

# list_gpus
curl -s https://permutecompute.xyz/api/v1/compute/gpus

# submit_job → job_id in response
curl -s https://permutecompute.xyz/api/v1/compute/jobs \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"inference","model":"qwen-lite","messages":[{"role":"user","content":"Hello"}]}'

# get_receipt
curl -s https://permutecompute.xyz/api/v1/compute/jobs/JOB_ID/receipt \
  -H "Authorization: Bearer YOUR_API_KEY"

# cancel_job (while running — no rental required)
curl -s -X POST https://permutecompute.xyz/api/v1/compute/jobs/JOB_ID/cancel \
  -H "Authorization: Bearer YOUR_API_KEY"

Response metadata

net.routing.source · net.job_id · net.settlement_tx · usage.total_tokens

Use Authorization: Bearer permute_sk_… on /api/chat/completions and all compute routes.