Skip to main content
These instructions are for KoboldAI Lite, the browser frontend. NanoGPT does not provide a Kobold text-generation endpoint for a locally loaded KoboldAI or KoboldCpp model.

Connect a custom OpenAI endpoint

  1. Open KoboldAI Lite and its connection settings. Choose the OpenAI connection option.
  2. Check that Use CORS Proxy is off before entering your key or fetching models. A CORS proxy would receive requests carrying your key.
  3. Enter your NanoGPT API key from nano-gpt.com/api.
  4. Set the custom API URL to https://nano-gpt.com/api/v1. Turn Add Ver. Num off because this address already includes /v1.
  5. Set Mode to Chat-Completions. Leave Non-Standard Fields off to avoid sending extra samplers that the selected host may reject.
  6. 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.
KoboldAI Lite warns that reconnecting resets custom OpenAI URLs. Check the URL again after changing connections. Use your NanoGPT key only with a frontend you trust, and remove saved keys before sharing a browser profile or exported configuration.

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.