plaingateway
Integrations

LibreChat

Configure LibreChat to call plaingateway.

  1. Add PLAINGATEWAY_API_KEY=sk-pg-v1-... to LibreChat's .env file.
  2. Add an endpoint to librechat.yaml:
yaml
endpoints:
  custom:
    - name: "plaingateway"
      apiKey: "${PLAINGATEWAY_API_KEY}"
      baseURL: "https://api.plaingateway.com/api/v1"
      models:
        default: ["openai/gpt-5.6-luna"]
        fetch: true
      titleConvo: true
      titleModel: "openai/gpt-5.6-luna"
  1. Restart LibreChat.

fetch: true loads the model list from GET /models, which needs no key. default is the list shown if that fails.