Skip to content

Quickstart

View as Markdown
  1. Sign up. Open vikey.ai/register. Sign up with email or Google. Email sign-up sends a 6-digit code to your inbox.

  2. Top up. In the dashboard, open Billing, then Top up. Pay with QRIS from any e-wallet or mobile banking app, from Rp10.000. The balance arrives automatically once the payment is confirmed, usually within seconds. Details in Top up and balance.

  3. Create an API key. Open API Keys in the dashboard and create a new key with a name such as laptop or claude-code. Keep it somewhere safe. This key goes into every request.

  4. Send your first request. Replace YOUR_API_KEY with the key from step 3.

    Terminal window
    curl https://api.vikey.ai/v1/chat/completions \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "model": "openai/gpt-6-luna",
    "messages": [{"role": "user", "content": "Hi, which model are you?"}]
    }'

    The response follows the OpenAI format: choices holds the answer and usage holds the token counts.

  5. Check your usage. Open Usage in the dashboard. Every request is recorded per model with its tokens and cost in Rupiah.

What you see Meaning What to do
401 with Invalid API key Wrong key, or a space was copied with it Copy the key again from the dashboard
402 with Insufficient balance No balance, or not enough for this request Top up and send it again
404 with Model '...' not found Wrong model id, or the model is inactive Get the correct id from GET /v1/models

The full list is in Errors.