Quickstart
Get a key, send a request, and stream a first token.
Sign in, create a key, and send your first request.
Setting up a coding agent?
curl -fsSL https://boundless.md/install | shsigns you in, creates a key, and configures Claude Code, Codex CLI, OpenCode and others in one step. See Coding Agents & Harnesses.
1. Get an API key#
Sign up or sign in. A new account is designed to be active the moment you sign up. Your first top-up of $10 or more on Billing comes with $5 of free credits. Create an API key yourself on the API keys page. You can give it an expiry of 1, 7, 30 or 90 days, after which it stops working. You don't need a sales call. All your keys share one credit balance.
Customer keys are restricted to inference and model discovery. They cannot call account, key, team, billing, or gateway routes. The grant is published in the OpenAPI spec.
Put the key in an environment variable. Every example below reads it from there:
2. Make your first request#
Pick a snippet and run it. cURL prints the full JSON response. Python and TypeScript print the reply text. The response also has a usage object with exact token counts.
3. Stream the reply#
Set stream to true to get the reply as it is written. Set stream_options.include_usage to true to get exact token counts in the last chunk. Each snippet prints the text as it arrives, then the usage.
cURL
Python
TypeScript
The last chunk has an empty choices array and the usage object. Streaming explains the chunk format.
4. Check your usage#
Every response includes a usage object with exact token counts. Open the usage page to see per-request costs against your credit balance. If a number looks wrong, the receipt on that row is the source of truth. Tell us if it does not match what your client logged.
Next steps#
- Streaming: read chunks, usage and dropped streams.
- Tool calling: let the model call your functions.
- Reasoning: tune thinking and size
max_tokens. - Errors: every status and code, and how to retry safely.
- Coding Agents & Harnesses: set up Claude Code, Codex CLI, OpenCode and more.
- API Compatibility: the endpoints we serve and the ones we don't.