Overview
Learn how to use TokenOff's open-source model service through different methods.
TokenOff provides multiple ways to use open-source models. You can choose the appropriate method based on your use case.
Usage Methods
API Interface
Call open-source models through API interface, suitable for integrating into your applications.
- API Base URL:
https://tokenoff.com/api - Compatibility: Fully compatible with the OpenAI Chat Completions API
- Supported Languages: Python, TypeScript, curl, etc.
- Use Cases: Application integration, automation scripts, batch processing
Claude Code CLI
Use Claude Code for AI programming in the command line.
- Installation: Via official installation script
- Configuration: Set environment variables
ANTHROPIC_BASE_URLandANTHROPIC_AUTH_TOKEN - Use Cases: Command-line development, terminal operations, script writing
Claude Code Plugin
Use open-source models in VSCode through the Claude Code Agent.
- Plugin Name: Claude Code for VS Code
- Configuration: Configure environment variables in settings.json
- Use Cases: Daily development, code editing, project management
Codex
Use open-source models in the Codex family of products.
OpenCode
Use open-source 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 open-source models.
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