TokenFleet

Docs Home

Docs Home

TokenFleet Docs

Explore setup and usage guides for Codex, Claude Code, CC Switch, and Cursor, plus the TokenFleet gateway API reference.

TokenFleet Docs

Route popular AI tools through one configurable gateway

TokenFleet is the default product name used in this documentation. The docs site domain, OpenAI base URL, Claude-compatible root URL, model names, token permissions, and upstream routes can all be configured separately.

Quick check
Your docs site domain and API request address can be different. Start by testing the API endpoint with a token before wiring specific tools.
curl example
curl https://tokenfleet.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-token" \
  -H "Content-Type: application/json" \
  -d '{"model":"your-model-name","messages":[{"role":"user","content":"hello"}]}'
Access token
sk-your-token
OpenAI Base URL
https://tokenfleet.ai/v1
Claude / Anthropic root URL: https://tokenfleet.ai
OpenAI Chat
/v1/chat/completions
OpenAI Responses
/v1/responses
Claude Messages
/v1/messages

Tool guides

Each client now has its own page so setup steps, environment variables, config files, and validation commands stay separate.

Protocol shortcuts

The same TokenFleet gateway can serve multiple clients, and the OpenAI-compatible URL can differ from the Claude-compatible root URL.