
Obsidian
A local-first notes app that gets an AI writing assistant through the Smart Composer plugin.
What this is
Obsidian is a local-first Markdown notes app. It does not include AI on its own, but a community plugin called Smart Composer adds an AI assistant that can read your notes and help you write. By pointing Smart Composer at TokenMix, you can draft, rewrite and ask questions inside your notes with Claude, GPT or DeepSeek.
Before you start
- Install Obsidian from obsidian.md. It runs on desktop and mobile.
- Sign up at tokenmix.ai, open the Console, go to API Keys, and create a key that starts with sk-tm-.
Install the Smart Composer plugin
- In Obsidian, open Settings, go to Community plugins, and turn off Restricted mode if it is on.
- Click Browse, search for Smart Composer, install it, then enable it.
Connect TokenMix
- Open Settings, go to Smart Composer, and open the Providers tab.
- Click Add custom provider.
- Type: choose OpenAI Compatible.
- Base URL: enter https://api.tokenmix.ai/v1 and keep the /v1.
- API Key: paste your sk-tm- key, then save.
- Open the Models tab, click Add custom model, choose the provider you just created, and enter a TokenMix model id such as claude-sonnet-4.6.
Check it works
Open the Smart Composer chat in the right sidebar, select your model, and ask it to summarize the current note. A useful reply means it is connected. You can see the spend in the TokenMix Console.
Common questions
No reply or an error: make sure the Base URL is https://api.tokenmix.ai/v1 with the /v1, and that you added a model under the provider on the Models tab.
Why Smart Composer: it keeps providers and models separate and supports OpenAI-compatible endpoints cleanly, which makes it a good fit for TokenMix.
Which models to pick: for writing, Claude Opus 4.8, Claude Sonnet 4.6 and DeepSeek V4 Pro are good starting points.