Skip to main content

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/v1 as 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

ApplicationPlatformNotes
Open WebUIWeb, Self-hostedPopular self-hosted choice with OpenAI-compatible connections
LibreChatWeb, Self-hostedMulti-provider chat workspace with custom OpenAI endpoints
LobeChatWeb, Desktop, Self-hostedStrong custom-provider support
Cherry StudioWindows, macOS, LinuxGood OpenAI-compatible provider flow
ChatboxWindows, macOS, LinuxSimple OpenAI-compatible setup
DeepChatWindows, macOS, LinuxDesktop client with OpenAI-compatible provider settings
JanDesktop, Self-hostedLocal-first app with remote OpenAI-compatible providers
TypingMindWeb, DesktopUses a custom endpoint style
NextChatWeb, Self-hostedLightweight ChatGPT-style client with base-URL overrides
ChatWiseWindows, macOSStandard custom provider pattern

Default Connection Values

FieldValue
Base URLhttps://api.tokenlab.sh/v1
API Keysk-your-tokenlab-key
API TypeOpenAI Compatible
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

Self-hosted LobeChat
OPENAI_API_KEY=sk-your-tokenlab-key
OPENAI_PROXY_URL=https://api.tokenlab.sh/v1
LobeChat Cloud
  1. Open SettingsAI Service Provider
  2. Select OpenAI
  3. Enter your TokenLab API key
  4. Set the custom endpoint to https://api.tokenlab.sh/v1

Safer Model Defaults

CategorySuggested Models
General defaultgpt-5.4-mini, gpt-5.4, gpt-5.5
Anthropicclaude-sonnet-5, claude-opus-4-8, claude-fable-5
Googlegemini-3.5-flash, gemini-3.1-flash-lite
DeepSeekdeepseek-v4-flash, deepseek-v4-pro

Tips

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.
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.
General chat apps and coding agents often need different endpoint behavior. Keep Codex/Cursor-style tools on their dedicated integration pages.

Troubleshooting

  • 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
  • Double-check your API key
  • Confirm the key is active in TokenLab dashboard
  • Make sure there are no extra spaces or line breaks
  • Verify the model name exactly
  • Try a widely supported default like gpt-5.4-mini, deepseek-v4-flash, or claude-sonnet-5
  • Check current availability in TokenLab docs or dashboard