The browser demo is public. Create a free developer key to use completions and batches. Each key lasts seven days and allows five jobs per hour, two requests per batch, and 64 output tokens per request. The pilot has shared capacity and runs while the first worker is online. Save the key privately. It is displayed once.
curl -X POST https://draft-api.stephendodge.xyz/v1/keys
Set DRAFT_API_KEY to the returned key.
curl https://draft-api.stephendodge.xyz/v1/chat/completions \
-H "Authorization: Bearer $DRAFT_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"model":"draft-smollm2-360m","messages":[{"role":"user","content":"List three colors."}],"max_tokens":24}'POST /v1/batches with a JSON object containing a requests array of one or two completion requests. Each response includes a job ID. Read GET /v1/batches/{id} for results or use POST /v1/batches/{id}/cancel. An optional Idempotency-Key lets you retry a submission safely. Results expire after 24 hours.
A chat request that takes longer than 65 seconds returns HTTP 202 with a polling URL. HTTP 429 means capacity is full. Keep your key on the server.
Worker status · Available model