Skip to content

Quickstart ​

Ten minutes to your first successful call. All you need is an API key.

1. Create a key ​

Sign in to the console, open API keys, and create one. The key is shown in full once — copy it then.

LeekBox console API keys page

Accounts created with email, GitHub, Google or LinuxDO start with $0.3 of trial credit, no top-up needed. A promo code at signup adds extra credit.

2. Pick your client ​

Each page is copy-paste ready:

3. Verify ​

bash
curl https://leekbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $LEEKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"hello"}]}'

A response with a usage field means billing is wired up. Every request shows up in the console under Usage.

First-step errors ​

SymptomCause
401Key missing, or a trailing space when pasting
404 model not in groupModel name copied from elsewhere, or not in your group
402 insufficient balanceTrial credit used up
Anthropic 401ANTHROPIC_BASE_URL includes /v1; use the bare domain

Full list in Errors.

LeekBox — unified AI gateway