Start making AI API calls billed in IDR in under 5 minutes.
Sign up with your email and company name.
Sign up →Your key is shown once after sign-up. It starts with nusara_sk_.
You can generate additional keys from your dashboard at any time.
Go to your dashboard and click Top Up. Minimum deposit Rp 10.000, paid via Midtrans (transfer bank, QRIS, kartu kredit).
The API is OpenAI-compatible — drop in your key and change the base URL.
curl https://api.nusara.ai/v1/chat/completions \
-H "Authorization: Bearer nusara_sk_..." \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o",
"messages": [{"role": "user", "content": "Halo!"}]
}'
Add "stream": true for server-sent events.
curl https://api.nusara.ai/v1/chat/completions \
-H "Authorization: Bearer nusara_sk_..." \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o-mini",
"messages": [{"role": "user", "content": "Halo!"}],
"stream": true
}'
See the models page for full pricing. Pass the model ID exactly as shown.
openai/gpt-4o openai/gpt-4o-mini anthropic/claude-opus-4-7 anthropic/claude-sonnet-4-6 anthropic/claude-haiku-4-5-20251001
Works with any OpenAI-compatible SDK — just set the base URL.
# Python
from openai import OpenAI
client = OpenAI(
api_key="nusara_sk_...",
base_url="https://api.nusara.ai/v1"
)
# Node.js
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "nusara_sk_...",
baseURL: "https://api.nusara.ai/v1",
});
Errors follow the OpenAI format. A 402 means your balance is depleted — top up your account to resume.