LOCK

LibreChat with Meridian

Point LibreChat at your Meridian endpoint to funnel every model request through Meridian's access control layer. One base URL, one API key — Meridian handles routing, rate limits, and audit trails upstream.

librechat.yaml

Add a custom endpoint under endpoints.custom:

endpoints:
  custom:
    - name: "Meridian"
      apiKey: "${MERIDIAN_API_KEY}"
      baseURL: "https://your-org.meridian.sh/v1"
      models:
        default: ["gpt-4o", "claude-sonnet-4-20250514"]
        fetch: true
      titleConvo: true
      titleModel: "gpt-4o-mini"
      summaryModel: "gpt-4o-mini"
      forcePrompt: false
      modelDisplayLabel: "Meridian"

Setup

  1. Copy your Meridian API key from Dashboard → API Keys.
  2. Set MERIDIAN_API_KEY in your LibreChat .env file.
  3. Paste the YAML block above into your librechat.yaml and restart LibreChat.
  4. Select Meridian from the model dropdown — all requests now flow through Meridian.

What Meridian enforces

  • Per-key rate limits and token quotas defined in your Meridian dashboard.
  • Model allowlisting — only models you've approved are reachable.
  • Request audit logging with full payload capture for compliance.
  • Cost attribution per key, per user, per model — visible in real-time.