Docs
⚙️ Configuration
librechat.yaml
Custom AI Endpoints
xAI

xAI

xAI API key: x.ai

Notes:

  • Known: icon provided.
librechat.yaml
    - name: "xai"
      apiKey: "${XAI_API_KEY}"
      baseURL: "https://api.x.ai/v1"
      models:
        default: ["grok-beta"]
        fetch: false
      titleConvo: true
      titleMethod: "completion"
      titleModel: "grok-beta"
      summarize: false
      summaryModel: "grok-beta"
      forcePrompt: false
      modelDisplayLabel: "Grok"

image