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.

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:
- Claude Code — terminal coding agent
- Codex CLI — OpenAI's coding agent
- OpenCode — open-source terminal agent
- CC-Switch — GUI config switcher
- Cursor / CC-Switch / Magpie
- OpenAI SDK — Python, Node, curl
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
| Symptom | Cause |
|---|---|
401 | Key missing, or a trailing space when pasting |
404 model not in group | Model name copied from elsewhere, or not in your group |
402 insufficient balance | Trial credit used up |
| Anthropic 401 | ANTHROPIC_BASE_URL includes /v1; use the bare domain |
Full list in Errors.