Chat Completions API

Start with Rp2,000. Many models.

Set up your API key and choose your AI model. Top up from Rp2,000 when payments open and pay for what you use.

Model catalog.

Compare prices per million tokens. Input is the text you send, and output is the model’s response.

Filter & sort

Showing 1–8 of 44 models

Price comparison

Top up or pick a plan.

Use your balance to pay as you go. Plans give you an allowance for selected models while your plan is active.

Rp

Top up from Rp2.000.

View summary

One API, many models.

Pick a model and copy the example into your project. Using n8n? Download and import the workflow.

Open the docs
POST /v1/chat/completions
Destination modelQwen3.8 Flash
quickstart.py
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["TOKOTOKEN_API_KEY"],
    base_url="https://tokotoken.co/v1",
)

result = client.chat.completions.create(
    model="qwen/qwen3.8-flash",
    messages=[{"role": "user", "content": "Hello, Tokotoken!"}],
    max_tokens=256,
)
print(result.choices[0].message.content)

Ready to try it? Create an API key.

Create API key