API Reference
Tokenfly Complete API Documentation
Overview
TokenFly provides a complete set of RESTful API interfaces, compatible with the OpenAI API format, letting you invoke a wide range of AI capabilities.
Integration Guide
If this is your first time integrating with TokenFly, start with the integration guide to learn the basic request format and how to configure common clients (Claude Code, Codex, Cursor, etc.).
Web / HTTP Basics
Learn how to call Tokenfly APIs over HTTP.
Client Setup
Configuration guides for Claude Code, Codex, Cursor, and more.
AI Model APIs
AI Model APIs provide calls for various AI capabilities, compatible with the OpenAI API format.
How is this guide?