OpenAI
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.
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-5.4
GPT-5.4
gpt-5.4-mini
GPT-5.4 mini
gpt-5.4-nano
GPT-5.4 nano
gpt-5.2
GPT-5.2
gpt-5.1
GPT-5.1
gpt-5
GPT-5
gpt-5-mini
GPT-5 mini
gpt-5-nano
GPT-5 nano
gpt-4.1
GPT-4.1
gpt-4.1-mini
GPT-4.1 mini
gpt-4.1-nano
GPT-4.1 nano
gpt-4o
GPT-4o
gpt-4o-mini
GPT-4o mini
o4-mini
o4-mini
o3
o3
o3-mini
o3-mini
o3-pro
o3-pro
gpt-5.3-codex
GPT-5.3-Codex
gpt-5.3-codex-spark
GPT-5.3-Codex-Spark
gpt-5.2-codex
GPT-5.2-Codex
gpt-5.1-codex-max
GPT-5.1-Codex-Max
gpt-5.1-codex
GPT-5.1-Codex
gpt-5-codex
GPT-5-Codex
gpt-5.1-codex-mini
GPT-5.1-Codex-Mini
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