Overview
Most general AI chat apps connect to TokenLab through the standard OpenAI-compatible chat path. In practice that means:- use
https://api.tokenlab.sh/v1as the base URL unless the app explicitly asks for a full endpoint URL - use your TokenLab API key as the OpenAI-style API key
- pick models that the app can use in a standard chat workflow
General chat apps are usually chat-completions oriented, not Codex Responses WebSocket clients. For Codex CLI/App, Cursor, or other coding tools that need Responses-specific behavior, use the dedicated integration guides instead.
Type: Chat AppPrimary Path: OpenAI-compatible chat-completionsSupport Confidence: Supported path
Supported Applications
| Application | Platform | Notes |
|---|---|---|
| Open WebUI | Web, Self-hosted | Popular self-hosted choice with OpenAI-compatible connections |
| LibreChat | Web, Self-hosted | Multi-provider chat workspace with custom OpenAI endpoints |
| LobeChat | Web, Desktop, Self-hosted | Strong custom-provider support |
| Cherry Studio | Windows, macOS, Linux | Good OpenAI-compatible provider flow |
| Chatbox | Windows, macOS, Linux | Simple OpenAI-compatible setup |
| DeepChat | Windows, macOS, Linux | Desktop client with OpenAI-compatible provider settings |
| Jan | Desktop, Self-hosted | Local-first app with remote OpenAI-compatible providers |
| TypingMind | Web, Desktop | Uses a custom endpoint style |
| NextChat | Web, Self-hosted | Lightweight ChatGPT-style client with base-URL overrides |
| ChatWise | Windows, macOS | Standard custom provider pattern |
Default Connection Values
| Field | Value |
|---|---|
| Base URL | https://api.tokenlab.sh/v1 |
| API Key | sk-your-tokenlab-key |
| API Type | OpenAI Compatible |
- 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
Safer Model Defaults
| Category | Suggested Models |
|---|---|
| General default | gpt-5.4-mini, gpt-5.4, gpt-5.5 |
| Anthropic | claude-sonnet-5, claude-opus-4-8, claude-fable-5 |
gemini-3.5-flash, gemini-3.1-flash-lite | |
| DeepSeek | deepseek-v4-flash, deepseek-v4-pro |
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.Use smaller models first
Use smaller models first
Start with
gpt-5.4-mini or deepseek-v4-flash for everyday chat, then move heavier reasoning tasks to gpt-5.4 or claude-opus-4-8.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
- Try a widely supported default like
gpt-5.4-mini,deepseek-v4-flash, orclaude-sonnet-5 - Check current availability in TokenLab docs or dashboard