Overview
Most chat apps can connect through their OpenAI-compatible settings. Enterhttps://api.tokenlab.sh/v1 as the Base URL, paste a TokenLab API key, and choose a current chat model ID.
These settings use Chat Completions. Coding tools that require Responses or another API format have separate integration guides.
Supported Applications
Default Connection Values
If an app asks for a full endpoint URL instead of a base URL, use:
- Chat Completions:
https://api.tokenlab.sh/v1/chat/completions
Example App Setups
- LobeChat
- Cherry Studio
- Chatbox
- TypingMind
- Open WebUI
- DeepChat
- Jan
- LibreChat
Self-hosted LobeChatLobeChat Cloud
- Open Settings → AI Service Provider
- Select OpenAI
- Enter your TokenLab API key
- Set the custom endpoint to
https://api.tokenlab.sh/v1
Choose a Model
Copy a current chat model ID from the Models page. Capabilities, context limits, and prices can change, so do not keep a static model list in setup instructions.Tips
Prefer base URL when the app supports it
Prefer base URL when the app supports it
Most apps are easier to configure and less fragile when you provide
https://api.tokenlab.sh/v1 as a base URL instead of a full endpoint URL.Test the model in your app
Test the model in your app
Compare a few current models on the same conversations before choosing a default.
Keep coding tools separate
Keep coding tools separate
General chat apps and coding agents often need different endpoint behavior. Keep Codex/Cursor-style tools on their dedicated integration pages.
Troubleshooting
Connection Error
Connection Error
- Verify the base URL is exactly
https://api.tokenlab.sh/v1 - Remove trailing slashes if the app auto-appends paths
- If the app wants a full endpoint URL, use
https://api.tokenlab.sh/v1/chat/completions
Model Not Available
Model Not Available
- Verify the model name exactly
- Copy the exact model ID from the TokenLab Models page
- Check that the model supports Chat Completions