<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Obsidian on Byteli</title><link>https://www.byteli.com/tags/obsidian/</link><description>Recent content in Obsidian on Byteli</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>binli@byteli.com (Bin Li)</managingEditor><webMaster>binli@byteli.com (Bin Li)</webMaster><copyright>Byteli (CC BY-NC 4.0)</copyright><lastBuildDate>Sat, 15 Aug 2026 17:05:27 +0200</lastBuildDate><atom:link href="https://www.byteli.com/tags/obsidian/index.xml" rel="self" type="application/rss+xml"/><item><title>Using DeepSeek in Obsidian</title><link>https://www.byteli.com/blog/2026/using_deepseek_in_obsidian/</link><pubDate>Sat, 15 Aug 2026 17:05:27 +0200</pubDate><author>binli@byteli.com (Bin Li)</author><guid>https://www.byteli.com/blog/2026/using_deepseek_in_obsidian/</guid><description>&lt;p>I came across &lt;a href="https://sspai.com/post/109850">this article&lt;/a> this morning, and was intrigued by the inexpensive yet powerful AI capabilities offered by Deepseek. Recently, I&amp;rsquo;ve been learning Dutch with Claude and have been considering using Obsidian + AI for note-taking, so I decided to give it a try — and it went quite smoothly.&lt;/p>
&lt;h2 id="steps">Steps&lt;/h2>
&lt;h3 id="1-claude-code-cli">1. Claude Code CLI&lt;/h3>
&lt;p>Install &lt;a href="https://code.claude.com/docs/en/overview">Claude Code CLI&lt;/a>. On mac, I just ran the following in Terminal:&lt;/p>





&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="ln">1&lt;/span>&lt;span class="cl">curl -fsSL https://claude.ai/install.sh &lt;span class="p">|&lt;/span> bash&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>and wait for a bit:&lt;/p></description><content:encoded><![CDATA[<p>I came across <a href="https://sspai.com/post/109850">this article</a> this morning, and was intrigued by the inexpensive yet powerful AI capabilities offered by Deepseek. Recently, I&rsquo;ve been learning Dutch with Claude and have been considering using Obsidian + AI for note-taking, so I decided to give it a try — and it went quite smoothly.</p>
<h2 id="steps">Steps</h2>
<h3 id="1-claude-code-cli">1. Claude Code CLI</h3>
<p>Install <a href="https://code.claude.com/docs/en/overview">Claude Code CLI</a>. On mac, I just ran the following in Terminal:</p>





<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">curl -fsSL https://claude.ai/install.sh <span class="p">|</span> bash</span></span></code></pre></div><p>and wait for a bit:</p>
<figure class="hugo-figure"><img src="/blog/2026/using_deepseek_in_obsidian/img/Claude_Code_CLI.png">
</figure>

<p>then enter:</p>





<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">which claude</span></span></code></pre></div><p>you&rsquo;ll get the path to Claude CLI - something like <code>/Users/USERNAME/.local/bin/claude</code>. Save the path somewhere (maybe Obsidian), because we&rsquo;ll use this path soon.</p>
<h3 id="2-deepseek-api">2. DeepSeek API</h3>
<h4 id="21-create-api-key">2.1 Create API key</h4>
<p>After creating a new DeepSeek account, you&rsquo;ll be able to create a new API key under <a href="https://platform.deepseek.com/api_keys">this page</a>. Save the API key in a temporary place (maybe Obsidian again), as you won&rsquo;t be able to view it again through your account.</p>
<p>2.2 Top up</p>
<p>The configuration failed in my first few tries, and the error message <code>Error: Unknown</code> didn&rsquo;t help. I then ran the following test in Terminal and found out that was caused by the insufficient balance.</p>





