Insurgently

Obsidian plugin· Active · beta · not yet released

Model Hub

Named roles mapped to provider and model, keys kept in secret storage, and a cost ledger with the billed cost of every call. Other plugins call it for their AI.

Beta. Model Hub is not released yet. These pages describe the build in progress.

Privacy and costs

What is sent where, what costs money and where your files are kept.

What leaves your machine

Model Hub sends your prompts, and any note text you or a plugin include, only to the providers you add.

WhereWhenWhat is sent
OpenRouter (openrouter.ai)You added OpenRouter and a call uses one of its modelsThe prompt and included text; requests for its model list and prices
Anthropic (api.anthropic.com)You added Anthropic and a call uses a Claude model directlyThe prompt and included text
TypeSafe (api.typesafe.ai)You added TypeSafe and a plugin makes a decision callThe decision's text
Ollama or LM StudioYou added oneThe prompt, to the server on your own computer
Another endpointYou added itThe prompt, to the address you entered
Your OpenTelemetry collectorYou turned on Send tracesThe role, model, tokens and cost of each call; never your text

Web research sends your question to the provider's web search.

Nothing is sent to the plugin's author. There is no telemetry, no account with us and no ads.

In the note chat, the chip under the header shows whether the open note goes with your question. With a selection, the whole note is sent too.

What costs money

  • OpenRouter, Anthropic and TypeSafe bill your account with them for each call. Model Hub is free; the label on its listing is Optional payments because of these services.
  • Ollama and LM Studio cost nothing per call.
  • To cap spending, set Per call and Per month on each tier: see Set up tiers and limits. Both are checked before a call is sent.
  • To see spending, open the usage view: see See what you spent.

Where things are kept

WhatWhere
API keysObsidian's keychain. Never in the settings file.
Settings (providers, tiers, roles)data.json in the plugin's folder, inside your vault's configuration folder
The ledger of callsledger.jsonl in the same folder
Your skillsThe vault folder you name under Skills folder

Model Hub reads and writes nothing outside your vault, and runs no other programs.