Skip to content

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 nusacode

NusaGate'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.

$npm install -g nusacode

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
api.nusagate.com/v1
  • 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.

Fig 1One card, every lane
GPT6.1 SolGPT-6SolGPT 6LunaGPT6.1 SolGPT-6SolGPT 6LunaFareRp 250BalanceRp 249,750
Tap the next car to send a requestModel GPT 6.1 SolFare Rp 250Balance Rp 249,750

First, point your agent at NusaGate.

$npx @nusagate-gateway/helper apply -k nsk_... -m deepseek-v4.1-flash
ok 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.

TimeModelCost
14:02:18gpt-6.1-sol$0.01
14:01:55gpt-6-sol$0.0049
14:01:07gpt-6-luna$0.0029
14:00:42glm-5.3-flash$0.0008
Open the integration guide

Below official price.

Prices per 1M tokens, with no hidden markup. Every model goes through the same endpoint.

See all models17 more models on the pricing page

Fare per request

Counted per token, billed in rupiah.

Sample request, 12,480 tokensGPT 6.1 Sol$0.01
ModelInput /1MOutput /1M
GPT 6.1 Solgpt-6.1-sol · -68%$0.56$3.33
GPT-6 Solgpt-6-sol · -66%$0.69$3.44
GPT 6 Lunagpt-6-luna · -67%$0.03$0.17
GLM 5.3 Flashglm-5.3-flash · -65%$0.06$0.17
DeepSeek V4.1 Flashdeepseek-v4.1-flash · -61%$0.07$0.22

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.

Tokens used by the top participants
  1. 1Fajri680,680,218
  2. 2tedi574,435,010
  3. 3Adira R. B.545,734,268
  4. 4Krevo S.432,102,618
  5. 5galvadrone296,676,825
  6. 6Eggy234,886,537
  7. 7devmaker-id197,600,749
  8. 8galuh W.195,171,961
  9. 9Aldi P. H.159,020,734
  10. 10Muhammad A. A.154,596,215

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.

nusagate

API balance$5.00

7 days

≈ $2.22

/ 7 days

(charged Rp 40.000)

API balance
$5.00
Requests
Unlimited
Buy Coding Plan Week

Coding 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

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 $2.50.

Get your referral link

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.