Beginner guide

Use Claude, GPT & DeepSeek in 5 minutes

No coding skills needed. Follow the steps below from top to bottom. Everything is written in plain language.

OpenCode BangunWeb Code Browser agent API

Start from zero

Start using AI from zero

New to AI? Start here: sign up, try chat, get a key, then buy tokens if you need them.

Treat your API key like a password. Never send it to anyone, including in chats or screenshots.

  1. 1

    Open BangunWeb

    Open this address, then tap Try free.

    https://bangunweb.com/ai
  2. 2

    Sign up with Google

    Choose Continue with Google, then pick a Gmail account. New Gmail accounts can get free trial tokens while the daily allowance lasts. No credit card needed.

  3. 3

    Check your tokens

    Open AI Router. Token balance shows what you have left. Think of tokens as prepaid credit for AI.

  4. 4

    Try chat

    Tap Try chat, write a question, then send it. No app needed.

  5. 5

    Get an API key

    You need it to use AI in other apps. Open the API Keys tab, name a key, create it, then copy it.

  6. 6

    Buy tokens when you run out

    Open Buy tokens, choose a package, then pay with QRIS, bank transfer, or USDT. Tokens are added automatically. They never expire, and no subscription is needed.

The video uses a demo account. The balance shown is only an example.

3 key terms

3 terms you should know

Token

Think of it as data credit for AI. Every time the AI reads your question and writes an answer, tokens are used. Roughly 1 token ≈ ¾ of an English word. Tokens never expire.

API key

A special password for apps. You paste it into an app (for example Chatbox or Claude Code) so that app can use your token balance. Never share it with anyone.

Model

The AI "brain" you choose: Claude, GPT, Gemini, DeepSeek and more. Budget models (such as DeepSeek Flash) suit light tasks; premium models (such as Claude Opus) are smarter but use more tokens.

Chat in the dashboard

The easiest way: chat right in the dashboard

No app to install. Perfect for trying it out first.

  1. 1

    Sign up with Google

    Click "Start free" and choose your Google account. No credit card needed.

  2. 2

    Claim your free tokens

    New Google accounts get 2M free tokens to try (limited daily pool, refilled at 00:00 Jakarta time).

  3. 3

    Open the "Try chat" tab

    In the AI Router menu choose the Try chat tab, pick a model, and type your question like any chat.

Try the chat now →
Choose an AI mode

Pick a mode, not a model.

No need to memorize 60 model names. Pick the mode that fits the job and the router chooses the model behind it, with automatic failover when one is down. Use the mode name (e.g. bw-swift) as the model name.

DEFAULT
Swift

Fast, light, everyday.

≈ 1,700agent steps with the Saver package ($1.36)

Now: DeepSeek V4.1 Flash
Success: 100%
Response: ~9.2 s
Best for: daily work, quick edits, chatbots

Focus

Sharper thinking for real work.

≈ 480agent steps with the Saver package ($1.36)

Now: DeepSeek V4 Pro
Success: 99.9%
Response: ~9.6 s
Best for: new features, debugging, analysis

Pro

Complex logic, careful review.

≈ 1,000agent steps with the Saver package ($1.36)

Now: GPT 6 Sol
Success: 100%
Response: ~7.8 s
Best for: complex logic, code review

Apex

Our strongest, for the hardest tasks.

≈ 17agent steps with the Saver package ($1.36)

Now: Claude Opus 5.5
Success: 99.3%
Response: ~25.8 s
Best for: the hardest tasks only
Requires a past purchase

Unbound

Fewer refusals, full creative freedom.

≈ 720agent steps with the Saver package ($1.36)

Now: DeepSeek V4.1 Creative
Success: 99.9%
Response: ~5.3 s
Best for: security research, fiction, sensitive topics

1 agent step = 1 typical request (~20,000 input + 1,000 output tokens), e.g. one action in Claude Code / OpenCode / Cline. A mode is billed at its first model's price; if a backup model answers, you pay the cheaper of the two. Unbound is subject to our Terms of Service.

Install a coding agent in one line

Paste this into your terminal. It installs OpenCode (a free coding agent) and connects it to BangunWeb in Swift mode. Log in by clicking "Allow" in your browser. No API key to copy.

Mac / Linux

curl -fsSL https://bangunweb.com/install | sh

Windows (PowerShell)

irm https://bangunweb.com/install.ps1 | iex

On Windows? Use the PowerShell line. curl … | sh is for Mac/Linux only; on Windows it fails with "sh is not recognized". From CMD: powershell -ExecutionPolicy Bypass -c "irm https://bangunweb.com/install.ps1 | iex"

No account yet? Sign up free with Google when asked. Your existing OpenCode config is backed up automatically. Switch modes in OpenCode with /models.

Use it in apps

Use it in your favorite apps

Whatever the app, you always fill in the same three things:

Base URL / API Host

https://router.bangunweb.com/v1

API key

bwr_live_…

Get it in the dashboard → AI Router → API keys tab

Model name

bw-swift

Start with bw-swift. Other modes: bw-focus, bw-pro, bw-apex, bw-unbound. See Modes above.

Chatbox (phone & computer) For chatting on your phone, no coding
  1. 1 Install the Chatbox AI app from the Play Store or App Store (the desktop version is at chatboxai.app).
  2. 2 Open Settings → Model Provider → add a custom provider and choose "OpenAI API Compatible" mode.
  3. 3 Fill API Host with the base URL, paste your API key, then type a model name.
  4. 4 Save, start a new conversation, and chat away.

If the app asks for API Host and API Path separately: Host https://router.bangunweb.com and Path /v1/chat/completions. The same works for any other chat app that supports "OpenAI compatible".

Claude Code (terminal) For programmers: a coding assistant in the terminal
  1. 1 Install Claude Code following its official instructions.
  2. 2 Before running it, set these two variables (Mac/Linux, paste into your terminal):
  3. export ANTHROPIC_BASE_URL="https://router.bangunweb.com"
    export ANTHROPIC_API_KEY="bwr_live_..."
    claude
  4. 3 Run claude as usual. Usage is deducted from your AI Router token balance.
VS Code + Cline A coding assistant inside your editor
  1. 1 Install the Cline extension in VS Code.
  2. 2 Open Cline settings → API Provider → choose OpenAI Compatible.
  3. 3 Fill in Base URL, API Key and Model ID with the values above.
n8n (automation) For automated workflows
  1. 1 Add a new OpenAI credential.
  2. 2 Set API Key to your key and Base URL to the base URL above.
  3. 3 In the OpenAI Chat Model node, type the model name manually.
Python For developers
  1. 1 Install the official OpenAI library: pip install openai
  2. 2 Use the example below. Just change base_url and api_key:
  3. from openai import OpenAI
    
    client = OpenAI(
        base_url="https://router.bangunweb.com/v1",
        api_key="bwr_live_...",
    )
    
    reply = client.chat.completions.create(
        model="bw-swift",
        messages=[{"role": "user", "content": "Halo!"}],
    )
    print(reply.choices[0].message.content)

Guides for Cursor, OpenCode, the Anthropic SDK and more are in the API documentation. Developer documentation →

Per-tool guides: Cline, Roo Code, Cursor, Claude Code, n8n, Open WebUI and more →

On Android

Use OpenCode on an Android phone (Termux)

No laptop needed. Watch the video (Indonesian voice-over), then copy each command. You need about 3 GB of free space and a stable connection.

Important: wait until the previous command has fully finished ($ or root@localhost appears again) before typing the next one. It can look idle for a while, which is normal.

  1. 1

    Install Termux

    Download from F-Droid (f-droid.org/packages/com.termux) or the official GitHub release, not the Play Store. Allow the install, then open Termux.

  2. 2

    Grant storage access

    Choose Allow when asked. It is used to open the AI's results in your browser.

    termux-setup-storage
  3. 3

    Update the package list

    pkg update -y
  4. 4

    Install proot-distro

    This can take a few minutes.

    pkg install -y proot-distro
  5. 5

    Install Ubuntu

    Wait for "Finished installation".

    proot-distro install ubuntu
  6. 6

    Enter Ubuntu

    The text before the cursor changes to root@localhost.

    proot-distro login ubuntu
  7. 7

    Install curl

    Run them one at a time.

    apt update
    apt install -y curl
  8. 8

    Run the BangunWeb installer

    Open the link shown, log in, check that the code matches, then tap Allow. Go back to Termux until you see "Selesai!". Your API key is filled in automatically.

    curl -fsSL https://bangunweb.com/install | sh
  9. 9

    Run OpenCode

    The screen can stay black for a few seconds the first time. Just wait.

    mkdir -p ~/proyek
    cd ~/proyek
    opencode
  10. 10

    Put the AI to work

    Write a request in plain language. The example in the video produced a finance tracker app in 1 min 47 sec, though time and results can vary. Copy the example:

    buatkan aplikasi web Dompetku di file dompet.html untuk catat pemasukan dan pengeluaran di HP: desain modern dan rapi, kartu saldo, grafik pengeluaran per kategori, tambah dan hapus transaksi, format Rupiah, data tersimpan di browser, tanpa library luar, semua dalam satu file
  11. 11

    See the result

    Type /exit and copy the file to Download. Open your phone's file app, tap the file, then choose Chrome.

    /exit
    cp ~/proyek/dompet.html /sdcard/Download/

Using it again tomorrow?

No need to reinstall. Open Termux and run:

proot-distro login ubuntu
cd ~/proyek
opencode

OpenCode does not officially support Android yet, so this route runs Ubuntu inside Termux. We tested it on an Android 14 emulator and tested the ARM64 build of OpenCode under emulation. It has not been tested on every phone brand. If you run into problems, contact us via chat.

In Hermes Agent

Add your API key to Hermes Agent

Connect Hermes to AI Router using its built-in menu. Watch the video (Indonesian voice-over), then follow the steps in your server terminal.

Treat your API key like a password. Never send it to anyone, including in chats or screenshots. If it leaks, revoke it in the dashboard and create a new one.

Hermes not installed yet?

Run the official installer on Linux, macOS, or WSL. If it is already installed, skip this part.

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
  1. 1

    Get your API key

    Go to dashboard → AI Router → API Keys tab, then copy it.

  2. 2

    Open model settings

    Run this in the terminal where Hermes is installed.

    hermes model
  3. 3

    Choose Custom endpoint

    Press the up arrow until you reach "Custom endpoint (enter URL manually)", then press Enter.

  4. 4

    Enter the router address

    Paste it at "API base URL", then press Enter.

    https://router.bangunweb.com/v1
  5. 5

    Paste your API key

    Paste it at "API key", then press Enter. It shows as asterisks, which is normal. "Verified endpoint" means the key works. At "API compatibility mode", just press Enter.

  6. 6

    Choose a model

    Type this name at "Select model", then press Enter. Press Enter for the remaining questions. The key is saved automatically in ~/.hermes/.env.

    bw-swift
  7. 7

    Say hello

    Send any message. If the AI replies, you are done.

    hermes

Already running a Telegram bot?

Restart the gateway so it uses the new key, then send /new in the bot chat.

hermes gateway restart

Want to change the key or model? Run hermes model again. Tested on Hermes Agent v0.21.5. Menus may differ slightly in other versions.

In 9Router

Add AI Router to 9Router

Connect 9Router to AI Router until the model test passes. Watch the video, then follow the steps.

The "API Key (for Check)" field only checks the key. It does not save it. This is where many people get stuck, so do not skip step 4.

  1. 1

    Install and run 9Router

    Needs Node.js 18 or newer. The default dashboard password is 123456, so change it in Settings soon.

    npm install -g 9router
    9router
  2. 2

    Add a provider

    Open Providers and click Add OpenAI Compatible. Set Name to BangunWeb, Prefix to bw, and API Type to Chat Completions.

  3. 3

    Enter the Base URL and check your key

    Paste this address and your BangunWeb API key, click Check until it says Valid, then click Create.

    https://router.bangunweb.com/v1
  4. 4

    Save the key

    Open the BangunWeb provider and click Add API Key. Paste the key, click Check, enter this name as the Default Model, then click Save.

    deepseek-v4.1-flash
  5. 5

    Add a model and test it

    Under Available Models, type the model name, click Add, then Test. A check mark means it is connected.

  6. 6

    Use it in your app

    Use this address and the key from Endpoint & Key, not your BangunWeb key. Model names start with bw/.

    http://localhost:20128/v1
    bw/deepseek-v4.1-flash

