What is LibreChat?
LibreChat is an open-source, self-hostable chat platform — a ChatGPT-style UI that talks to many providers at once. Through its librechat.yaml custom-endpoints feature it can add any OpenAI-compatible API as a selectable endpoint for your whole team.
- A polished multi-user chat UI you host yourself (Docker).
- Adds OpenAI-compatible APIs as custom endpoints in
librechat.yaml. - Each endpoint can expose a curated model list or fetch it from the API.
- Per-user keys (
user_provided) or a shared server key via an env reference.
Why add Tokonomix as an endpoint?
One Tokonomix endpoint gives every LibreChat user 130+ models — and a tokonomix-consensus entry for the answers your team can’t afford to get wrong — without standing up a separate provider per family.
- Expose
tokonomix-consensusand direct slugs side by side in the model selector. - Centralise billing on one key with per-call spend caps.
- Route by
hosting_region/origin_countryfor compliance across the whole team. - Swap or extend the model list by editing one YAML block — no redeploy of providers.
Connect Tokonomix in librechat.yaml
Add a custom endpoint under endpoints.custom with the Tokonomix baseURL, an apiKey env reference, and the models you want listed.
endpoints:
custom:
- name: "Tokonomix"
apiKey: "${TOKONOMIX_API_KEY}"
baseURL: "https://tokonomix.ai/api/v1"
models:
default:
- "tokonomix-consensus"
- "anthropic/claude-sonnet-4-6"
fetch: true
titleConvo: trueSet apiKey: "user_provided" instead of an env reference to let each user paste their own Tokonomix key in the UI — useful for billing usage back to individuals.
Verify it works
- Add the block to
librechat.yamland restart LibreChat (or its Docker stack). - Pick the Tokonomix endpoint and a model in the selector, then send a message.
- Confirm the call and token usage appear in your Tokonomix dashboard.
