Connect a custom OpenAI endpoint
- Open KoboldAI Lite and its connection settings. Choose the OpenAI connection option.
- Check that Use CORS Proxy is off before entering your key or fetching models. A CORS proxy would receive requests carrying your key.
- Enter your NanoGPT API key from nano-gpt.com/api.
- Set the custom API URL to
https://nano-gpt.com/api/v1. Turn Add Ver. Num off because this address already includes/v1. - Set Mode to Chat-Completions. Leave Non-Standard Fields off to avoid sending extra samplers that the selected host may reject.
- Use Fetch to load models, or Custom to enter an exact model ID such as
deepseek/deepseek-v4.1-flash-1017-uncensored. Connect and send a short message.
If the reply fails
Check that the request URL ends in/api/v1/chat/completions, with only one /v1. Copy the exact model ID from the NanoGPT catalog. If the server names an unsupported setting, disable that sampler and retry.
For lower input costs in long sessions, keep the opening prompt stable and read long-chat caching.
Controls checked against the official KoboldAI Lite source, November 29, 2026. This source check is not a live authenticated chat test.