Quick start
Create an account, get an API key and send your first request.
Get from zero to a working API call in a few minutes.
1. Create an account
- Open the sign-up page and register with your email address.
- Sign in, then open the Console from the navigation bar.
2. Create an API key
- Go to API Keys in the console.
- Click Add Key and give it a name (for example
production). - Copy the generated key — it is displayed only once, so store it safely.
3. Top up your balance
Open Wallet to check your balance and recharge. Every request is billed by usage; requests fail with 402 when the available quota is exhausted.
4. Send your first request
curl https://www.tokenmoo.com/v1/chat/completions \
-H "Authorization: Bearer sk-xxx" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-mini",
"messages": [
{ "role": "system", "content": "You are a helpful assistant." },
{ "role": "user", "content": "Hello!" }
]
}'You should receive a JSON response with the assistant message and token usage:
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"model": "gpt-4o-mini",
"choices": [
{
"index": 0,
"message": { "role": "assistant", "content": "Hello! How can I help you today?" },
"finish_reason": "stop"
}
],
"usage": { "prompt_tokens": 19, "completion_tokens": 9, "total_tokens": 28 }
}Next steps
- Authentication — headers and key handling
- Endpoints — full reference
- Billing — pricing and quotas