Skip to content

Claude Code guide

Install Claude Code, no Claude Pro needed.

One command installs Claude Code and fills in the TokenomixAI base URL and API key. No Claude Pro account or credit card needed, and quota is counted in tokens, not hours.

Quickstart: install the tool + set your key, 1 command

bash <(curl -fsSL https://tokenomixai.com/install/claude.sh)
  1. 1. Open Terminal, paste the command above, then press Enter.
  2. 2. When asked, paste your API key (sk-tkx-...). The key is not shown while you type, that is normal. Do not share it with anyone.
  3. 3. Open a new terminal, then run claude.

Claude Code needs Node.js. If you do not have it yet, install it from nodejs.org first. Your old config (if any) is backed up automatically before it is replaced.

Want to go back to the original config?bash <(curl -fsSL https://tokenomixai.com/install/claude.sh) --restore

How to install Claude Code on Windows

  1. Buy a package on the pricing page and pay with QRIS or USDT. Your sk-tkx-… API key appears on the order page once the payment lands.
  2. Open PowerShell (not CMD), paste this command and press Enter:
irm https://tokenomixai.com/install/claude.ps1 | iex
  1. When asked, paste your API key. It does not show while you type, that is normal.
  2. Open a new PowerShell window and run claude.

If Node.js is missing, the script installs it with winget. If winget is not available, install Node.js LTS from nodejs.org and run the same command again.

How to install Claude Code on macOS and Linux

Make sure Node.js is installed (check with node -v; if it is missing, install the LTS version from nodejs.org). Then open Terminal and run:

bash <(curl -fsSL https://tokenomixai.com/install/claude.sh)

Paste your API key when asked, open a new terminal and run claude.

What the installer does

  • Installs Claude Code with npm if it is not there yet.
  • Checks your API key, then picks models from the live catalog for /model haiku, sonnet and opus.
  • Backs up ~/.claude/settings.json before filling in the base URL and key. Other settings in that file stay.
  • Adds a remaining-quota line under the Claude Code input box.

You can read the scripts first: claude.ps1 and claude.sh. Your key never goes into a URL.

Use it in VS Code

Run the installer above once, close and reopen VS Code, open the Claude Code panel and start chatting. No Claude account login needed. The Claude Desktop app does not work yet, because it always uses the Claude account that is signed in.

Switch models

Inside Claude Code, /model haiku, /model sonnet and /model opus map to the catalog models the installer picked, not to the original Claude models. Other models, including Claude when in stock, are picked with /model <model-id>. Models and multipliers are in the catalog.

Check your remaining quota

Remaining quota shows under the Claude Code input box. You can also check it in the Portal or with GET /v1/quota using the same key.

Go back to your original config

Windows (PowerShell):

$env:RESTORE="1"; irm https://tokenomixai.com/install/claude.ps1 | iex

macOS and Linux:

bash <(curl -fsSL https://tokenomixai.com/install/claude.sh) --restore

Then run /logout and /login inside Claude Code. If you would rather not use a script at all, the manual steps are in the documentation.

Claude Code questions

What is Claude Code?

Claude Code is a coding agent made by Anthropic that runs in the terminal and in VS Code. It can read and edit files in your project folder, run commands and work through multi-step tasks from plain-language instructions. To answer, Claude Code needs access to a model, either through a Claude account or through an API key.

Can I use Claude Pro for Claude Code?

Yes, with usage limits that reset per time window. The alternative is to point Claude Code at a TokenomixAI API key: no Claude Pro account, no credit card, and quota counted in tokens, not hours.

Is Claude Code free?

The program is free to install. To use it, Claude Code needs paid model access: a Claude subscription, an Anthropic API key, or an API key such as TokenomixAI, paid per token with QRIS or USDT.

Where do I get a Claude API key?

Official Anthropic API keys are created in the Claude Console and paid in US dollars. With TokenomixAI, your sk-tkx-… API key appears on the order page once the payment lands. Save it: the key only shows until you mark it as saved, for up to 24 hours. Extra keys can be created in the Portal.

Is the model the original Claude?

Claude Code can use any model in the TokenomixAI catalog. The installer picks DeepSeek or GLM models with stable stock as the default, and Claude models can be picked with /model when in stock.