Overview
Learn how to use OpenAI models through TokenOff in different ways.
TokenOff provides API interfaces fully compatible with OpenAI, supporting all OpenAI models. You can use your existing OpenAI SDK directly — just update the base_url to switch seamlessly.
Quick Start
Step 1: Get an API Key
Go to the API Keys page to create your API key.
Step 2: Set the Base URL
https://tokenoff.com/apiReplace the OpenAI base URL in your existing code with the address above. No other changes are needed.
Usage Methods
API Interface
Call OpenAI models through API interface, suitable for integrating into your applications.
- API Base URL:
https://tokenoff.com/api - Compatibility: Fully compatible with Chat Completions and the Responses API
- Supported Languages: Python, TypeScript, curl, etc.
- Use Cases: Application integration, automation scripts, batch processing
View Chat Completions Documentation
Codex
Use OpenAI models in the Codex family of products.
Xcode
Use OpenAI for iOS development in Xcode.
OpenCode
Use OpenAI models in OpenCode.
Getting Started
If you don't have an account yet, please go to Quick Start to complete registration and login, then create your API key.
Choose the appropriate method based on your use case, follow the corresponding documentation to complete the configuration, and you can start using OpenAI for AI programming.
Supported APIs
TokenOff supports the following two OpenAI-compatible interfaces:
| API | Endpoint | Description |
|---|---|---|
| Chat Completions API | /v1/chat/completions | Classic chat completion interface, compatible with the OpenAI Chat Completions API |
| Responses API | /v1/responses | Next-generation response interface, compatible with the OpenAI Responses API |
Supported Models
gpt-6.1-sol
gpt-6.1-terra
gpt-6-astra
gpt-6-sol
gpt-6-luna
gpt-5.6-sol
gpt-5.6-terra
gpt-5.6-luna
gpt-5.5
gpt-5.4
gpt-5.4-mini
gpt-5.4-nano
gpt-5.2
gpt-5.1
gpt-5
gpt-5-mini
gpt-5-nano
gpt-4.1
gpt-4.1-mini
gpt-4o
gpt-4o-mini
gpt-5.3-codex
Contact Us
If you encounter any issues while using TokenOff:
Contact us atsupport@tokenoff.comand other official channels for technical support
Submit an issue on ourGithubrepository