1. Create your account and key
Open the console, sign in or sign up, and verify your email. In API keys, create a key and copy it before dismissing the dialog. The full key is shown once. New verified console accounts receive free starting credit once when their billing account is first created; pricing shows the current amount. Existing accounts are not topped up by signing in again. Credit activation can take a few seconds; if a request returnscredit_pending, wait and retry.
Set the key in your server or development environment:
2. Send a message
choices[0].message.content. Generation may include reasoning before answer text; allow enough output tokens and time for the response. For incremental output, use streaming Chat Completions.
3. Connect your tools
Use OpenAI-compatible clients for Chat Completions or stateless Responses. For Anthropic-format clients, use the root base URLhttps://api.derestricted.ai; their SDK appends /v1/messages.
You can also try the model in the console playground before writing code. Playground and API requests use the same account balance.
If your request fails, check errors and troubleshooting.