
TokenMix CLI
Official TokenMix CLI: connect AI coding agents to TokenMix in one command
Overview
TokenMix CLI is the official command-line tool for connecting AI coding agents to TokenMix. It configures supported tools so they use your TokenMix API key and the correct OpenAI, Anthropic, or Responses-compatible endpoint.
Install
npm install -g tokenmix
Or run without installing:
npx tokenmix <command>
Login
tokenmix login
Headless environments can use:
tokenmix login --paste
tokenmix login --key sk-tm-...
Launch Agents
npx tokenmix opencode
npx tokenmix claude
npx tokenmix aider
npx tokenmix codex
npx tokenmix qwen
npx tokenmix goose
npx tokenmix openhands
npx tokenmix kilo
npx tokenmix cline
npx tokenmix roo
npx tokenmix continue
Use tokenmix balance, tokenmix models, and tokenmix doctor to verify your key, model list, balance, and local agent configuration.