Claude Code
Run the Claude Code coding agent through Nexotao access and pay in Rupiah. Just point Claude Code at the Nexotao base URL and use your API key — no foreign credit card.
Config generator
Pick a model and paste your API key; copy the result into
~/.claude/settings.json, or use the export version for your shell.
Paste your own API key. Processed in the browser, never sent anywhere.
Claude Code uses the Anthropic endpoint, so pick a Claude model. The background task (haiku) is mapped to claude-sonnet-4-6.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.nexotao.com",
"ANTHROPIC_AUTH_TOKEN": "sk-nexo-...",
"ANTHROPIC_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-8",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-4-6",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1"
},
"skipDangerousModePermissionPrompt": true
}export ANTHROPIC_BASE_URL="https://api.nexotao.com"
export ANTHROPIC_AUTH_TOKEN="sk-nexo-..."
export ANTHROPIC_MODEL="claude-sonnet-4-6"
export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-4-8"
export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-4-6"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-sonnet-4-6"
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS="1"Configuration notes
ANTHROPIC_BASE_URL=https://api.nexotao.com- The background task (haiku) is mapped to
claude-sonnet-4-6because the haiku tier is not available. CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1for compatibility.
Steps per operating system
macOS / Linux (Ubuntu)
-
Install Claude Code (see Anthropic’s official documentation).
-
Save the config to
~/.claude/settings.jsonfrom the generator above, or paste theexportblock into~/.zshrc/~/.bashrc:source ~/.zshrc # or ~/.bashrc -
Run
claudefrom your project directory.
Windows
-
Install Claude Code.
-
Create a
settings.jsonfile at%USERPROFILE%\.claude\settings.jsonwith the contents from the generator, or set environment variables via PowerShell:setx ANTHROPIC_BASE_URL "https://api.nexotao.com" setx ANTHROPIC_AUTH_TOKEN "sk-nexo-..." -
Open a new terminal and run
claude.
Claude Code usage is deducted from your Rupiah balance, just like a regular text call. See Billing & Pricing.