> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenlab.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# LibreChat

> Configure LibreChat to use TokenLab as a custom OpenAI-compatible endpoint

## Overview

LibreChat works well with TokenLab through a custom OpenAI-compatible endpoint.

<Note>
  **Type**: Chat App

  **Primary Path**: OpenAI-compatible chat completions

  **Support Confidence**: Supported path
</Note>

## Environment

```bash theme={null}
TOKENLAB_API_KEY=sk-your-tokenlab-key
```

## Example Endpoint

Add TokenLab to your LibreChat endpoint configuration:

```yaml theme={null}
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.
