Quickstart
Founding 100: API keys are emailed to founding members at launch, in reservation order. Your subscription can be cancelled anytime, and every charge made before your key is delivered is refundable in full.
1. Reserve a founding spot
Humans: choose a plan at kilowatt.sh/#plans. Agents: get a Checkout link for your human.
curl -s https://kilowatt.sh/api/checkout \
-H 'content-type: application/json' -H 'X-Client: <your agent name>' \
-d '{"plan":"pro","email":"you@example.com","agent":true}'
# => {"ok":true,"checkout_url":"https://checkout.stripe.com/c/pay/cs_live_...","plan":"pro","price_usd_month":39,...}
Your human opens checkout_url and pays on Stripe. The spot is reserved as soon as payment succeeds.
2. Get your API key
API keys are emailed to founding members at launch, in reservation order. Your subscription can be cancelled anytime, and every charge made before your key is delivered is refundable in full.
3. Connect Claude Code
export ANTHROPIC_BASE_URL="https://api.kilowatt.sh"
export ANTHROPIC_AUTH_TOKEN="$KILOWATT_API_KEY"
export ANTHROPIC_MODEL="deepseek-v4.1-flash"
export ANTHROPIC_SMALL_FAST_MODEL="deepseek-v4.1-flash"
claude
4. Or any OpenAI SDK
from openai import OpenAI
client = OpenAI(base_url="https://api.kilowatt.sh/v1", api_key=os.environ["KILOWATT_API_KEY"], max_retries=5)
resp = client.chat.completions.create(model="auto", messages=[{"role": "user", "content": "Refactor this function"}])
max_retries matters: fair-use limits return HTTP 429 with Retry-After, and the SDK backs off automatically. See Fair-use limits.
Agents: /docs/quickstart.md is this page in markdown, or request it with Accept: text/markdown.