TokenOff
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/api

Replace 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

View Responses Documentation

Codex

Use OpenAI models in the Codex family of products.

View Codex Documentation

Xcode

Use OpenAI for iOS development in Xcode.

View Xcode Documentation

OpenCode

Use OpenAI models in OpenCode.

View OpenCode Documentation

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:

APIEndpointDescription
Chat Completions API/v1/chat/completionsClassic chat completion interface, compatible with the OpenAI Chat Completions API
Responses API/v1/responsesNext-generation response interface, compatible with the OpenAI Responses API

Supported Models

Contact Us

If you encounter any issues while using TokenOff: