Quickstart

Quickstart

From zero to running in a few minutes.

Sign up

Create a free account at nexotao.com. Just an email and a password.

Top up your balance

Top up your Rupiah balance from Rp 10,000 via QRIS or crypto (USDT / USDC). The balance never expires and is billed per token as you use it — no subscription. Model rates have no markup; the service fee and any QRIS or crypto network fee are shown separately before payment.

Create an API key

In the dashboard, open API Keys and create a new key. It looks like sk-nexo-....

⚠️

The key is shown in full only once. Save it right then — if you lose it, you have to revoke it and create a new one.

First request

Prefer no code first? Open the Playground — paste your key, pick a model, send. New to the terms? Read Core Concepts.

Easiest path: the OpenAI endpoint (/v1/chat/completions) — it works for every model, including Claude. Not sure which to pick? See Endpoints & Formats.

OpenAI format (/v1/chat/completions) — every model:

from openai import OpenAI
 
client = OpenAI(base_url="https://api.nexotao.com/v1", api_key="sk-nexo-...")
 
resp = client.chat.completions.create(
    model="qwen3-coder-next",  # or claude-opus-4-6, nova-micro, etc.
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Every response includes an X-Cost-Rp header (the actual cost in Rupiah) and X-Request-Id. See Billing & Pricing for details.

Switch models by changing one string

Same call, cheaper or stronger — just change the model:

  • claude-opus-4-6 — flagship reasoning, vision, tools, and a 1M-token context.
  • qwen3-coder-next — agentic coding with a 256K-token context.
  • nova-micro — the lowest-priced agentic model in the Phase 1 catalog.
  • deepseek-v3-2 or gpt-oss-20b — chat-only; do not use them in clients that require tool calling.
⚠️

Model IDs are case-sensitive — copy them exactly from GET /models.

Browse every model and today’s price at nexotao.com/harga.

Next