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.
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.
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"}]}'https://tokenfleet.ai/v1/chat/completions/v1/responses/v1/messagesTool guides
Each client now has its own page so setup steps, environment variables, config files, and validation commands stay separate.
Claude Code
Install Claude Code and connect it through the Claude-compatible root URL.
Codex
Use an OpenAI-compatible base URL to point Codex at your gateway.
CC Switch
Switch Claude Code profiles with separate gateway settings and tokens.
Cursor
Set a custom OpenAI-compatible endpoint, token, and model inside Cursor.
API Reference
Review model endpoints, protocol paths, and backend management APIs.
Management API
Inspect channels, models, tokens, users, logs, and admin operations.
Protocol shortcuts
The same TokenFleet gateway can serve multiple clients, and the OpenAI-compatible URL can differ from the Claude-compatible root URL.