LibreChat
LibreChat is a self-hosted, multi-provider chat UI.
It supports OpenAI-compatible gateways through the
endpoints.custom block in librechat.yaml.
Setup guide: this config comes from LibreChat's official documentation and has not been run end to end against the gateway. Corrections to support@hyphen-solution.com.
1. Get a key
app.hyphen-solution.com → sign in → pick a
plan or credit pack → Dashboard → API Keys. Copy the sk-... key.
2. Configure
Add to librechat.yaml next to your docker-compose.yml:
Code
Then put the key in your .env:
Code
The ${HYPHEN_API_KEY} syntax only resolves if a matching entry exists in
.env. LibreChat does not fall back to the process environment.
Restart the stack:
Code
3. Verify
Open LibreChat, click the endpoint selector at the top of the chat, and pick
Hyphen. Choose minimax-m3 from the model dropdown and send:
Code
What the fields do
baseURLends in/v1. LibreChat appends/chat/completions.models.fetch: truemakes LibreChat callGET /v1/modelson startup and populate the dropdown with the live catalog. Thedefaultlist is the fallback if that call fails, and it sets the ordering.titleModelnames the model used to auto-title conversations. Point it atminimax-m2.5so titling does not spend flagship time on a one-line job.'current_model'is also valid if you would rather it use whatever the conversation is using.modelDisplayLabelis the name shown next to assistant messages.apiKey: 'user_provided'is an alternative to${...}: it makes each user paste their own Hyphen key in the web UI instead of sharing yours. Use it if you host LibreChat for other people.
Troubleshooting
- Endpoint missing from the selector.
librechat.yamlfailed to parse, or theversionfield is wrong. LibreChat logs the parse error at startup. 401. The.enventry name does not match what${...}references.- Empty replies. The M-series are reasoning models and need output headroom. See Choosing a model.
429. Monthly budget spent. See Rate limits & caps.- Config keys changed? The
versionfield pins the schema. Check the current shape in LibreChat's custom endpoint docs.
Related
- Models: the full catalog.
- Choosing a model: which model for which job.