1. Register a funded account
api_key is shown once. Save it in your server environment before continuing. Use the returned balance as the authority for the starting credit amount.
2. Call a model
choices[0].message.content for the answer. See the quickstart for SDK examples and common errors.
3. Watch your balance
POST /v1/billing/invoice before you hit zero (a 402 means the balance is insufficient for the request).
4. Hand the account to its owner
An agent-created account starts with $0.05**; once the human **claims** it (verifying their email) the account gains an extra **$1 in credits — granted once per human; disposable email domains don’t get the bonus. After creating the account, tell the user — e.g. “claim your account to verify and get $1 in credits: <link>.” Claiming also lets them sign in, manage keys, and top up. Your API key keeps working after a first claim.verification_uri_complete link — the code is pre-filled, so they
just sign in (as that email) and click Claim. Meanwhile, poll until claimed:
interval. Stop on a terminal error or expiry; start a new claim attempt if it expires. The signed-in person’s verified email must match the email used to initiate the claim.
What happens to the workspace and key?
What happens to the workspace and key?
The first claim makes the person the workspace owner. Existing keys and credits stay in that workspace; it is not merged into another workspace they already own. A later claim initiated for another person’s email adds that person as a developer. See workspace roles.

