Naidan
Guides

Connect your browser chat to a local Ollama model

If you already run a local LLM with Ollama, you can use that model in Naidan’s chat. This example connects to Ollama already running on your device. Naidan does not start the Ollama process.

Open /#/settings/connection to set the default connection and model for chats that inherit them.

Have at least one Ollama model available before connecting. You will choose the server address in the connection settings.

1. Open Settings and Connection

The link above opens Connection directly. You can also open it from Settings at the bottom of the sidebar.

The sidebar Settings button opens the Connection settings.

2. Choose Ollama and its local address

In the Connection field at the top, choose Ollama. Select Ollama (local) below it to fill Endpoint URL with http://localhost:11434, or enter your server’s actual address. The preset changes the provider and URL together.

The provider changes to Ollama; the local preset fills the URL in the same panel.

3. Check the connection and model list

Beside Endpoint URL, select Check Connection. Naidan fetches the model list; a spinner changes briefly to a check mark on success. Localhost addresses are also checked automatically when the provider or URL changes. If the check fails, verify the service, address and the browser’s CORS or origin error.

Check Connection loads Ollama’s model list, then briefly confirms success.

4. Pick a default model and save

Choose a model returned by Ollama in Default Model, beside the connection field at the top, then select Save Changes. This default applies to existing and new chats that inherit it; chat and group overrides stay in effect. The example gemma3n:e2b is only a sample; choose a model available on your server.

The selected model and saved state follow the successful connection; the model name is an example.

Close Settings, choose New Chat in the sidebar, and send a short message.

When the model does not appear

Check that Ollama has a model available, then use Check Connection again. If the page was opened from file://, the browser may send Origin: null and the Ollama service may need to allow that origin. A hosted page can also be limited by its Content Security Policy. The browser’s network error helps identify which boundary blocked the request.

Choose a connection from the model screen

On the home screen, choose Choose a model, then Use OpenAI, Ollama and more. Choose Ollama, enter its URL, fetch the model list, and confirm with Use this connection. A choice made from home sets the global default. If model selection opens from an existing chat, it changes only that chat.