Search docs...

Start typing to search documentation

librechat
LibreChat

LibreChat Integration Guide

Connect OAO Store to LibreChat through a custom OpenAI-compatible endpoint.

Overview

LibreChat exposes any OpenAI-compatible host through endpoints.custom. Add a OAO Store block and set the env var; the model picker fills from the catalog.

Quick Config

Paste these into the client. Your key auto-fills when signed in.

text
Base URL: https://oao.ai.id/v1
API Key: YOUR_API_KEY

Sign in to auto-fill your API key

Compatibility

Chat CompletionsStreamingTool calling

Step-by-step setup

  1. 1
    Edit librechat.yaml

    Add a custom endpoint block under endpoints.custom.

    yaml
    endpoints:
      custom:
        - name: 'OAO Store'
          apiKey: '${OPENAI_API_KEY}'
          baseURL: 'https://oao.ai.id/v1'
          models:
            fetch: true
          titleConvo: true
          modelDisplayLabel: 'OAO Store'

    Sign in to auto-fill your API key

  2. 2
    Add the env var

    Set your OAO Store API key in the LibreChat .env file.

    bash
    OPENAI_API_KEY=YOUR_API_KEY

    Sign in to auto-fill your API key

  3. 3
    Restart LibreChat

    Restart the container or process. The OAO Store endpoint appears in the chat dropdown.

Recommended models

Free models that work here. Paste any model id into the client.

auto-regularauto-uncensoredauto-vipclaude-fable-5claude-haiku-5.5

Gotchas

  • Use single-brace syntax for env-var values, not the secrets syntax other configs use.
  • If a model rejects extra OpenAI params, add them to dropParams (for example frequency_penalty and presence_penalty).
  • fetch: true populates from the OAO Store catalog. Combine with default to surface preferred models first.
Generate API KeyModels