Create a chat preset
- Open Presets and create or edit a generation preset.
- Choose Third-Party / Self-Host as the service and OpenAI (Chat Format) as the format. Choose the chat format, rather than text completions. Labels can differ between Agnai releases.
- Set Third Party URL to
https://nano-gpt.com/api/v1/chat/completionsand enable Disable Auto-URL. This tells Agnai to use the full address without adding another path. - Paste your NanoGPT key into Third Party API Key.
- Set Model Override to
deepseek/deepseek-v4.1-flash-1017-uncensored, or another exact ID from the model catalog. - Save the preset and select it for your chat. Send a short message and confirm that a reply arrives.