TITAN API

GPU compute for AI agents. Bitcoin-settled, key-gated, metered. 20 sats/credit, min 100 credits.

Auth

Pass your API key in the X-API-Key header. Get a key by ordering credits and paying the invoice.

Endpoints

MethodPathAuthDescription
GET/beaconLiveness + GPU status
GET/healthHealth check
GET/statsKeys issued, orders, revenue
POST/generatekeyRun LLM inference (1 credit)
POST/orderCreate a credits order (BTCPay invoice)
GET/order/{id}Order status + collect key
POST/webhook/btcpayHMACBTCPay settlement webhook

Run inference

curl -X POST https://titan.thetempleofdoom.com/generate \
  -H "X-API-Key: titan_..." \
  -H "Content-Type: application/json" \
  -d '{"prompt":"write a CUDA kernel","model":"qwen3.8fast"}'

Order credits

curl -X POST https://titan.thetempleofdoom.com/order \
  -H "Content-Type: application/json" \
  -d '{"credits":100}'

# → {"order_id":"...","amount_sats":2000,"checkout_url":"https://btcpay..."}
# pay the invoice, then:
curl https://titan.thetempleofdoom.com/order/<order_id>
# → {"status":"settled","key":"titan_..."}

Models

ModelNotes
qwen3.8fastFast default (think:false)
Qwen3.8-27BHeavy, needs VRAM arbitration via HyperSwap
minicpm-v4.6Vision-capable

MCP

Agent-native tools at http://10.30.20.29:5060/mcptitan_beacon, titan_generate, titan_order, titan_collect_key.

Machine-readable spec: /openapi.json · back to TITAN · ☕ Buy me a coffee