AI setup & privacy
Connect a local or cloud model, choose your models and context limit, and understand what data leaves your device.
Choosing a provider
Open AI settings either from the gear icon in the AI panel or from Settings → AI → "AI provider" — both open the same dialog. Then pick a provider. Local options run a model on your own machine: LM Studio, Ollama, llama.cpp, Jan, vLLM, and a generic OpenAI-compatible preset. Cloud options run on a hosted service: OpenAI, Anthropic, Google Gemini, Groq, and OpenRouter. If your install allows it, you can also add a custom OpenAI-compatible endpoint.
Local vs cloud
Local providers usually need no API key (a few accept an optional one) and come with a default base URL pointing at your machine — start the local server, pick the provider, and choose a model. Cloud providers need an API key, which you paste into the settings and which is stored only in your browser on this device. You can override the base URL for any provider if your setup is non-standard.
Main model and fast model
Pick the main model for chat and edits. You can optionally set a separate, faster model for background work like inline suggestions and tag suggestions — handy when your main model is large and slow. If the provider lists its models you can choose from a dropdown; otherwise type the model name. Use Reload models to re-check the provider and refresh the list.
Note context limit
This controls how much of a note is sent to the model. Left on Auto, it follows your model's context window. You can set an explicit character limit instead — higher sends more of your text but takes longer, and going past your model's window can produce garbled or empty replies. The "What's this?" link next to the field explains it in place.
Privacy — where your data goes
With a local provider, your notes never leave your machine: requests go to the server running on your own computer. With a cloud provider, the note text (or the selection you are editing) is sent to that provider so it can respond, using the API key you entered. Your key is kept in your browser on this device and is only ever sent to the provider you chose. Searching and finding related notes runs over your own notes; it does not share them with anyone else.
Troubleshooting the connection
The app checks the provider when you open the AI tab. If it can't connect, you'll see a notice — confirm the provider is running and that the base URL and API key are correct, then use Reload models to try again. For local providers, make sure the local server is started and listening on the base URL shown.