Short answer. Add a
customendpoint tolibrechat.yamlwithbaseURL: https://api.plugsky.com/v1,apiKey: ${PLUGSKY_API_KEY}and a default model list. Restart LibreChat, pick Plugsky in the model selector, and send a test message. The base URL includes/v1; do not append/chat/completions.
Why use a custom endpoint instead of an override
LibreChat ships with OpenAI, Anthropic, Google and other built-in endpoints. The custom endpoint block is the supported way to add a provider that speaks the OpenAI protocol but is not one of those vendors. It keeps the Plugsky key on the server, shows the provider as a first-class option in the model picker, and lets LibreChat fetch the live model list from GET /v1/models.
A per-user “custom API key” override works for a single tester, but it is the wrong shape for a team. The endpoint block is reviewable, versioned and shared by every user in the workspace.
Add the Plugsky endpoint
Merge this block into the librechat.yaml at the root of your LibreChat deployment. The version below matches the current LibreChat configuration schema.
version: 1.3.19
cache: true
endpoints:
custom:
- name: "Plugsky"
apiKey: "${PLUGSKY_API_KEY}"
baseURL: "https://api.plugsky.com/v1"
models:
default:
- "plugsky-pro"
- "plugsky-max"
- "plugsky-lite"
fetch: true
titleConvo: true
titleModel: "plugsky-lite"
modelDisplayLabel: "Plugsky"
fetch: true asks Plugsky for the current model list. If your network blocks that call, the three default IDs still work. titleModel: plugsky-lite keeps automatic conversation titles on the cheapest text model instead of spending a frontier request on a title.
Set the key and restart
Put the key in the LibreChat environment, not in the YAML file:
PLUGSKY_API_KEY=sk-live-...
If you run LibreChat with Docker Compose, add the variable to the api service environment and restart the stack. A restart is required because LibreChat reads librechat.yaml and the environment at boot.
Verify the connection
- Open the model selector. Plugsky should appear as a provider.
- Send a one-line prompt to
plugsky-lite. It is the free text model and the fastest way to prove auth. - Switch to
plugsky-proand send a longer prompt. Confirm that streaming tokens arrive incrementally, not in one block. - Open a new conversation and confirm the title is generated without a visible delay.
Model choices
| Model | Use it for | Free plan? |
|---|---|---|
plugsky-lite | Fast chat, titles, simple extraction | Yes |
plugsky-pro | General workhorse, coding and analysis | No |
plugsky-max | Harder reasoning and longer context | No |
Limits to size before rollout
The free plan is an evaluation tier: 100 requests and 50K tokens per day, one concurrent request, 32K input and 2K output, two free model IDs. Hobby at $8/month raises this to 1,000 requests and 2M tokens per day, four concurrent requests and 64K input / 8K output. Builder and Scale remove the monthly token cap, subject to fair-use concurrency and RPM limits.
If a LibreChat workspace has more than a handful of active users, start at Starter or Builder. A shared chat UI multiplies requests quickly because every title, retry and regeneration is a separate call.
Troubleshooting
- 401 or “invalid API key”: the environment variable is not visible to the LibreChat API container. Check the service environment and restart.
- Empty model list: set
fetch: falseand keep the three default IDs, or allow outbound access toapi.plugsky.com. - 404: the base URL is wrong. It must end in
/v1and must not include/chat/completions. - 429: you hit the plan’s RPM or concurrency limit. Reduce parallel users or move to a higher plan.
- Streaming arrives in one block: a reverse proxy is buffering the response. Disable buffering for the LibreChat route.
Security notes
Keep PLUGSKY_API_KEY server-side. Do not expose it through a NEXT_PUBLIC_ variable or a browser bundle. LibreChat proxies model calls through its API service, so the key should never reach the client. Document the data flow: prompts and generations leave your network for the Plugsky region your account uses, while LibreChat’s database and uploaded files stay in your deployment.
Put LibreChat in front of one flat-rate API
Start with the free key, then move to Hobby or Builder when the workspace has real users.
Start Free → Why flat-rateRelated pages
Sources
| Project | Page checked | Checked |
|---|---|---|
| LibreChat | Custom endpoint configuration | 25 Nov 2026 |
| LibreChat | librechat.yaml reference | 25 Nov 2026 |
| Plugsky | Pricing and plan limits | 25 Nov 2026 |
| Plugsky | Model catalogue | 25 Nov 2026 |
Last checked 25 November 2026. Plugsky limits are canonical at /pricing; the model list is at /models.