Skip to content

Get started

Quickstart

Get a key and make your first request in under a minute.

Get a key

Create one in your dashboard — scoped, rotatable, shown once.

Make a request

Use curl or your favourite SDK — only the base URL changes:

curl https://api.kumo.cloud/v1/chat/completions \
  -H "Authorization: Bearer $KUMO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-4",
    "messages": [{ "role": "user", "content": "Explain tokens in one line." }]
  }'

Verify the response

A successful call returns a normal completion JSON object. Look at choices[0].message.content for the reply text and usage for the exact token counts:

{
  "id": "chatcmpl-8f2b7e10c9",
  "object": "chat.completion",
  "model": "claude-sonnet-4-6",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Tokens are the small text chunks a model reads and writes, in and out."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 12,
    "completion_tokens": 18,
    "total_tokens": 30
  }
}