TokenByteTokenByte Docs

Cline

Use TokenByte from Cline

Cline is an AI coding agent that lives in your editor and terminal — it reads and writes files, runs commands, and drives a browser. It supports VS Code, Cursor, Windsurf, JetBrains, Antigravity, and a standalone CLI. TokenByte plugs in as either an OpenAI Compatible or Anthropic provider.

Prerequisites

  • A supported editor with the Cline extension installed
  • A TokenByte API key from the console

Configuration

Open settings

Click the Cline icon in the sidebar, then the gear in the top-right of the panel to open Settings.

Pick the provider

Either of the two paths below works — pick one:

  • API Provider: OpenAI Compatible
  • Base URL: https://api.tokenbyte.ai/v1
  • API Key: paste your TokenByte key (starts with sk-tb-)
  • Model: enter the model ID, e.g. gpt-5.4, claude-sonnet-4-5, gpt-5-codex

If TokenByte hasn't registered metadata for your chosen model, expand Model Configuration to set context window, max output tokens, Vision / Computer Use, and pricing.

  • API Provider: Anthropic
  • Check (Optional) Custom Base URL and enter https://api.tokenbyte.ai
  • API Key: paste your TokenByte key
  • Model: pick a Claude-family model from the dropdown

This path only reaches Claude models. For mixed-provider routing, use OpenAI Compatible.

(Optional) Split Plan and Act models

In Settings, enable Use different models for Plan and Act. Plan mode (read-only, for strategy) and Act mode (execution, file edits and commands) can then use different models. A common combo: claude-opus-4-6 for Plan, gpt-5-codex for Act.

Verify

Open Cline's panel and try a simple task, e.g. "List the files in this directory and summarize the project". A coherent reply means you're set.

Cline can run shell commands and edit files on its own. Test in a scratch directory first, and audit the scope carefully before enabling Auto-approve. MCP, Memory Bank, and Checkpoints keep writing into context — watch your token spend on long tasks.

Stuck? See the FAQ.

On this page