TokenPool Docs

Configure TokenPool by topic

Short, focused guides for API Keys, base_url values, Codex App, Codex CLI, OpenCode, and CC Switch.

View my API Key

Sign in, reveal your current TokenPool API Key, then copy it into Codex or OpenCode.

Before You Start

What TokenPool Provides

Understand what TokenPool is, which coding tools it supports, and what you need before configuration.

Last updated 2026-05-12 | Maintained by TokenPool documentation team

TokenPool provides API access for developer coding tools. You can think of it as an OpenAI-compatible API service for Codex App, Codex CLI, OpenCode, and CC Switch.

Three terms matter before you configure anything:

TermMeaningCurrent TokenPool value
base_urlThe API endpoint your tool callsRecommended: https://api.clawto.link
API KeyYour personal credentialCreate or view it in the TokenPool console
ModelThe default model namegpt-5.5

Supported tools

  • Codex App: reads the local .codex configuration.
  • Codex CLI: runs Codex from your terminal or project folder.
  • OpenCode: uses an OpenAI-compatible provider configuration.
  • CC Switch: manages and imports Codex providers.

Recommended path for beginners

  1. Sign in to TokenPool.
  2. Create or view your API Key in the console.
  3. Use https://api.clawto.link as the recommended endpoint.
  4. Prefer the setup script or CC Switch import first.
  5. Review the manual files after your first successful run.

Screenshot placeholder: TokenPool console overview.

Common mix-ups

  • API Key is not your password.
  • base_url is not the website homepage.
  • Codex App and Codex CLI both use ~/.codex.
  • OpenCode usually uses ~/.config/opencode.