One API for
every AI model.
DeepSeek, GLM, GPT, Kimi and more through one OpenAI-compatible endpoint. Built in Indonesia, pay per token.
No credit card. Top up with USDC on Solana from $2, or with Indonesian payment methods from ≈ $0.56 (charged Rp 10.000).
npm install -g nusacodeNusaGate's own coding agent. What every prompt costs shows in rupiah, right in the terminal.
- Active models on one endpoint
- 22
- Maximum context
- 1.05M
- Tokens processed
- 85B+
- Requests served
- 622K+
NusaCode, NusaGate's own coding agent.
Type what you want done. NusaCode reads your project, edits files and runs the tests, while the cost of every response shows in rupiah.
NusaCode · nusagate/deepseek-v4.1-flash
- Cache hit
- 84.4%
- Requests
- 8
- Tokens
- 27.6k (input 4.1k, cache 22.4k, output 1.1k)
- Speed
- 184 tok/s last, 205 average
- Session cost
- Rp 17
- List price
- Rp 23, saved 57.6%
- Balance
- Rp 250.000
- Session cost
- Rp 17
- Tokens
- 27.6k
- Cache hit
- 84.4%
- Speed
- 184 tok/s
A real session, figures from its own status bar: two bugs in a small project found and fixed on DeepSeek V4.1 Flash in eight requests.
Install it with one command.
Needs Node.js 22.19 or newer and a NusaGate API key. Free and open source under the MIT license.
All through the prompt.
/budget 5000- Stops the agent at Rp 5,000 for this session, with a warning at 80%.
/model- Opens NusaGate's live model catalog and switches models mid-session.
/plan- The agent only reads and searches, then explains its plan before it touches a file.
/undo- Puts back the files the agent changed in the last prompt.
/skills review- Skills it learns from your work load only after you approve them.
/usage- This session's cost, tokens, cache hit rate and speed in one report.
Any agent, to any model.
Your agent talks to NusaGate. NusaGate routes each request to the model you picked and bills it by the token.
NusaCode- Claude Code
- Codex
- OpenCode
- Cline
- OpenClaw
Hermes
- OMP
- Pi
- GGPT 6.1 Sol
- GGPT-6 Sol
- GGPT 6 Luna
- GGLM 5.3 Flash
- DDeepSeek V4.1 Flash
- GGPT-5.6 Luna
- GGPT-5.6 Terra
NusaCode connects with no setup. Other agents take one helper command.
Your first request in minutes.
One API key works like a toll card: each request is priced in rupiah, taken off your balance, and sent on to the lane of the model it asked for.
First, point your agent at NusaGate.
$npx @nusagate-gateway/helper apply -k nsk_... -m deepseek-v4.1-flashok Claude Code ~/.claude/settings.jsonok OpenCode ~/.config/opencode/opencode.jsonok Codex ~/.codex/config.toml3 agents now use deepseek-v4.1-flash. Old configs are backed up.
Or call it from any OpenAI SDK.
# one request, one model, priced per token curl https://api.nusagate.com/v1/chat/completions \ -H "Authorization: Bearer nsk_xxxx..." \ -H "Content-Type: application/json" \ -d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello!"}]}' # 200 OK, tokens and cost are logged in the dashboard
200412 ms, 38 tokens { "model": "deepseek-v4.1-flash", "usage": { "total_tokens": 38 } }
Then watch what each request costs, in rupiah.
Below official price.
Prices per 1M tokens, with no hidden markup. Every model goes through the same endpoint.
Fare per request
Counted per token, billed in rupiah.
Compared directly with each vendor's official price per 1M tokens (input / output), at Rp 18,000/USD. Official prices come from each vendor's own documentation and can change when the upstream provider changes them.
Free Pool
Thank you, the Free Pool has ended.
4,499,999,842 tokens used by 36 accounts. The top accounts used hundreds of millions of tokens, and anyone who sent just a few requests still got a share.
- 1Fajri680,680,2183,586 req
- 2tedi574,435,0105,744 req
- 3Adira R. B.545,734,2681,246 req
- 4Krevo S.432,102,6184,886 req
- 5galvadrone296,676,825885 req
- 6Eggy234,886,5371,332 req
- 7devmaker-id197,600,749897 req
- 8galuh W.195,171,9611,601 req
- 9Aldi P. H.159,020,7341,202 req
- 10Muhammad A. A.154,596,215489 req
4,499,999,842 of 4,500,000,000 tokens used, 100%. The remaining 158 tokens were withdrawn when the program closed.
- The program has closedThere are no refills for this program and no extra quota.
- The models still workUse the same models as usual, now through your balance or a Coding Plan.
- Cheap cache tokensRepeated input is billed at 10% of the input price, not the full price.
- Top up your wayTop up with USDC on Solana, or with Indonesian payment methods (QRIS, bank transfer, e-wallet). No credit card needed.
The leaderboard above is counted from tokens actually used, not estimates. Participant names are shown as initials.
Coding Plan
Coding Plan: pay once, get an API balance worth more than the price. Works on every eligible model.
API balance$5.00
7 daysCoding Plan Month is capped at $2.78 per 5 hours and $6.94 per 7 days. Coding Plan Pro is capped at $5.56 per 5 hours and $13.89 per 7 days. All plans work on 12 eligible models (GPT 6 Luna, GLM 5.3 Flash, DeepSeek V4.1 Flash, GPT-5.6 Luna, Qwen 3.8 Flash, MiniMax M3.1 Flash, Qwen 3.8 27B, DeepSeek V4 Pro, MiniMax M3, Gemini 3.8 Flash, GLM 5.3, Qwen 3.8 Max). Other models use your pay-as-you-go balance.
Common questions
NusaGate's own coding agent for the terminal, free and open source (MIT). Install it with npm install -g nusacode, enter your NusaGate API key, then type what you want done. The cost of every response shows in rupiah. Claude Code, Codex, OpenCode and other agents still work through the helper.
Top up with USDC on the Solana network from $2, or with Indonesian payment methods (QRIS, bank transfer, e-wallet) through Midtrans from ≈ $0.56 (charged Rp 10.000). Your balance is credited as soon as the payment is confirmed, with no proof of transfer to upload.
Prepaid, billed per token. Input and output are priced separately, per 1M tokens. Your balance is deducted atomically per request and you can watch it in real time in the dashboard.
The gateway returns 402 Payment Required with a clear message, not a 500 error. Further requests fail safely until you top up again. There are no hidden fees.
150 requests per minute per account. If you go over, the API returns 429 with retry_after in seconds.
No. Top up with USDC on Solana from $2 or Indonesian payment methods from ≈ $0.56 (charged Rp 10.000), with no monthly subscription. Your prepaid balance is billed per token you actually use.
Still have a question? Send an email and a human will answer. nusagate@rafiakem.tech
Referral
A friend who tops up a month earns you .
You get 10% of every top-up and Coding Plan purchase they make for 90 days, up to $2.78 per friend. They get a 20% bonus on their first top-up, up to $1.39.