OKNote
AI Configuration

🤖 AI providers and module configuration

AI Configuration · 🤖 AI providers and module configuration

AI runs through every corner of OKNote: note summaries, translation, chart generation, mail summaries, AI draft replies, weekly and monthly reports… and they all share one AI configuration. Set it up once and everything unlocks — all it takes is an API key from a model provider.

Set up in three minutes

Open Settings (⌘,) → AI Configuration:

  1. Pick a provider: the dropdown ships with presets for the major providers —

    Type Providers
    International OpenAI, Anthropic Claude, Google Gemini, xAI Grok, OpenRouter, Mistral, Groq
    China-based DeepSeek, Zhipu GLM, Kimi (Moonshot AI), Qwen (Tongyi), Doubao (Volcengine), SiliconFlow, Tencent Hunyuan, Baidu ERNIE
    Local / custom Ollama, LM Studio, Custom (any OpenAI-compatible endpoint)

    Selecting one fills in the Base URL automatically — you usually don't need to touch it.

  2. Paste your API key: the one you created on the provider's site (how-to below).

  3. Pick a model: the field suggests recommended models for that provider — just click one.

  4. Click "Test": on success you'll see the model's response and how long it took; on failure, check that the key is correct and the account has credit.

  5. Save. Done!

🔒 Your API key is stored AES-256-encrypted on your own server. It is never shared with any third party.

Getting an API key

Every provider follows the same shape: sign up on their site → open platform / API console → create an API key → copy it. Two examples:

OpenAI

  1. Open platform.openai.com, sign in, and go to "API keys".
  2. "Create new secret key", then copy and store it.

DeepSeek (great price-to-performance)

  1. Open platform.deepseek.com, sign up and sign in.
  2. Go to "API Keys" in the left menu and click "Create API Key".
  3. Copy the generated key starting with sk- (it's shown only once). A small top-up goes a long way.

Zhipu (open.bigmodel.cn), Kimi (platform.moonshot.cn), Qwen (Alibaba Cloud Model Studio), and the rest work the same way — create a key on each platform's "API Key" page.

Ollama local models (completely free — data never leaves your machine)

  1. Install Ollama on your server (or your own machine): download it from ollama.com.
  2. In a terminal, run ollama pull qwen3 (or any model you prefer).
  3. In OKNote, choose "Ollama (local)" as the provider. The Base URL defaults to http://localhost:11434, no API key needed — enter the model name you pulled and hit Test.

Note: local models (Ollama / LM Studio), custom providers, and configuring multiple providers are advanced capabilities that come with certain license tiers. If an option shows a lock icon, your current plan doesn't include it.

Advanced: a different AI for each module

AI Configuration · Advanced: a different AI for each module

The settings page has a "Per-module config" switch (available on certain license tiers). Turn it on and you can configure separately:

  • Notes / Report AI — note summaries, translation, charts, and the weekly/monthly task reports
  • Mail AI — mail summaries, classification, AI draft replies

Each can use a different provider or model. A typical setup: a strong model on the notes side to keep report quality high, and a cheap, fast model churning through mail summaries. With the switch off, everything runs on one shared configuration — which is perfectly fine too.

On team deployments, an admin can also choose to share their AI configuration with all members, so nobody else has to get their own key.