Docs · Apps · Chat
LibreChat
Add TokenHaven as a custom endpoint in LibreChat.
All apps
Wherelibrechat.yaml → endpoints → custom
You’ll need an API key. Create one in Dashboard → API keys and give it a monthly limit if the app is shared.
- 01
Add the endpoint
Add TokenHaven under endpoints.custom in librechat.yaml. fetch: true loads the model list from TokenHaven.
librechat.yamlendpoints: custom: - name: "TokenHaven" apiKey: "${TOKENHAVEN_API_KEY}" baseURL: "https://api.tokenhaven.ai/v1" models: default: ["anthropic/claude-sonnet-4.5", "openai/gpt-4.1"] fetch: true titleConvo: true titleModel: "openai/gpt-4.1-mini" modelDisplayLabel: "TokenHaven" - 02
Set the key
Add the key to your .env file.
.envTOKENHAVEN_API_KEY=sk-th-v1-…
- 03
Restart
Restart LibreChat. TokenHaven appears in the endpoint menu.
LibreChat’s own docs · Model ids are on the models page.