LOCKMeridian × Lobe Chat

Lobe Chat with Meridian

Route Lobe Chat through your Meridian proxy for unified billing, rate limiting, and model access control — all with a single environment variable change.

  1. 1

    Set the API endpoint

    Point Lobe Chat at your Meridian proxy URL so all requests flow through your licensed instance.

    OPENAI_PROXY_URL=https://api.meridian.yourdomain.com/v1
  2. 2

    Provide your Meridian API key

    Use the key generated in the Meridian dashboard. It authenticates every request and enforces your rate limits.

    OPENAI_API_KEY=mrd_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  3. 3

    Restart Lobe Chat

    Apply the environment variables and restart the container or process. Lobe Chat will auto-discover models through Meridian's /v1/models endpoint.

Pro tip: Set both variables in your .env file or Docker Compose environment block. Meridian is a drop-in replacement for the OpenAI base URL — no Lobe Chat source changes required.