Skip to main content

Overview

LibreChat works well with TokenLab through a custom OpenAI-compatible endpoint.
Type: Chat AppPrimary Path: OpenAI-compatible chat completionsSupport Confidence: Supported path

Environment

TOKENLAB_API_KEY=sk-your-tokenlab-key

Example Endpoint

Add TokenLab to your LibreChat endpoint configuration:
customEndpoints:
  - name: 'TokenLab'
    apiKey: '${TOKENLAB_API_KEY}'
    baseURL: 'https://api.tokenlab.sh/v1'
    models:
      default:
        - 'gpt-5.5'
        - 'gpt-5.4'
        - 'gpt-5.4-mini'
        - 'claude-opus-4-8'
        - 'claude-sonnet-5'
        - 'gemini-3.5-flash'
        - 'deepseek-v4-pro'
        - 'deepseek-v4-flash'
      fetch: true
    titleConvo: true
    titleModel: 'gpt-5.4-mini'
    modelDisplayLabel: 'TokenLab'

Notes

LibreChat uses the OpenAI-compatible chat path for this setup. TokenLab also exposes native Responses, Anthropic Messages, and Gemini-compatible endpoints for clients that support those request shapes.