Get started / Quickstart

DocsGet startedQuickstart

Quickstart

Make your first call in a few minutes: create a key, set the base URL, send a request.

On this page
  1. Create a key
  2. Set the base URL
  3. Send a request
  4. Next steps

01Create a key

  1. Sign up or sign in.
  2. Open API Keys in the console and click Create API Key.
  3. 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 speaksBase 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 /v1 where a tool needs it, and the request lands on the website: you get an HTML page back, often reported as Unexpected 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.

CONNECTION RECORDQUICKSTART
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
LIVE CHECKCommands run on the live APIEvery command on this page is run against intl.acctoken.com before it is published.ACCTOKEN DOCS DESK
curl https://intl.acctoken.com/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Say hello in one word."}]}'
Works in macOS and Linux terminals and in Git Bash on Windows.

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