Quickstart
Create an API key and make your first request in under two minutes.
The API exposes the Completions / Responses API and the Messages API. Clients that already support either surface can use Zro by changing the base URL and API key. This page takes you through a first request and then hands off to the API reference and integrations.
1. Create an API key
- Sign in or create an account at zro.moonmath.ai.
- Subscribe to a plan or add a usage pack if you have not already.
- Open Account → API keys and create a key. Copy it once; only a hash is stored.
Keys start with sk-. Treat them like passwords: keep them out of client-side
code, public repos, and logs. If a key leaks, revoke it and create a new one.
2. Set the endpoint
There are two API surfaces:
| Surface | Base URL | Works with |
|---|---|---|
| Completions / Responses | https://zro.moonmath.ai/v1 | Most SDKs and tools |
| Messages | https://zro.moonmath.ai | Claude Code and Messages clients |
Every request authenticates with a bearer token:
3. Make a request
4. Connect a coding agent
If you are wiring up Claude Code, Codex, OpenCode, Cursor, or another harness,
the zro CLI configures it for the current session
without touching your normal config files: