Claude Code in Indonesia: Availability, Setup, Payment in USD and Indonesian-Language Tips
Summary: This guide is for developers in Indonesia who want to use Claude Code, Codex CLI and Chinese coding models through one QCode key. It covers checking availability against Anthropic's and OpenAI's lists, a five-minute setup on Windows, macOS and Linux, paying in US dollars with an Indonesian card or crypto, choosing between the api and asia endpoints, the Jakarta, WITA and WIT reset times, and using Claude Code in Indonesian. Everything below was checked on 2026-11-27. QCode is an independent third-party API service and is not affiliated with Anthropic, OpenAI or any model vendor.
Updated 2026-11-27
Key facts
- Availability: check Anthropic's supported-regions list and OpenAI's supported-countries list before you buy; Indonesia generally appears on both, but the lists change.
- Currency: QCode prices are in US dollars. Your Indonesian bank converts the charge to rupiah and may add a foreign-transaction fee of its own.
- Payment (USD): Visa or Mastercard credit and debit cards enabled for international online payments, Apple Pay, Google Pay and crypto such as USDT.
- Setup: install Claude Code, then set
ANTHROPIC_BASE_URLandANTHROPIC_AUTH_TOKEN; onecr_key works for Claude, GPT and the Chinese models. - Endpoints:
api.qcode.ccis the default andasia.qcode.ccis the Asia host; both share the same key and paths, so measure them from your own network. - Reset times: the daily quota resets at 23:00 WIB in Jakarta (the previous day), 00:00 WITA and 01:00 WIT; booster packs reset two hours later.
- Plans: the Starter plan is $9 for 30 days with $5 of usage per day, and pay-as-you-go packs start from $4.
Is Claude Code available in Indonesia?
QCode does not change any vendor's policy. Whether you can use Claude Code, Codex CLI or a Chinese coding model depends on Anthropic's supported-regions list and OpenAI's supported-countries list, and on your local rules. Indonesia generally appears on both lists, but both lists change, so open the two vendor pages and check your country before you commit a team.
Claude models are served only on the Anthropic endpoint (/api), GPT models only on the OpenAI endpoint (/openai), and Chinese models on both. One QCode key covers all of them.
Set up Claude Code in about five minutes
You need a QCode account and a key that starts with cr_. Copy the key without spaces or line breaks, because a stray space is the most common cause of a 401 error.
Windows
Open PowerShell and run Anthropic's native installer:
irm https://claude.ai/install.ps1 | iex
Let the installer finish; it puts claude.exe in %USERPROFILE%\.local\bin and does not edit PATH. Open a new terminal and run claude --version; if the command is not found, add %USERPROFILE%\.local\bin to your user PATH and reopen the terminal.
macOS and Linux
Run Anthropic's shell installer from Terminal, then open a new terminal window and check claude --version. The rest of the setup is identical to the other platforms: the same two environment variables and the same cr_ key.
Set the two QCode variables
Claude Code reads ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN. You can export them for the current terminal, or write them into Claude Code's own settings file so every new session picks them up. On Windows that file is %USERPROFILE%\.claude\settings.json; on macOS and Linux it is ~/.claude/settings.json.
{
"env": {
"ANTHROPIC_BASE_URL": "https://asia.qcode.cc/api",
"ANTHROPIC_AUTH_TOKEN": "cr_your_key"
}
}
On macOS and Linux you can also export the variables directly and start Claude Code in one step:
export ANTHROPIC_BASE_URL=https://asia.qcode.cc/api
export ANTHROPIC_AUTH_TOKEN=cr_your_key
claude
Do not also set ANTHROPIC_API_KEY: QCode uses ANTHROPIC_AUTH_TOKEN, and a stale key in the other variable can cause a 401. Do not add /v1 or a trailing slash; https://api.qcode.cc/api is correct, while /api/v1 and /api/ return 404. Keep the variables in one place, because shell exports and settings files can override each other.
Codex CLI in brief
If you also use Codex, add a provider to ~/.codex/config.toml:
[model_providers.qcode]
name = "qcode"
base_url = "https://asia.qcode.cc/openai"
wire_api = "responses"
requires_openai_auth = true
Then put the same key in ~/.codex/auth.json:
{
"OPENAI_API_KEY": "cr_your_key"
}
Reopen codex after saving. The recommended defaults are claude-opus-5-5 for Claude Code and gpt-6.2-sol for Codex. You can swap the host in either tool for api.qcode.cc or us.qcode.cc without changing the path or the key.
Paying from Indonesia
QCode prices are set in US dollars. Your bank or card issuer converts the charge into rupiah at its own rate on the day it posts, so the amount on your statement will not exactly match the USD figure at checkout.
Step 1: Pick the USD tab and a plan or a pack
Choose a 30-day personal plan with a fixed daily budget, or a pay-as-you-go pack for occasional work. Plans suit daily Claude Code use; packs are one-time purchases that stay valid for 7 days and can be stacked. Claude and GPT usage is billed at the official API price (×1.0), and Chinese models are billed at the rate shown on /models.
Step 2: Pay by card, Apple Pay or Google Pay
- Visa or Mastercard: use a credit or debit card enabled for international online payments. Some Indonesian debit cards work only domestically until you enable international use, so enable online transactions abroad in your bank's app or at the branch first.
- Apple Pay and Google Pay: these work at the same international checkout, but the card behind the wallet must still allow international online payments.
- Fees: your issuer may charge a foreign-transaction fee on top of its exchange rate. That fee comes from your bank, not from QCode, so check your card's terms.
Step 3: If the card is declined, use USDT
A declined card usually means the international online feature is off or the issuer blocked the transaction. Retry after enabling it, try another internationally enabled card, or pay with crypto. The top-up page lists the coins and networks you can use; send USDT on exactly the coin and network shown there. Follow the steps on the page to confirm the payment. Use crypto only where your local rules allow it.
Step 4: Save the payment confirmation
Your card issuer, wallet or the crypto network shows each payment. Save that confirmation for your records, and if you buy for a company, ask your finance team what it will accept as proof.
Which endpoint should you use from Indonesia?
QCode documents three hosts with identical paths: api.qcode.cc (the default entry), asia.qcode.cc (Asia) and us.qcode.cc (North America and Europe). All three share your account and your cr_ key. None is an Indonesian node, and routes from Indonesian networks to Asia, the United States or Europe differ by provider, so measure from the machine where you code.
Start with asia.qcode.cc and api.qcode.cc. Run this script at the hours you normally work; it sends bodyless requests, so it produces no model output:
KEY="cr_your_key"
for host in api.qcode.cc asia.qcode.cc us.qcode.cc; do
for i in $(seq 1 10); do
curl -s -o /dev/null -X POST "https://$host/api/v1/messages" \
-H "Authorization: Bearer $KEY" \
-w "$host %{http_code} dns=%{time_namelookup} tcp=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\n"
sleep 1
done
done | tee qcode-latency.txt
for host in api.qcode.cc asia.qcode.cc us.qcode.cc; do
printf '%s median ttfb: ' "$host"
grep "^$host " qcode-latency.txt | sed 's/.*ttfb=\([0-9.]*\).*/\1/' | sort -n \
| awk '{a[NR]=$1} END {print a[int((NR+1)/2)] "s"}'
done
An HTTP 400 in the output is good news: the path and key are fine and only the body was missing. A 401 points to the key, and a 404 to a wrong base URL. Compare the median time to first byte for asia and api, repeat the test on another day, and keep the host that is stable both times. Test us if your traffic routes through North America or Europe.
To switch, change only the hostname in ANTHROPIC_BASE_URL; the /api path stays the same, and the key does not change. The full method, including time-to-first-token measurement, is in Choosing a QCode endpoint and testing latency.
Daily quota reset times in Jakarta, WITA and WIT
The daily quota resets at 00:00 Beijing time, which is UTC+8. Indonesia spans three time zones, so the local reset time depends on where you are:
- WIB (UTC+7), including Jakarta, Bandung and Surabaya: 23:00 on the previous calendar day.
- WITA (UTC+8), including Bali, Makassar and Balikpapan: 00:00, the same clock time as Beijing.
- WIT (UTC+9), including Jayapura and Ambon: 01:00.
Booster packs are different from pay-as-you-go packs: they are bought from your subscription page, add to today's daily limit, and reset two hours after the daily quota. In local time that is 01:00 WIB, 02:00 WITA and 03:00 WIT.
In Jakarta the reset arrives at 23:00, so a long evening session can see a fresh budget part-way through. Check your quota in the dashboard rather than the wall clock.
Using Claude Code in Indonesian
Claude and GPT models read and write Indonesian well, so prompt in Indonesian directly: describe the bug, the file and the acceptance criteria in the language you think in. Include error messages and file paths verbatim.
For a team, put the language rule in CLAUDE.md so every session follows it: Always answer in Indonesian. Keep code, identifiers, commit messages and comments in English. Add project-specific rules, such as test commands or naming, in the same file.
The QCode site and docs also have Indonesian versions: the dashboard under qcode.cc/id and the docs under docs.qcode.cc/id/docs. Pages not translated yet may still appear in English.
Choosing a plan from Indonesia
Start small. A pay-as-you-go pack from $4 is a one-time purchase that stays valid for 7 days, and packs stack, so you can add another later without losing what is left. If you already know Claude Code will run every day, the Starter plan from $9 gives you 30 days with $5 of usage per day and is the simplest way to test the whole setup on a real repository.
For a team, look at /enterprise: team units pool a monthly quota and give each member a sub-key. Compare all personal plans on /pricing and the packs on /pay-as-you-go before you choose.
FAQ
Can I use Claude Code from Indonesia with QCode?
Check that Indonesia is on both Anthropic's supported-regions list and OpenAI's supported-countries list. If it is, buy a plan or a pack, copy your cr_ key, and set ANTHROPIC_BASE_URL to a QCode endpoint.
Can I pay with an Indonesian debit card?
Yes, if the card is a Visa or Mastercard enabled for international online payments. Some Indonesian debit cards need that feature switched on in the bank's app first. Apple Pay and Google Pay also work when the card behind them allows international payments.
Are QCode prices shown in rupiah?
No. Prices are in US dollars, and your bank converts the charge to rupiah at its own rate, possibly with a foreign-transaction fee. Check the amount on your statement against the USD price.
What if my card is declined?
Enable international online transactions for the card, or try another Visa or Mastercard. If the card still fails, pay with USDT using the coin and network shown on the top-up page.
Which endpoint is fastest from Indonesia?
Measure asia.qcode.cc and api.qcode.cc from your own network with the script above, repeat the test on another day, and keep the host with the lower stable time to first byte. Both hosts use the same key.
When does the daily quota reset in Jakarta?
At 23:00 WIB on the previous day. In WITA it resets at 00:00 and in WIT at 01:00. Booster packs reset two hours later: 01:00 WIB, 02:00 WITA and 03:00 WIT.
Does Claude Code understand Indonesian prompts?
Yes. Claude and GPT models handle Indonesian well. Add a line to CLAUDE.md if you want answers in Indonesian while code, identifiers and commit messages stay in English.
Is there an Indonesian version of the site and docs?
Yes. The QCode dashboard is available under qcode.cc/id and the documentation under docs.qcode.cc/id/docs. Pages that have not been translated yet may still appear in English.
Try it with the Starter plan
The Starter plan is $9 for 30 days with $5 of usage per day, which is enough to install Claude Code, connect it to a QCode endpoint, and test both the asia and api hosts on your own repository. If you prefer no subscription, a /pay-as-you-go pack starts from $4, lasts 7 days and can be stacked. See /pricing for current plans, and /enterprise if you are buying for a team.