These examples use the direct API host,
https://api.nano-gpt.com. It has no IPv6 address, so clients with only IPv6 should use https://nano-gpt.com with the same paths. See API Hosts.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://api.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!