These examples use the website API host, which currently lists their recommended models. The direct API host can have a different catalog during rollouts. For larger requests or longer runtimes, use
https://api.nano-gpt.com/api/v1 with a model from that host’s catalog. See API Hosts for limits and availability checks.Using LibreChat with NanoGPT
A quick guide to setting up LibreChat with NanoGPT’s API.Setup Instructions
- Get your API key from nano-gpt.com/api
- Locate your LibreChat installation’s
librechat.example.ymlfile - Create a copy named
librechat.yml - Add the following configuration to your
librechat.yml:
reasoning_content field. The addParams block above enables NanoGPT’s compatibility shim so LibreChat can render thoughts without additional changes. If you would rather not send the compatibility flag, you can instead point LibreChat at https://nano-gpt.com/api/v1legacy/ which keeps the legacy response shape by default.
- Set your API key in your environment variables:
Available Models
You can access all our models through this integration, including:- GPT 6.1 Sol
- Claude Opus 5.5
- Gemini Flash Latest
- Perplexity
- And many more!