DocsGet startedQuickstart
Quickstart
Make your first call in a few minutes: create a key, set the base URL, send a request.
01Create a key
- Sign up or sign in.
- Open API Keys in the console and click Create API Key.
- Copy the whole key. Treat it like a password: anyone who has it can spend your balance.
Leave Model Limits empty and the key can call every model. You can also set a Quota (USD) under Quota Settings, an Expiration Time and an IP Whitelist (supports CIDR).
02Set the base URL
Use the root URL for Anthropic and Gemini formats, and add /v1 for OpenAI formats:
| Your tool speaks | Base URL |
|---|---|
| Anthropic Messages (Claude Code, Anthropic SDK) | https://intl.acctoken.com |
| OpenAI Chat Completions or Responses (Codex, Cursor, Cline, OpenAI SDK) | https://intl.acctoken.com/v1 |
| Gemini generateContent (Gemini CLI) | https://intl.acctoken.com |
The mistake almost everyone makes
- Leave out
/v1where a tool needs it, and the request lands on the website: you get an HTML page back, often reported asUnexpected token '<'. - Add it where the tool already adds it, and the path doubles:
404 Invalid URL (POST /v1/v1/chat/completions).
03Send a request
This call uses the OpenAI Chat Completions format, which every chat model supports.
- Format
- OpenAI Chat Completions
- Base URL
https://intl.acctoken.com/v1+ /v1- API key
YOUR_API_KEYfrom API Keys- Model
deepseek-v4.1-flashany chat model on the Models page
You should get a one-word greeting such as Hello. The full JSON response also has a usage block with the tokens you were billed for. Got an error instead? Look up the message in Errors.
Timeouts
Some models, GPT models in particular, can take up to about three minutes to return a long reply without streaming. Set your client timeout to at least 300 seconds, or use streaming.
04Next steps
- Connect your tool: Claude Code, Codex, Cursor, Cline, Gemini CLI, or the OpenAI and Anthropic SDKs.
- Pick a model: Model IDs explains where IDs come from.
- Check what you spent: every successful call appears in Usage Logs.