Test failed? The Base URL must end in /v1. A grey Save button means Default Model is empty. The 9Router test only waits 15 seconds, so a queued model can time out; try deepseek-v4.1-flash. Tested on 9Router 0.5.112.

Read the full article (Indonesian) →

Chat on your phone

Chat with AI on your phone using Chatbox

No coding. Use your BangunWeb balance in the Chatbox app.

Treat your API key like a password. Never send it to anyone, including in chats or screenshots.

  1. 1

    Install Chatbox

    Install it from Google Play or the App Store. Prefer not to install? Open the web version.

    https://web.chatboxai.app
  2. 2

    Copy your API key

    Go to dashboard → AI Router → API Keys tab.

  3. 3

    Open Model Provider

    Open Settings → Model Provider, then tap Add.

  4. 4

    Add a provider

    Type custom and choose Add Custom Provider. Name it BangunWeb, keep OpenAI API Compatible, then tap Add.

  5. 5

    Enter key and address

    Paste your key in API Key, then paste this in API Host. Leave API Path empty.

    https://router.bangunweb.com/v1
  6. 6

    Add a model

    Under Model, tap New. Type this in Model ID, then tap Save.

    bw-swift
  7. 7

    Start chatting

    Open a new chat, choose bw-swift, then send a message. It uses your BangunWeb balance.

Tested on the Chatbox web version (web.chatboxai.app) on 5 November 2026. The phone app may look slightly different.

Build a website

Build your first website with BangunWeb Code

No coding. Install it on your laptop, log in with one click, then ask AI to build a page.

The AI may ask permission to run commands on your laptop. Read them first and approve only if you understand.

  1. 1

    Install VS Code

    Download it free for Windows, Mac, or Linux, then install it like any app.

    https://code.visualstudio.com
  2. 2

    Download BangunWeb Code

    On this page, click the .vsix download button.

    https://bangunweb.com/alat/bangunweb-code
  3. 3

    Install the extension

    In VS Code, open Extensions → three dots → Install from VSIX, then choose the file.

  4. 4

    Log in with one click

    Open the BangunWeb icon and click Sign in. In the browser, check that the code matches, then allow it. Your API key is filled in automatically.

  5. 5

    Write your request

    Use plain language. Copy this example:

    create the file undangan.html: a cheerful child birthday invitation for phones. Name Raka, Saturday 15 November, 4 PM. One file only, and do not run any commands.
  6. 6

    Let the AI work

    The AI writes the code. The video is sped up. Time and results can vary.

  7. 7

    See the result

    Open undangan.html in your browser. Want changes? Just ask again.

Tested on VS Code for Linux on 5 November 2026. In Cursor, search for BangunWeb Code in Extensions.

Invite friends

Invite friends, earn cash commission

Share one link. Every time a friend buys AI tokens or an AI Server, you earn 10%. Watch the video, then follow the steps.

The video narration is in Indonesian.

  1. 1

    Open the Invite tab

    Log in, open AI Router, then tap the Invite tab.

  2. 2

    Choose where to send friends

    AI tokens for people who need a cheap API. AI Server for people who want to build a website just by typing. Same code, same commission balance.

  3. 3

    Copy and share

    Copy your link, or share it straight to WhatsApp, Telegram, and Facebook.

  4. 4

    Your friend creates a new account

    Your friend opens the link and signs up within 30 days.

  5. 5

    Commission arrives automatically

    Each time your friend pays, the commission goes straight to your commission balance.

  6. 6

    Withdraw

    Withdraw to DANA (Rp500 fee) or GoPay (Rp1.500 fee), from Rp10.000 in multiples of Rp1,000. Usually arrives in 1–5 minutes.

Commission examples

 Friend paysYou earn
Pro token packageRp45.000Rp4.500
AI Server Starter, 1 monthRp99.000Rp9.900
AI Server Pro, 1 monthRp159.000Rp15.900
AI Server Bisnis, 1 monthRp299.000Rp29.900

AI Server renewals and later token purchases earn commission again. Multi-month rentals count the price paid after discount.

What does your friend get?

  • First token package: +20% bonus tokens (up to 100M tokens, not combined with the big-buyer promo).
  • First AI Server rental: +100% extra plan bonus tokens, e.g. Starter goes from 50M to 100M tokens.

Good to know

  • Large-order limits: commission stays a full 10%; friend token bonus up to 100M token and not combined with the big-buyer promo (your friend gets the larger one).
  • Only new accounts can be invited. Existing accounts cannot be linked later, and the inviter cannot be changed.
  • Whichever link they use, you earn when your friend buys tokens or an AI Server.
  • In the Invite tab you can monitor friends' token balance and usage (numbers only). Friends can hide it.

Top inviters November 2026

Top 10 this month by number of friends who bought. Names are masked; commission earned this month is shown.

  1. #InviterFriends who boughtEarned
  2. 1 Fah*** 7 ≈ $2.32
  3. 2 Yus*** 2 ≈ $54.58
  4. 3 Blu*** 2 ≈ $0.38
  5. 4 Azz*** 1 ≈ $0.16
  6. 5 Puq*** 1 ≈ $0.082
  7. 6 Khu*** 1 ≈ $0.027
  8. 7 Ind*** 1 ≈ $0.25
  9. 8 Kay*** 1 ≈ $0.14
  10. 9 Ary*** 1 ≈ $0.38

Sign in to see your position

Updated every 10 minutes and resets at the start of each month. No extra prizes; the commission stays 10% of every friend purchase.

Get your invite link
Pick a package

Pick the right package

Pay once, no subscription needed, and tokens never expire.

Just trying

Start with the Intro package ($0.55) to get a feel for it.

Daily use / work

The Pro package ($2.46) is enough for thousands of chats on budget models.

Teams, apps or business

Bulk packages from Mega ($16.32). The bigger the package, the lower the price per token.

Example: the Saver package (60M tokens) covers roughly 1,500 DeepSeek V4 Flash requests.

See all packages & prices →
How to pay

How to pay

  1. 1

    Pick a package in the dashboard

    Open AI Router → Buy tokens tab, then click Buy on the package you want.

  2. 2

    Pay the way you like

    QRIS from any Indonesian e-wallet or mobile banking app, Indonesian bank transfer (Virtual Account), retail outlets, or crypto (USDT), which is handy if you are outside Indonesia.

  3. 3

    Tokens arrive automatically

    As soon as the payment is received, tokens are added to your balance. No manual confirmation needed.

Have a BangunWeb balance? You can pay for packages straight from it.

Saving tips

Tips to make tokens last

  • Use budget models (such as DeepSeek Flash) for light tasks like summarising, translating or replying to chats.
  • Save premium models (Claude Opus, the latest GPT) for genuinely hard work.
  • Very long conversations use more tokens because the whole history is sent each time. Start a new conversation for a new topic.
  • Watch your usage in the Overview tab. It has a daily chart and a warning when your token balance runs low.
Q&A

Beginner Q&A

Does it work on an Android phone or Termux?

Yes. The OpenCode coding agent runs in Termux through Ubuntu (proot-distro). Follow the video and steps in the "On Android" section. For chat only, the Chatbox app or the Try chat tab is enough.

Do I need to know how to code?

No. You can chat right in the dashboard (Try chat tab) or use a chat app like Chatbox on your phone.

Do tokens expire?

No. Tokens have no expiry date and no subscription is required.

If the AI fails to answer, am I charged?

No. Failed requests are not charged.

Are my conversations stored?

No. Only numbers are recorded (model, token count, time), never the content of questions or answers.

Can I use one key in several apps?

Yes. But it is safer to create one key per app, so if one leaks you only revoke that key.

I am stuck or something is wrong. Where do I go?

Click the Help button in the corner of the screen to chat with our team, or join the BangunWeb Telegram group.

Ready to try?

2M free tokens for new Google accounts. No credit card.

Still unsure? Our team is happy to help by chat. Just ask in plain words.

Buy tokens