<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln"> 1</span><span class="cl">curl https://api.deepseek.com/chat/completions <span class="se">\
</span></span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="se"></span>  -H <span class="s2">&#34;Content-Type: application/json&#34;</span> <span class="se">\
</span></span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="se"></span>  -H <span class="s2">&#34;Authorization: Bearer </span><span class="si">${</span><span class="nv">DEEPSEEK_API_KEY</span><span class="si">}</span><span class="s2">&#34;</span> <span class="se">\
</span></span></span><span class="line"><span class="ln"> 4</span><span class="cl"><span class="se"></span>  -d <span class="s1">&#39;{
</span></span></span><span class="line"><span class="ln"> 5</span><span class="cl"><span class="s1">        &#34;model&#34;: &#34;deepseek-v4-pro&#34;,
</span></span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="s1">        &#34;messages&#34;: [
</span></span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="s1">          {&#34;role&#34;: &#34;system&#34;, &#34;content&#34;: &#34;You are a helpful assistant.&#34;},
</span></span></span><span class="line"><span class="ln"> 8</span><span class="cl"><span class="s1">          {&#34;role&#34;: &#34;user&#34;, &#34;content&#34;: &#34;Hello!&#34;}
</span></span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="s1">        ],
</span></span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="s1">        &#34;thinking&#34;: {&#34;type&#34;: &#34;enabled&#34;},
</span></span></span><span class="line"><span class="ln">11</span><span class="cl"><span class="s1">        &#34;reasoning_effort&#34;: &#34;high&#34;,
</span></span></span><span class="line"><span class="ln">12</span><span class="cl"><span class="s1">        &#34;stream&#34;: false
</span></span></span><span class="line"><span class="ln">13</span><span class="cl"><span class="s1">      }&#39;</span>
</span></span><span class="line"><span class="ln">14</span><span class="cl">      
</span></span><span class="line"><span class="ln">15</span><span class="cl"><span class="c1"># {&#34;error&#34;:{&#34;message&#34;:&#34;Insufficient Balance&#34;,&#34;type&#34;:&#34;unknown_error&#34;,&#34;param&#34;:null,&#34;code&#34;:&#34;invalid_request_error&#34;}}</span></span></span></code></pre></div><p>After topping up <a href="https://platform.deepseek.com/top_up">here</a> , it backed to work.</p>
<h3 id="3-claudian">3. Claudian</h3>
<p>Before the final step, the following should have been ready:</p>
<ol>
<li>The Claude CLI path in Step 1；</li>
<li>The DeepSeek API key in Step 2.1.</li>
</ol>
<p>Then, opening Obsidian, searching for the  <a href="https://community.obsidian.md/plugins/realclaudian">Claudian</a> （by: <a href="https://github.com/yishentu">Yishen Tu</a>） in Community Plugins. Install and enable the plugin, then open the plugin options page.</p>
<ul>
<li>
<p>General：You can change the language and the relative position of the AI chatbox in Obsidian. I just left them as default.</p>
</li>
<li>
<p>Claude: Though Claudian doesn&rsquo;t have native support for DeepSeek, DeepSeek&rsquo;s API is compatible with OpenAI/Anthropic. So you can configure them under the Claude tab anyway.</p>
<ul>
<li>
<p>Enable Claude: Make sure it&rsquo;s enabled.</p>
</li>
<li>
<p>Claude CLI Path: Paste the path gained in Step 1.</p>
</li>
<li>
<p>Environment - Custom Variables: Fill in the following info based on <a href="https://api-docs.deepseek.com/">DeepSeek API doc</a>:</p>
<ul>
<li>





<pre tabindex="0"><code class="language-yam" data-lang="yam">ANTHROPIC_API_KEY={DEEPSEEK_API_KEP}
ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
ANTHROPIC_MODEL= deepseek-v4-flash</code></pre></li>
<li>
<p>ANTHROPIC_API_KEY: The API key gained in Step 2.1.</p>
</li>
<li>
<p>ANTHROPIC_BASE_URL: The <code>base_url (Anthropic)</code> from DeepSeek API doc, no need to change.</p>
</li>
<li>
<p>ANTHROPIC_MODEL： <code>deepseek-v4-flash</code> or <code>deepseek-v4-pro</code>. <code>deepseek-v4-flash</code> is 67% cheaper ($0.28 / 1M token), while <code>deepseek-v4-pro</code> is more suitable for complex tasks. As my use cases is fairly straightforward, I choose <code>deepseek-v4-flash</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 id="start-chatting">Start Chatting</h2>
<p>Exit the plug-in setting page and launch Claudian from the home page. A chatbox will appear in the top-right corner (by default), and you AI journey begins 🎉</p>
<figure class="hugo-figure"><img src="/blog/2026/using_deepseek_in_obsidian/img/DeepSeek_in_Obsidian.png" width="500">
</figure>

]]></content:encoded></item></channel></rss>