<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Tech Architecture on TorchTree</title>
        <link>https://torchtree.com/en/tags/tech-architecture/</link>
        <description>Recent content in Tech Architecture on TorchTree</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <copyright>TorchTree Co., Ltd.</copyright>
        <lastBuildDate>Sun, 05 Apr 2026 07:01:31 +0800</lastBuildDate><atom:link href="https://torchtree.com/en/tags/tech-architecture/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>Connecting Kimi Code to OpenClaw: Key Configuration Cheat Sheet</title>
        <link>https://torchtree.com/en/post/kimi-code-openclaw/</link>
        <pubDate>Sun, 05 Apr 2026 07:01:31 +0800</pubDate>
        
        <guid>https://torchtree.com/en/post/kimi-code-openclaw/</guid>
        <description>&lt;p&gt;Kimi Code is the Coding Plan subscription from Moonshot AI that provides an API based on the Anthropic protocol. If you&amp;rsquo;ve already subscribed to Kimi Code, here&amp;rsquo;s how to connect it to OpenClaw.&lt;/p&gt;
&lt;h2 id=&#34;core-information&#34;&gt;Core information
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Endpoint&lt;/strong&gt;: &lt;code&gt;https://api.kimi.com/coding/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Protocol&lt;/strong&gt;: Anthropic Messages API (not OpenAI-compatible)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Model name&lt;/strong&gt;: &lt;code&gt;kimi-for-coding&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Context window&lt;/strong&gt;: 256K tokens&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Max output&lt;/strong&gt;: 64K tokens&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Multimodal&lt;/strong&gt;: Supported (based on K2.5, can handle visual inputs like images)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;API Key&lt;/strong&gt;: Generate it in the Coding Plan page of the &lt;a class=&#34;link&#34; href=&#34;https://www.kimi.com/code/console&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Kimi Code console&lt;/a&gt;; usage is also tracked on the same page&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;example-openclaw-configuration&#34;&gt;Example OpenClaw configuration
&lt;/h2&gt;&lt;p&gt;Add the following provider to your OpenClaw configuration file:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configuration notes:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the API Key as the environment variable &lt;code&gt;KIMI_CODE_API_KEY&lt;/code&gt;, using the key generated on the Coding Plan page&lt;/li&gt;
&lt;li&gt;&lt;code&gt;api&lt;/code&gt; must be &lt;code&gt;anthropic-messages&lt;/code&gt;; going through the OpenAI-compatible path returns 403 or 404 errors&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cost&lt;/code&gt; is set to 0 because the Coding Plan is a subscription, not per-token billing&lt;/li&gt;
&lt;li&gt;&lt;code&gt;input&lt;/code&gt; includes &lt;code&gt;text&lt;/code&gt; and &lt;code&gt;image&lt;/code&gt;, indicating multimodal input support&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;gotchas&#34;&gt;Gotchas
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Some OpenClaw versions may have compatibility issues with tool calls; if your call chain breaks, watch for version updates&lt;/li&gt;
&lt;li&gt;Kimi Code officially permits use in Claude Code and Roo Code; connecting it to OpenClaw is a &amp;ldquo;non-officially-supported product&amp;rdquo; and carries a risk of being flagged as abuse—evaluate this yourself&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;suitable-use-cases&#34;&gt;Suitable use cases
&lt;/h2&gt;&lt;p&gt;This fits users who already have a Kimi Code subscription and want to reuse their quota within OpenClaw. If you don&amp;rsquo;t have a Kimi Code subscription yet, you&amp;rsquo;ll first need to sign up for a membership plan at &lt;a class=&#34;link&#34; href=&#34;https://www.kimi.com&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;kimi.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update note&lt;/strong&gt;: the provider name changed from &lt;code&gt;kimi-code&lt;/code&gt; to &lt;code&gt;kimi-plan&lt;/code&gt; to avoid colliding with a built-in OpenClaw name.&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
