<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://thakicloud.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://thakicloud.github.io/" rel="alternate" type="text/html" /><updated>2026-07-18T11:26:14+09:00</updated><id>https://thakicloud.github.io/feed.xml</id><title type="html">Thaki Cloud Tech Blog | ThakiCloud | 다키클라우드 기술 블로그</title><subtitle>Thaki Cloud (ThakiCloud, 다키클라우드, thaki cloud, THAKI CLOUD, ثاكي كلاود)는 AI/ML Engineering, LLMOps, DevOps 분야의 최신 기술과 실무 경험을 공유하는 전문 기술 블로그입니다. 머신러닝 모델 운영, 쿠버네티스, 클라우드 인프라, AI 엔지니어링 커리어, 인공지능 기술 블로그, 다키클라우드 개발 팀의 깊이 있는 인사이트를 제공합니다. مدونة تقنية متخصصة في هندسة الذكاء الاصطناعي والحوسبة السحابية.</subtitle><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><entry xml:lang="ar"><title type="html">كيف يعمل vLLM، وكيف يُستخدم في بيئة الإنتاج</title><link href="https://thakicloud.github.io/ar/dev/llmops/vllm-production-inference-engineering/" rel="alternate" type="text/html" title="كيف يعمل vLLM، وكيف يُستخدم في بيئة الإنتاج" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/ar/dev/llmops/vllm-production-inference-engineering</id><content type="html" xml:base="https://thakicloud.github.io/ar/dev/llmops/vllm-production-inference-engineering/"><![CDATA[<h2 id="نظرة-عامة">نظرة عامة</h2>

<p>أي فريق قام بنشر نموذج لغوي كبير في خدمة حقيقية يدرك سريعا حقيقة واحدة: ما يحدد سرعة استجابة الخدمة وتكلفتها ليس النموذج الذي اخترته، بل ما تستخدمه لتشغيله. على نفس بطاقة GPU، وبنفس النموذج، يمكن أن تختلف الإنتاجية في الثانية بعدة أضعاف حسب محرك الاستدلال المستخدم. واختلاف الإنتاجية بعدة أضعاف يعني اختلاف عدد وحدات GPU اللازمة لتحمل نفس حجم الحركة بعدة أضعاف أيضا، وهذا ينعكس مباشرة على حجم فاتورة البنية التحتية.</p>

<p>يتناول هذا المقال vLLM، الذي أصبح اليوم المعيار الفعلي لخدمة النماذج اللغوية الكبيرة في بيئة الإنتاج. سنستعرض بالترتيب المشكلة التي ظهر vLLM لحلها، وما تفعله فعليا تقنياته الأساسية PagedAttention والتجميع المستمر (continuous batching)، وما الذي يجب الانتباه إليه لتشغيله بثبات فوق Kubernetes. تدير ThakiCloud هذا المحرك في كل من البيئات المحلية (on-premise) والبيئات المُدارة لعملائها، لذا سنتجاوز الشرح النظري البسيط ونكتب هذا من منظور المشغّل الفعلي.</p>

<h2 id="ما-هو-vllm">ما هو vLLM</h2>

<p>vLLM محرك استدلال مفتوح المصدر أطلقه باحثون من جامعة كاليفورنيا بيركلي عام 2023. الهدف بسيط وواضح: جعل استدلال النماذج اللغوية الكبيرة أسرع وأرخص. انتشر بسرعة بعد إطلاقه، وأصبح اليوم الخيار الافتراضي الذي يقوم عليه استدلال الإنتاج لدى منظمات عديدة مثل Meta وMistral وCohere وIBM.</p>

<p>ما يستهدفه vLLM هو نوعان من الهدر المختبئان في أساليب الاستدلال التقليدية. الأول هو تجزؤ الذاكرة (memory fragmentation)، والثاني هو وقت خمول GPU. لا يظهر أي منهما بوضوح على السطح، لكن مجتمعين يتركان جزءا كبيرا من GPU الباهظة الثمن في حالة خمول دون أي عمل. تستهدف التقنيتان الأساسيتان في vLLM، وهما PagedAttention والتجميع المستمر، كل واحدة نوعا من هذين النوعين من الهدر بشكل مباشر.</p>

<p>لنرسم أولا الهيكل العام.</p>

<pre><code class="language-mermaid">flowchart TB
    A[طلبات مستخدمين متعددة] --&gt; B[المجدول]
    B --&gt; C{تجميع مستمر&lt;br/&gt;إعادة بناء في كل خطوة}
    C --&gt; D[PagedAttention&lt;br/&gt;إدارة صفحات ذاكرة KV]
    D --&gt; E[تنفيذ GPU&lt;br/&gt;تمرير أمامي]
    E --&gt; F{الطلبات المكتملة&lt;br/&gt;تُعاد فورا}
    F --&gt;|تسلسل غير مكتمل| C
    F --&gt;|مكتمل| G[بث الاستجابة]
    D -.جدول الكتل.-&gt; H[(كتل فيزيائية غير متجاورة&lt;br/&gt;ذاكرة GPU)]
</code></pre>

<h2 id="pagedattention-القضاء-على-هدر-الذاكرة">PagedAttention: القضاء على هدر الذاكرة</h2>

<p>أثناء توليد النموذج اللغوي للرموز (tokens) واحدا تلو الآخر، يخزّن المفاتيح والقيم التي حسبها سابقا. يُسمى هذا ذاكرة KV المؤقتة (KV cache)، وكلما طالت الجملة، زاد حجم هذه الذاكرة المؤقتة في ذاكرة GPU. تكمن المشكلة في أن الأسلوب التقليدي يحجز لكل طلب مسبقا مقدارا من الذاكرة يعادل الطول الأقصى المتوقع، وذلك كقطعة كبيرة متجاورة. فإذا كانت الاستجابة الفعلية أقصر من ذلك، يُهدر جزء كبير من الذاكرة المحجوزة ببساطة. وعندما تصل طلبات متعددة في وقت واحد، يتراكم هذا الهدر، حتى تصل الحالة إلى أن GPU لديه ذاكرة فارغة لكنه لا يستطيع استقبال طلب جديد.</p>

<p>استعار PagedAttention فكرته مباشرة من طريقة أنظمة التشغيل في التعامل مع الذاكرة العشوائية (RAM)، أي الذاكرة الافتراضية والترقيم (paging). فبدلا من حجز ذاكرة KV المؤقتة كقطعة واحدة كبيرة، يقسّمها إلى صفحات صغيرة قابلة لإعادة الاستخدام. تُربط الكتل المنطقية لكل تسلسل، عبر جدول كتل (block table)، بكتل فيزيائية غير متجاورة داخل ذاكرة GPU. وبهذا لا يُخصَّص إلا العدد الفعلي اللازم من الصفحات، ما يقلل هدر الذاكرة بشكل كبير. وبحسب مصادر مشروع vLLM نفسه، يمكن لهذا الأسلوب أن يقلل هدر الذاكرة بنسبة تصل إلى 90 بالمئة.</p>

<p>وله أيضا فائدة جانبية كبيرة. ففي عمليات فك ترميز معقدة تتفرع من موجّه (prompt) واحد إلى مسارات متعددة، مثل أخذ العينات المتوازي (parallel sampling) أو بحث الحزمة (beam search)، لا يحتاج vLLM إلى تكرار ذاكرة KV المؤقتة الخاصة بالموجّه. يمكن لكتل منطقية متعددة أن تشير إلى نفس الكتلة الفيزيائية، ولا تُنشأ نسخة إلا عندما تحتاج إحداها إلى تعديل تلك الكتلة، وهو أسلوب النسخ عند الكتابة (copy-on-write). وبذلك تتمكن الطلبات التي تشترك في نفس السياق البادئ من التعايش مع توفير في الذاكرة.</p>

<h2 id="التجميع-المستمر-إبقاء-gpu-مشغولا-دائما">التجميع المستمر: إبقاء GPU مشغولا دائما</h2>

<p>النوع الثاني من الهدر هو هدر الوقت. يجمّع التجميع الثابت التقليدي (static batching) الطلبات في دفعة (batch) ويعالجها معا، ولا يبدأ الدفعة التالية حتى تنتهي جميع الطلبات في الدفعة الحالية. تكمن المشكلة في أن عدد الرموز التي يولّدها كل طلب يختلف من طلب لآخر. فالطلب الذي ينتج إجابة قصيرة ينتهي مبكرا، لكنه يظل بحاجة إلى الانتظار حتى ينتهي أطول طلب في الدفعة. وخلال ذلك، يبقى مكان GPU الذي كان يشغله الطلب المنتهي خاملا.</p>

<p>يزيل التجميع المستمر هذا الانتظار. يتخذ المجدول قراراته على مستوى التكرار (iteration) وليس على مستوى الدفعة، أي في كل تمرير أمامي (forward pass). فبمجرد انتهاء أي طلب في تلك الخطوة، يُملأ مكانه فورا بطلب جديد من قائمة الانتظار. وبما أن الطلبات الجارية والطلبات الجديدة تُمزج ديناميكيا في كل خطوة، فإن GPU لا يخمل تقريبا أبدا. ويُذكر أن هذا الأسلوب يرفع الإنتاجية على نفس العتاد بمقدار 3 إلى 10 أضعاف.</p>

<p>عند تطبيق PagedAttention والتجميع المستمر معا، الملاحظة الشائعة هي أن الإنتاجية تتحسن بمقدار يتراوح تقريبا بين ضعفين وأربعة أضعاف مقارنة بتنفيذ ساذج للخدمة. تكمّل التقنيتان بعضهما البعض. فلكي يتمكن التجميع المستمر من إدراج طلب جديد في كل خطوة، يحتاج إلى مرونة مماثلة في ربط الذاكرة وفصلها، وهذه المرونة هي بالضبط ما يوفره PagedAttention.</p>

<blockquote>
  <p>الأرقام أعلاه مأخوذة من مشروع vLLM ومصادر قياس أداء (benchmark) متعددة، والتحسن الفعلي يختلف باختلاف حجم النموذج، وتوزيع أطوال التسلسلات، والعتاد المستخدم. يجب قياس الأرقام الدقيقة الخاصة ببيئتك عبر حمل العمل الفعلي لديك.</p>
</blockquote>

<h2 id="كيف-يُستخدم-في-بيئة-الإنتاج">كيف يُستخدم في بيئة الإنتاج</h2>

<p>بعد فهم المفاهيم، يصبح التشغيل الفعلي بسيطا بشكل مفاجئ. يوفر vLLM خادما متوافقا مع OpenAI بشكل افتراضي، لذا فإن الشيفرة التي كانت تستدعي واجهة برمجية خارجية غالبا ما تعمل دون تعديل بمجرد تغيير عنوان نقطة النهاية (endpoint) فقط.</p>

<p>أبسط شكل لتشغيل الخادم كالتالي.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># تثبيت vLLM (بيئة CUDA)</span>
pip <span class="nb">install </span>vllm

<span class="c"># تشغيل خادم متوافق مع OpenAI</span>
vllm serve meta-llama/Llama-3.1-8B-Instruct <span class="se">\</span>
  <span class="nt">--tensor-parallel-size</span> 1 <span class="se">\</span>
  <span class="nt">--max-model-len</span> 8192 <span class="se">\</span>
  <span class="nt">--gpu-memory-utilization</span> 0.90
</code></pre></div></div>

<p>الاستدعاء يستخدم عميل OpenAI الحالي كما هو.</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">from</span> <span class="n">openai</span> <span class="kn">import</span> <span class="n">OpenAI</span>

<span class="n">client</span> <span class="o">=</span> <span class="nc">OpenAI</span><span class="p">(</span><span class="n">base_url</span><span class="o">=</span><span class="sh">"</span><span class="s">http://localhost:8000/v1</span><span class="sh">"</span><span class="p">,</span> <span class="n">api_key</span><span class="o">=</span><span class="sh">"</span><span class="s">EMPTY</span><span class="sh">"</span><span class="p">)</span>
<span class="n">resp</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="n">chat</span><span class="p">.</span><span class="n">completions</span><span class="p">.</span><span class="nf">create</span><span class="p">(</span>
    <span class="n">model</span><span class="o">=</span><span class="sh">"</span><span class="s">meta-llama/Llama-3.1-8B-Instruct</span><span class="sh">"</span><span class="p">,</span>
    <span class="n">messages</span><span class="o">=</span><span class="p">[{</span><span class="sh">"</span><span class="s">role</span><span class="sh">"</span><span class="p">:</span> <span class="sh">"</span><span class="s">user</span><span class="sh">"</span><span class="p">,</span> <span class="sh">"</span><span class="s">content</span><span class="sh">"</span><span class="p">:</span> <span class="sh">"</span><span class="s">اشرح vLLM في جملة واحدة</span><span class="sh">"</span><span class="p">}],</span>
<span class="p">)</span>
<span class="nf">print</span><span class="p">(</span><span class="n">resp</span><span class="p">.</span><span class="n">choices</span><span class="p">[</span><span class="mi">0</span><span class="p">].</span><span class="n">message</span><span class="p">.</span><span class="n">content</span><span class="p">)</span>
</code></pre></div></div>

<p>النقطة التي تتطلب فعليا اهتماما في بيئة الإنتاج ليست أمر تشغيل الخادم نفسه، بل المعاملات التشغيلية المحيطة به. على وجه الخصوص، يجب الانتباه إلى التالي.</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">--gpu-memory-utilization</code>: نسبة ذاكرة GPU المخصصة لذاكرة KV المؤقتة. رفعها كثيرا يؤدي إلى تجاوز الذاكرة لحظيا، وخفضها كثيرا يقلل عدد الطلبات التي يمكن استقبالها في وقت واحد.</li>
  <li><code class="language-plaintext highlighter-rouge">--tensor-parallel-size</code>: حجم التوازي على مستوى المصفوفات (tensor parallel) الذي يوزع النموذج على عدة وحدات GPU. ضروري عند خدمة نموذج كبير لا يتسع في GPU واحدة.</li>
  <li><code class="language-plaintext highlighter-rouge">--max-model-len</code>: الطول الأقصى للسياق (context). كلما زاد هذا الرقم، كبرت ذاكرة KV المؤقتة لكل طلب، ما يخلق مفاضلة تقلل الإنتاجية المتزامنة.</li>
</ul>

<p>عند التشغيل فوق Kubernetes، تُضاف إلى ذلك طبقة الجدولة وإدارة الموارد. GPU مورد باهظ الثمن ومحدود، لذا فبمجرد أن تشترك عدة فرق وعدة نماذج في عنقود (cluster) واحد، ينشأ تنافس على الموارد فورا. وهنا تأتي الحاجة إلى الجدولة الدفعية القائمة على قوائم الانتظار (queue-based batch scheduling). تضع ThakiCloud Kueue في هذه الطبقة لإدارة أي حمل عمل يشغل كم من GPU ومتى، كسياسة واضحة.</p>

<h2 id="الآثار-المترتبة-على-منتجات-thakicloud">الآثار المترتبة على منتجات ThakiCloud</h2>

<p>منصة ai-platform الخاصة بـ ThakiCloud هي بنية تحتية لخدمات الذكاء الاصطناعي وتعلم الآلة كخدمة (SaaS) قائمة على Kubernetes، وتُعد خدمة النماذج في بيئات متنوعة لدى العملاء قدرتها الأساسية. يمثّل vLLM المحرك الافتراضي في طبقة الخدمة هذه. تنعكس مكاسب الإنتاجية التي يحققها PagedAttention والتجميع المستمر مباشرة على خفض تكلفة الخدمة، وهذا ما يمكّننا من تقديم تكلفة خدمة منخفضة لعملائنا.</p>

<p>وتزداد قيمة هذا المزيج بشكل خاص في البيئات المحلية (on-premise) والبيئات ذات السيادة (sovereign). فالعملاء الذين لا يمكنهم إخراج بياناتهم إلى الخارج مضطرون لتشغيل النماذج داخل بنيتهم التحتية الخاصة من GPU، وفي هذه الحالة، يصبح رفع الإنتاجية التي تتحملها كل بطاقة GPU إلى أقصى حد ممكن هو ما يحدد إمكانية التبني نفسها. فإذا استخدم محرك الاستدلال GPU بكفاءة أعلى بمقدار الضعف، فهذا يعني أن نفس الخدمة يمكن تشغيلها بنصف العتاد.</p>

<p>من الناحية التشغيلية، القيمة التي تضيفها ThakiCloud ليست المحرك نفسه، بل الهيكل المحيط به: إدارة قوائم انتظار GPU عبر Kueue، والعزل بين المستأجرين المتعددين (multi-tenant isolation)، والتوسع التلقائي والمراقبة (observability)، وطبقة السياسات التي تتيح لعدة نماذج التعايش بأمان في عنقود واحد. إذا كان vLLM مسؤولا عن كفاءة خادم واحد، فإن المنصة مسؤولة عن جعل عشرات من هذه الخوادم قابلة للمشاركة بثبات عبر المؤسسة بأكملها.</p>

<h2 id="القيود-والحجج-المضادة">القيود والحجج المضادة</h2>

<p>vLLM ليس حلا سحريا شاملا. لديه بعض القيود الصادقة التي يجب ذكرها.</p>

<p>أولا، تتألق قوة vLLM في الإنتاجية، أي عند استقبال عدد كبير من الطلبات في وقت واحد. وعلى العكس، في حالات الحمل المنخفض حيث تصل الطلبات نادرا وواحدا تلو الآخر، لا تكون ميزة التجميع المستمر كبيرة، وقد يكون نهج آخر متخصص في تحسين زمن الاستجابة (latency) أفضل. يجب أولا فهم نمط حركة المرور الخاص بك، هل هو طلبات متزامنة بكميات كبيرة أم طلبات متفرقة أحادية.</p>

<p>ثانيا، الأرقام التي يقدمها PagedAttention والتجميع المستمر تعتمد بشدة على حمل العمل. ففي حالات أطوال التسلسل الطويلة جدا أو القصيرة جدا، أو على عتاد معين، قد لا تتكرر نسب التحسن المُبلَّغ عنها كما هي. يجب أن يستند قرار التبني إلى اختبار حمل فعلي يمثّل حمل العمل الخاص بك، ولا ينبغي افتراض أن المضاعف الذي أبلغ عنه طرف آخر سيكون هو نفسه لديك.</p>

<p>ثالثا، كلما تحسنت كفاءة المحرك، ينتقل عنق الزجاجة فعليا إلى مستوى أعلى، أي إلى الجدولة والتشغيل متعدد المستأجرين. مهما بلغت درجة تحسين خادم واحد، فإن مشكلة تنافس عدة فرق على GPU يجب حلها في طبقة المنصة وليس في طبقة المحرك. vLLM نقطة انطلاق ممتازة، لكنه ليس نقطة النهاية، والتحديات الحقيقية في بيئة الإنتاج تبدأ بعده مباشرة.</p>

<h2 id="المصادر">المصادر</h2>

<ul>
  <li><a href="https://www.runpod.io/articles/guides/vllm-pagedattention-continuous-batching">vLLM Explained: PagedAttention and Continuous Batching (RunPod)</a></li>
  <li><a href="https://www.spheron.network/blog/llm-serving-optimization-continuous-batching-paged-attention/">LLM Serving Optimization: Continuous Batching, PagedAttention, and Chunked Prefill (Spheron)</a></li>
  <li><a href="https://introl.com/blog/vllm-production-deployment-inference-serving-architecture-guide">vLLM Production Deployment (Introl)</a></li>
  <li><a href="https://learnopencv.com/vllm-deploy-llms-at-scale-paged-attention/">vLLM: Deploying LLMs at Scale (LearnOpenCV)</a></li>
</ul>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="dev" /><category term="llmops" /><category term="vLLM" /><category term="추론엔진" /><category term="PagedAttention" /><category term="연속배칭" /><category term="LLM서빙" /><category term="LLMOps" /><category term="쿠버네티스" /><category term="온프레미스" /><summary type="html"><![CDATA[عند نشر نموذج لغوي كبير في خدمة حقيقية، تتحدد معظم التكلفة ليس باختيار النموذج، بل بمحرك الاستدلال الذي يشغّله. نستعرض كيف يقلل vLLM من هدر GPU عبر PagedAttention والتجميع المستمر (continuous batching)، وكيف تشغّله ThakiCloud في بيئة الإنتاج من منظور تشغيلي.]]></summary></entry><entry xml:lang="ar"><title type="html">Kimi K3: ماذا يعني فعلياً تشغيل نموذج مفتوح الأوزان بـ 2.8 تريليون معلمة</title><link href="https://thakicloud.github.io/ar/llmops/owm/kimi-k3-open-weight-frontier-serving/" rel="alternate" type="text/html" title="Kimi K3: ماذا يعني فعلياً تشغيل نموذج مفتوح الأوزان بـ 2.8 تريليون معلمة" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/ar/llmops/owm/kimi-k3-open-weight-frontier-serving</id><content type="html" xml:base="https://thakicloud.github.io/ar/llmops/owm/kimi-k3-open-weight-frontier-serving/"><![CDATA[<h2 id="نظرة-عامة">نظرة عامة</h2>

<p>في 16 يوليو 2026، أطلقت شركة Moonshot AI الصينية نموذج Kimi K3. بإجمالي 2.8 تريليون معلمة، يُعد هذا أكبر نموذج مفتوح الأوزان تم الإفصاح عنه حتى الآن. وصفت وسائل إعلام عديدة هذا الإطلاق بأنه اللحظة التي وصل فيها معسكر النماذج المفتوحة الأوزان إلى مستوى الأداء المتقدم (frontier).</p>

<p>الجانب الذي لفت الانتباه أكثر من غيره كان الواجهة الأمامية (frontend). في اختبار من منصة تقييم الذكاء الاصطناعي Arena يقيس القدرة على بناء واجهات الويب، احتل Kimi K3 المرتبة الأولى، وفي اختبارات عمياء فضّل المطورون Kimi على Fable 5 من Anthropic وGPT-5.6 من OpenAI في برمجة الواجهات الأمامية. وقد عرضت Moonshot ذلك من خلال عرض توضيحي بنى لعبة ثلاثية الأبعاد بعالم مفتوح داخل متصفح الويب باستخدام Three.js وWebGPU.</p>

<p>بدلاً من تكرار ترتيب نتائج الاختبارات، تركز هذه المقالة على السؤال الذي يلي ذلك. مفتوح الأوزان يعني أن بإمكان أي شخص تشغيل هذا النموذج على بنيته التحتية الخاصة. فماذا يتطلب فعلياً تشغيل نموذج بـ 2.8 تريليون معلمة. بما أن ThakiCloud تعتبر تشغيل النماذج في البيئات المحلية (on-premise) لدى العملاء قدرة أساسية لديها، سنقرأ هذا الإطلاق من منظور المشغّل.</p>

<h2 id="ما-هو-kimi-k3">ما هو Kimi K3</h2>

<p>Kimi K3 هو نموذج بمعمارية خليط الخبراء (Mixture of Experts، أو MoE). يمتلك إجمالي 2.8 تريليون معلمة، لكن ليست جميعها تُفعّل عند معالجة كل رمز (token). وفقاً للمعلومات المُعلنة، يُفعّل النموذج 16 خبيراً من أصل 896 خبيراً، ويُقدَّر عدد المعلمات النشطة المستخدمة فعلياً في الحساب بنحو 50 مليار [تقديري]. لم تُفصح Moonshot رسمياً عن عدد المعلمات النشطة.</p>

<p>من الناحية المعمارية، جرى تقديم ابتكارين. الأول هو Kimi Delta Attention (KDA)، والثاني هو Attention Residuals (AttnRes). تشرح Moonshot أن هذين العنصرين معاً يرفعان الكفاءة وجودة الاستدلال في آن واحد. يبلغ طول السياق مليون رمز، وهو تصميم يُقرأ على أنه موجّه نحو أعباء عمل الوكلاء (agent) التي تتعامل مع سياقات طويلة.</p>

<p>يجب توخي الحذر فيما يتعلق بالترخيص. صدرت السلسلة السابقة، Kimi K2، بترخيص MIT معدّل في يوليو 2025، لكن شروط ترخيص K3 نفسها لم تكن قد تأكدت أو أُعلنت بشكل نهائي وقت كتابة هذا المقال. تصف Moonshot النموذج K3 بأنه مفتوح، وأعلنت أنها ستنشر كامل الأوزان بحلول 27 يوليو 2026، لكن حتى وقت النشر لم تكن نقاط التحقق (checkpoints) الرسمية قد ظهرت بعد على حساب Moonshot التنظيمي في Hugging Face. لذلك، فإن أي جهة تفكر في اعتماد النموذج فعلياً يجب أن تتحقق بنفسها من نص الترخيص النهائي ومن حالة توفر الأوزان.</p>

<h2 id="لماذا-يهم-هذا-الإطلاق">لماذا يهم هذا الإطلاق</h2>

<p>لم يعد أمراً نادراً أن يتفوق نموذج مفتوح الأوزان على أفضل النماذج المغلقة في مهمة ضيقة محددة. لكن أن يحتل هذا الموقع في مجال يستخدمه المطورون يومياً، وهو برمجة الواجهات الأمامية، وبأكبر مجموعة أوزان مفتوحة في العالم، أمر يحمل دلالة مختلفة. فهذا إشارة إلى ظهور بديل يمكن تشغيله ذاتياً، بعد أن كانت الحاجة إلى الأداء وحدها تفرض الارتباط بواجهات برمجية مغلقة.</p>

<p>الواجهة الأمامية وتوليد واجهات المستخدم تحديداً مجال يمكن فيه رؤية النتيجة بالعين مباشرة. وفي هذا السياق يأتي تأكيد Moonshot على ما تسميه الرؤية داخل الحلقة (vision in the loop)، وهي دورة يرى فيها النموذج ما ولّده ثم يصححه. الادعاء هو أن هذه الحلقة مفيدة بشكل خاص في المهام البصرية مثل تطوير الألعاب وتصميم واجهات المستخدم والتصميم بمساعدة الحاسوب. إنه تجاوز لمجرد توليد الكود كنص، نحو اعتماد النتيجة المعروضة فعلياً كتغذية راجعة.</p>

<h2 id="ماذا-يعني-فعلياً-تشغيل-نموذج-بـ-28-تريليون-معلمة">ماذا يعني فعلياً تشغيل نموذج بـ 2.8 تريليون معلمة</h2>

<p>هنا يبدأ مجال المشغّل. هناك مسافة كبيرة بين حقيقة أن النموذج مفتوح الأوزان وحقيقة أن بإمكانك تشغيله ذاتياً.</p>

<p>الذاكرة أولاً. تحميل كامل 2.8 تريليون معلمة بدقتها الأصلية يتطلب عدة تيرابايت من ذاكرة GPU. هذا مستوى يصعب على GPU واحد التعامل معه، بل حتى على خادم واحد يحتوي عدة وحدات GPU، مما يجعل التشغيل الموزّع عبر عقد (nodes) متعددة أمراً مفروضاً مسبقاً. غير أن بنية MoE تخفف العبء إلى حد ما. بما أن جزءاً فقط من الخبراء يُفعّل لكل رمز وليس النموذج بأكمله، يبقى حجم الحساب الفعلي قريباً من حجم المعلمات النشطة. ومع ذلك، يجب أن تبقى أوزان جميع الخبراء مقيمة في الذاكرة كي يمكن استدعاؤها في أي وقت، لذا يبقى عبء التخزين مرتبطاً بإجمالي عدد المعلمات.</p>

<p>لهذا السبب تصبح تقنيتان شبه إلزاميتين للتشغيل الذاتي الواقعي. الأولى هي التكميم (quantization). خفض دقة الأوزان إلى 8 بت أو 4 بت يقلل استهلاك الذاكرة ويخفض بشكل كبير عدد وحدات GPU المطلوبة. والثانية هي التوازي (parallelism). يقسّم التوازي الموتري (tensor parallelism) طبقات النموذج عبر عدة وحدات GPU، وبالنسبة لنماذج MoE، يضيف التوازي بين الخبراء (expert parallelism) توزيع الخبراء عبر عدة أجهزة. مسار التشغيل يمكن تصويره كما يلي.</p>

<pre><code class="language-mermaid">flowchart TB
    A[طلب المستخدم] --&gt; B[بوابة التوجيه&lt;br/&gt;اختيار الخبراء لكل رمز]
    B --&gt; C{الخبراء النشطون فقط&lt;br/&gt;16 of 896}
    C --&gt; D[التوازي الموتري&lt;br/&gt;تقسيم الطبقات عبر GPU]
    C --&gt; E[توازي الخبراء&lt;br/&gt;توزيع الخبراء عبر العقد]
    D --&gt; F[أوزان مكمَّمة&lt;br/&gt;4-bit أو 8-bit]
    E --&gt; F
    F --&gt; G[تنفيذ الاستدلال الموزّع]
    G --&gt; H[بث الاستجابة]
    H -.ترحيل ذاكرة التخزين المؤقت KV.-&gt; I[(ذاكرة GPU&lt;br/&gt;متعددة العقد)]
</code></pre>

<p>هذه هي النقطة الجوهرية. مفتوح الأوزان يعني أن الأوزان مجانية، لا أن التشغيل مجاني. تشغيل نموذج بهذا الحجم بشكل موثوق على بنيتك التحتية الخاصة يتطلب عنقود GPU متعدد العقد، وخط أنابيب للتكميم، ومحرك استدلال موزّع، وطبقة جدولة ومراقبة تربط كل ذلك معاً. هنا بالضبط تظهر قيمة المنصة.</p>

<h2 id="دلالات-على-منتجات-thakicloud">دلالات على منتجات ThakiCloud</h2>

<p>يوضح هذا الإطلاق في آن واحد سبب الحاجة إلى منتجين من منتجات ThakiCloud.</p>

<p>أولاً، من منظور البنية التحتية: ai-platform. منصة ai-platform لدى ThakiCloud هي بنية تحتية للذكاء الاصطناعي وتعلّم الآلة قائمة على Kubernetes، توفر جدولة GPU عبر Kueue، وعزلاً متعدد المستأجرين (multi-tenant)، وتشغيلاً موزّعاً، وقابلية مراقبة. بالنسبة لعميل يرغب في تشغيل نموذج ضخم مفتوح الأوزان مثل Kimi K3 على بنيته التحتية الخاصة، هذه الطبقة ليست خياراً بل شرطاً مسبقاً. إدارة موارد GPU عبر عقد متعددة وفق سياسات محددة، وتحويل التشغيل المكمَّم والموازي إلى شكل قابل للتشغيل الفعلي، هو ما يحدد إمكانية الاعتماد من الأساس. في بيئة ذات سيادة بيانات (sovereign) لا يمكن فيها إخراج البيانات إلى الخارج، تصبح القدرة على تشغيل نموذج مفتوح الأوزان بمستوى متقدم ذاتياً مبرراً قوياً بحد ذاته للاعتماد على المنصة.</p>

<p>ثانياً، من منظور الوكلاء (agents): Paxis. قوة Kimi K3 في برمجة الواجهات الأمامية والتوليد البصري ترتبط مباشرة بوكلاء البرمجة. Paxis هي السحابة الأصلية للوكلاء (Agent-Native Cloud) لدى ThakiCloud، وتتعامل مع المهارات (skills) والأدوات والسياسات وسجلات التدقيق كموارد من الدرجة الأولى. تُشغّل المهارات داخل صناديق رملية (sandbox) معزولة، وتنسّق وكلاء متعددين على شكل رسم بياني موجّه غير دوري (DAG)، وتُمرر كل إجراء عبر بوابات سياسات وسجلات تدقيق. بالنسبة لمنظمة ترغب في تشغيل وكيل برمجة يعتمد على الرؤية داخل الحلقة، أي يولّد كوداً ويتحقق من نتيجته ويصححه، ضمن حدود تنفيذ آمنة، تصبح طبقة التحكم هذه ضرورة. وعندما يلتقي نموذج برمجة قوي مفتوح الأوزان مع بيئة تنفيذ آمنة للوكلاء، تكتمل صورة وكيل برمجة عملي يعمل على البنية التحتية الخاصة بك.</p>

<p>المنظوران يكمّلان بعضهما البعض. التشغيل الذاتي منخفض التكلفة (ai-platform) هو ما يجعل تشغيل الوكلاء بشكل مستمر أمراً مجدياً اقتصادياً (Paxis)، وعبء عمل الوكلاء القوي (Paxis) هو ما يمنح بنية التشغيل هذه (ai-platform) سبب وجودها.</p>

<h2 id="حدود-وحجج-مضادة">حدود وحجج مضادة</h2>

<p>بمعزل عن الحماس السائد، هناك نقاط تستحق نظرة باردة.</p>

<p>أولاً، حتى وقت كتابة هذا المقال، قد لا تكون كامل الأوزان قد نُشرت بشكل كامل بعد، ولم تُحسم شروط الترخيص النهائية. نتيجة اختبار الأداء وحصولك الفعلي على نموذج يمكن تشغيله تجارياً أمران مختلفان. من يفكر في الاعتماد على النموذج يجب أن يبني قراره على الأوزان المنشورة فعلياً ونص الترخيص، لا على مواد الإعلان.</p>

<p>ثانياً، احتلال المرتبة الأولى في اختبار أداء لا يعني تفوقاً في كل الحالات. اختبار تفضيل الواجهة الأمامية هو تقييم نسبي في مهمة محددة، ويجب التحقق مباشرة من كيفية أداء النموذج في عبء العمل الفعلي لديك. افتراض أن نتيجة أعلنها آخرون تنطبق على نتائجك الخاصة أمر محفوف بالمخاطر.</p>

<p>ثالثاً، التكلفة الإجمالية للتشغيل الذاتي ليست صغيرة على الإطلاق. عند احتساب وحدات GPU والطاقة والكوادر التشغيلية اللازمة لتشغيل نموذج بـ 2.8 تريليون معلمة عبر عقد متعددة، قد يكون استخدام واجهة برمجية مغلقة في الواقع أرخص للمنظمات ذات حركة المرور المنخفضة. الميزة الحقيقية للنماذج مفتوحة الأوزان ليست منخفضة التكلفة بشكل مطلق، بل تكمن في سيادة البيانات، وتجنب الارتباط بمزوّد واحد، وإمكانية التحكم في التكلفة عند الحجم الكافي. يجب حساب حجم حركة المرور ومتطلبات البيانات الخاصة بك أولاً، ثم اتخاذ القرار.</p>

<h2 id="المصادر">المصادر</h2>

<ul>
  <li><a href="https://venturebeat.com/technology/chinas-moonshot-ai-releases-kimi-k3-the-largest-open-source-model-ever-rivaling-top-u-s-systems">China’s Moonshot AI releases Kimi K3, the largest open-source model ever (VentureBeat)</a></li>
  <li><a href="https://www.marktechpost.com/2026/07/16/moonshot-ai-releases-kimi-k3-a-2-8-trillion-parameter-open-moe-model-with-kimi-delta-attention-and-1m-context/">Moonshot AI Releases Kimi K3: A 2.8 Trillion Parameter Open MoE Model With Kimi Delta Attention (MarkTechPost)</a></li>
  <li><a href="https://www.axios.com/2026/07/16/moonshot-kimi-ai-china-model-openai-anthropic">China’s open-weight Kimi model stuns AI world with frontier-level results (Axios)</a></li>
  <li><a href="https://siliconangle.com/2026/07/16/chinas-moonshot-throws-gauntlet-kimi-k3-worlds-largest-open-weights-model/">China’s Moonshot throws down the gauntlet with Kimi K3 (SiliconANGLE)</a></li>
</ul>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="llmops" /><category term="owm" /><category term="KimiK3" /><category term="오픈웨이트" /><category term="MoE" /><category term="LLM서빙" /><category term="온프레미스" /><category term="소버린AI" /><category term="LLMOps" /><category term="프론트엔드코딩" /><summary type="html"><![CDATA[أطلقت Moonshot نموذج Kimi K3، أكبر نموذج مفتوح الأوزان في العالم حتى الآن. المثير ليس فقط تفوقه على أفضل النماذج المغلقة في اختبار برمجة الواجهات الأمامية، بل السؤال الحقيقي يأتي بعد ذلك: ماذا يتطلب فعلياً تشغيل نموذج بـ 2.8 تريليون معلمة على بنيتك التحتية الخاصة؟ نستعرض هذا من منظور التشغيل لدى ThakiCloud.]]></summary></entry><entry xml:lang="ar"><title type="html">فاتورة الذكاء الاصطناعي تتسرّب عبر العمل المتكرر — كيف تخفضها هيكليًا بنماذج متخصّصة محلية</title><link href="https://thakicloud.github.io/ar/llmops/dev/tiny-skill-distill-slm-cost-optimization/" rel="alternate" type="text/html" title="فاتورة الذكاء الاصطناعي تتسرّب عبر العمل المتكرر — كيف تخفضها هيكليًا بنماذج متخصّصة محلية" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/ar/llmops/dev/tiny-skill-distill-slm-cost-optimization</id><content type="html" xml:base="https://thakicloud.github.io/ar/llmops/dev/tiny-skill-distill-slm-cost-optimization/"><![CDATA[<h2 id="الخلاصة-أولًا">الخلاصة أولًا</h2>

<p>جزء كبير مما تنفقه على الذكاء الاصطناعي لا يذهب لأن النموذج ذكي. بل يذهب إلى <strong>القرار نفسه المكرَّر آلاف أو عشرات آلاف المرات يوميًا</strong>: “هل هذا الطلب آمن؟”، “إلى أي فئة ينتمي هذا المستند؟”، “هل نبرة هذه الجملة مناسبة؟” حين تستدعي نموذجًا خارجيًا من الطبقة العليا لهذا العمل المتكرر في كل مرة، تتضخّم التكلفة مع الحجم وتغادر البيانات الحسّاسة جدرانك عند كل استدعاء.</p>

<p>اقتراح ThakiCloud بسيط: <strong>افصل هذا العمل المتكرر وحده إلى نماذج صغيرة متخصّصة تعمل على بنيتك الخاصة (محليًا)</strong>، واحتفظ بالنموذج الأعلى المكلف للمهام القليلة التي تتطلب حكمًا فعليًا. تحقّقنا أن ذلك يعمل فعلًا — بالقياس لا بالتنبؤ — ونشرنا كل شيء. يصوغ هذا المقال قصة التكلفة تلك بلغة صنّاع القرار.</p>

<h2 id="لماذا-يهم-هذا-الآن">لماذا يهم هذا الآن</h2>

<p>بمجرد إدخال الذكاء الاصطناعي التوليدي إلى التشغيل الفعلي، تنمو ثلاثة أمور معًا. <strong>التكلفة</strong> ترتفع خطيًا مع حجم الاستدعاءات. <strong>تعرّض البيانات</strong> يحدث في كل استدعاء لواجهة خارجية. و<strong>الارتهان</strong> لمزوّد نموذج خارجي بعينه يزداد عمقًا. الثلاثة مخاطر يريد التنفيذيون السيطرة عليها.</p>

<p>وهنا الجوهر. عند تحليل ما يفعله الذكاء الاصطناعي لديك فعلًا، معظمه <strong>حُكم ضيّق ومتكرر</strong>، والحكم الإبداعي الحقيقي هو الأقلية. ومع ذلك يُسنَد كلاهما اليوم إلى النموذج الأعلى نفسه دون تمييز — كإسناد فرز مستندات بسيط إلى أعلى خبير أجرًا لديك.</p>

<h2 id="نهجنا-العمل-المتكرر-إلى-نماذج-متخصّصة-محليًا">نهجنا: العمل المتكرر إلى نماذج متخصّصة، محليًا</h2>

<p>للطريقة ثلاث خطوات. أولًا، صمّم سير العمل بنموذج كبير. ثانيًا، ثبّت ما يمكن اختزاله إلى قواعد كشيفرة. ثالثًا، خذ فقط <strong>القرارات المتكررة الضيقة التي تحتاج فعلًا إلى نموذج لغوي ودرّب نموذجًا صغيرًا متخصّصًا (أقل من مليار معامل، 4 بت)</strong> لها. عندها يعمل ذلك العمل على وحدة معالجة رسومية محلية شائعة واحدة، ويُنفَق النموذج الأعلى على ما يهم فعلًا فقط.</p>

<p>تحوّل منصّة ThakiCloud هذا السير بالضبط إلى منتج. فهي <strong>تُدرّب النموذج الصغير المتخصّص كخدمة مُدارة</strong> (دون أن تضطر للتعامل مع بنية وحدات المعالجة الرسومية) و<strong>تخدّمه على عتادك المحلي الخاص</strong>. التجربة في هذا المقال دليل على أن النمط يعمل؛ والمنصّة هي ما يجعله قابلًا للتكرار والتشغيل.</p>

<h2 id="ما-الذي-قِسناه">ما الذي قِسناه</h2>

<p>تجنّبًا للمبالغة، قِسنا ونشرنا كل رقم. البيئة بطاقة واحدة، دون أي استدعاء لواجهة خارجية في أي مرحلة من التدريب أو الاستدلال — تبقى السلسلة كاملة داخل بنيتك الخاصة. هكذا تبدو سيادة البيانات عمليًا.</p>

<p><strong>التكلفة.</strong> محليًا، عالج النموذج الصغير المتخصّص 1000 استدعاء بتكلفة أقل بنحو <strong>3.6 مرة</strong> من واجهة خارجية من الطبقة العليا. هذا الرقم بتيار مفرد؛ والمعالجة على دفعات كما في التشغيل الحقيقي توسّع الفارق أكثر.</p>

<p><strong>الجودة.</strong> في القرارات المتكررة الضيقة قفز النموذج الصغير. ارتفع تصنيف النبرة الكورية من 38.6% قبل التدريب إلى 99.1% بعده؛ وانتقل تصنيف الأخبار من شبه العشوائي إلى أكثر من 80%. وعند إعادة الفحص على جمل حقيقية لم تُرَ في التدريب، بقي متوافقًا مع الإجابة الصحيحة بنحو 88% في قرارات الأمان و89% في التصنيف.</p>

<p><strong>الاقتصاد.</strong> يُنتَج كل نموذج متخصّص كمُرفق صغير بنحو 5 ميغابايت لكل مهمة. تكاد جودته تطابق إعادة تدريب النموذج بالكامل من الصفر (99.1% مقابل 96.9%) بنحو جزء من 300 من الحجم، ويمكنك تبديل عدة مهام على نموذج أساس واحد مشترك. بل تولّى نموذج صغير واحد أربع مهام متكررة في آن. تشغيليًا، يُترجَم هذا مباشرة إلى “عمل أكثر بعتاد أقل”.</p>

<h2 id="الحدود-بصدق">الحدود، بصدق</h2>

<p>نقطة نذكرها بوضوح: في مهمة عامة كان النموذج الأعلى يتقنها أصلًا، أدى التدريب المتخصّص المتسرّع إلى إضعافها. بمعنى آخر، هذا النهج <strong>ليس شيئًا تطبّقه على أي مهمة، بل على مهام متكررة وضيقة تُنتقى بعناية</strong>. ومعرفة أين تطبّقه وأين لا، هي بالضبط حيث تثبت المنصّة والخبرة قيمتهما. ننشر النتائج الجيدة والسيئة معًا.</p>

<h2 id="لصانع-القرار-باختصار">لصانع القرار، باختصار</h2>

<p>أولًا، جزء كبير من تكلفة تشغيل الذكاء الاصطناعي لديك يتسرّب إلى العمل المتكرر، وهذا الجزء يمكن خفضه هيكليًا. ثانيًا، طريقة الخفض هي فصل ذلك العمل المتكرر إلى نماذج صغيرة متخصّصة تعمل محليًا، ما يؤمّن توفير التكلفة وسيادة البيانات معًا. ثالثًا، تقدّم منصّة ThakiCloud هذا كخدمة مُدارة، فتتبنّاه دون أن تتحمّل شخصيًا تعقيد بنية وحدات المعالجة الرسومية وتدريب النماذج.</p>

<p>الشيفرة الكاملة للتجربة والنتائج المقيسة متاحة وقابلة لإعادة الإنتاج: <a href="https://github.com/sylvanus4/tiny-skill-distill">github.com/sylvanus4/tiny-skill-distill</a>. ويسعدنا أن نقيّم معك أي أحمال عمل الذكاء الاصطناعي لديك يمكن نقلها إلى نماذج متخصّصة وكم سيخفض ذلك تكلفتك.</p>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="llmops" /><category term="dev" /><category term="AICostReduction" /><category term="OnPremises" /><category term="SLM" /><category term="FineTuning" /><category term="DataSovereignty" /><category term="LLMOps" /><category term="EnterpriseAI" /><category term="Platform" /><summary type="html"><![CDATA[معظم تكلفة وكيل الذكاء الاصطناعي ليست في الحكم الذكي، بل في قرارات بسيطة متكرّرة آلاف المرات يوميًا. افصل هذه المهام إلى نماذج صغيرة متخصّصة تعمل على بنيتك الخاصة، فتنخفض التكلفة لكل استدعاء بشكل حاد ولا تغادر بياناتك أبدًا. قاست ThakiCloud هذا النمط ونشرته بالكامل.]]></summary></entry><entry xml:lang="ar"><title type="html">البرمجة باستخدام Kimi K3: ربط نموذج مفتوح بحجم 2.8T بوكيل الطرفية OpenCode</title><link href="https://thakicloud.github.io/ar/tutorials/kimi-k3-opencode-coding/" rel="alternate" type="text/html" title="البرمجة باستخدام Kimi K3: ربط نموذج مفتوح بحجم 2.8T بوكيل الطرفية OpenCode" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/ar/tutorials/kimi-k3-opencode-coding</id><content type="html" xml:base="https://thakicloud.github.io/ar/tutorials/kimi-k3-opencode-coding/"><![CDATA[<p>خلال الأيام القليلة الماضية امتلأت الخطوط الزمنية للمطورين بمواضيع بعنوان “كيف تبرمج باستخدام
Kimi K3”. انقسمت الردود إلى اتجاهين. الأول أن نتائج القياس قوية فعلًا. والثاني أنه يمكنك تشغيل
هذا النموذج من طرفيتك الخاصة، داخل وكيل برمجة اخترته أنت، بدلًا من أداة مغلقة تابعة لشركة واحدة.
يتناول هذا المقال الاتجاه الثاني. القارئ المستهدف هو مطوّر يفضّل تبديل النماذج داخل أداة مفتوحة
المصدر بدلًا من الارتباط بواجهة رسومية لمزوّد بعينه. باختصار: اربط Kimi K3 من Moonshot AI كمزوّد
بوكيل الطرفية مفتوح المصدر OpenCode، وستتمكن من البرمجة بنموذج من فئة 2.8 تريليون معامل دون
الارتباط بأي بيئة تطوير واحدة.</p>

<h2 id="نظرة-عامة">نظرة عامة</h2>

<p>أصدرت Moonshot AI نموذج Kimi K3 في 16 يوليو 2026. وفق الشركة، فهو نموذج Mixture-of-Experts بحجم
2.8 تريليون معامل ومن بين أكبر النماذج مفتوحة الأوزان الصادرة حتى الآن. الجزء المثير للاهتمام ليس
النتائج فحسب. فهذا النموذج غير محصور داخل روبوت محادثة مملوك؛ بل يتصل كمزوّد بوكيل برمجة مفتوح
المصدر يعمل في الطرفية. بعبارة أخرى، أصبح بالإمكان الفصل بين “أي بيئة تطوير تستخدم” و”أي نموذج
تبرمج به”.</p>

<p>من منظور ThakiCloud، يهمّ هذا الاقتران لسببين. أولًا، وكيل برمجة قادر على تبديل النماذج بحرية بدلًا
من الارتباط بمزوّد يتوافق مع الفرضية الأساسية لتصميم منصات الوكلاء. ثانيًا، نموذج مفتوح الأوزان بحجم
2.8 تريليون معامل يجب أن يخدمه أحدهم على وحدات GPU حقيقية، وتكلفة تلك الخدمة ومتطلبات التشغيل المحلي
تعود مباشرةً كأسئلة بنية تحتية. فيما يلي نثبّت الأداة عمليًا للتحقق من مسار الاتصال، ثم نعالج المنظورين.</p>

<h2 id="ما-هي-هذه-الأدوات">ما هي هذه الأدوات</h2>

<p>OpenCode هو وكيل برمجة مفتوح المصدر يعمل في الطرفية. يقرأ ملفات قاعدة الشيفرة، ويشرح البنية، ويحرّر
الشيفرة، ويراجع التغييرات، وينفّذ المهام عبر مزوّد LLM متصل. ولأنه غير مرتبط بنموذج واحد بل يبدّل
المزوّدين، يمكنك الاحتفاظ بسير العمل نفسه وتغيير النموذج تحته فقط.</p>

<p>Kimi K3 هو النموذج الذي يشغل خانة المزوّد تلك. وفق إعلان Moonshot AI، المواصفات الأساسية كالتالي.
إنه نموذج MoE بحجم 2.8 تريليون معامل، يُفعَّل منه 16 خبيرًا من أصل 896 لكل رمز (token). ويستخدم
الانتباه آلية Kimi Delta Attention (KDA)، وهي انتباه خطي هجين. يُضاف إلى ذلك تقنية Attention
Residuals (بديل عن الوصلات المتبقية)، وفهم بصري أصيل، ونافذة سياق تصل إلى مليون رمز. ومن المقرر
إصدار أوزان النموذج الكاملة في 27 يوليو 2026.</p>

<p>يبدو مسار ربط الأداتين كالتالي.</p>

<pre><code class="language-mermaid">flowchart TB
  A[طرفية المطوّر&lt;br/&gt;OpenCode TUI أو run] --&gt; B[طبقة المزوّد&lt;br/&gt;opencode auth login]
  B --&gt; C{اختيار النموذج&lt;br/&gt;/models أو opencode models}
  C --&gt; D[مزوّد Moonshot AI&lt;br/&gt;Kimi K3]
  D --&gt; E[Kimi Delta Attention&lt;br/&gt;2.8T MoE · 896 خبيرًا · 16 مُفعَّل لكل رمز]
  E --&gt; F[قراءة · تحرير · مراجعة · تشغيل الشيفرة&lt;br/&gt;سياق حتى 1M]
  F -.دورة الجلسة.-&gt; A
</code></pre>

<p>الفرق عن النهج المعتاد واضح. وكيل الواجهة الرسومية لمزوّد ما يأتي بالنموذج والأداة كحزمة واحدة. أما
وكيل مفتوح المصدر مثل OpenCode فيثبّت الأداة ويبدّل المزوّد فقط. نموذج ذاتي الاستضافة بالأمس، و Kimi
K3 اليوم، ونموذج آخر غدًا، عبر واجهة الأوامر نفسها.</p>

<h2 id="التثبيت-والتكامل">التثبيت والتكامل</h2>

<p>تحققنا من مسار التثبيت والاتصال عمليًا في بيئة معزولة. الأوامر والإصدارات أدناه قيم فعلية التقطناها
أثناء إعادة الإنتاج.</p>

<p>أولًا ثبّت OpenCode. نجح التثبيت العام عبر npm فورًا.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>npm <span class="nb">install</span> <span class="nt">-g</span> opencode-ai
opencode <span class="nt">--version</span>
<span class="c"># 1.18.3</span>
</code></pre></div></div>

<p>فحصنا سطح الأوامر الذي توفّره الأداة المثبّتة. من تشغيل واجهة TUI إلى التنفيذ بلا واجهة، وإدارة
المزوّدين، وسرد النماذج، وإدارة خوادم MCP، فهي تغطي ما يحتاجه وكيل البرمجة.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opencode <span class="nt">--help</span>
<span class="c"># opencode [project]        start opencode tui              [default]</span>
<span class="c"># opencode run [message..]  run opencode with a message</span>
<span class="c"># opencode providers        manage AI providers and credentials   [aliases: auth]</span>
<span class="c"># opencode models [provider]  list all available models</span>
<span class="c"># opencode mcp              manage MCP (Model Context Protocol) servers</span>
<span class="c"># opencode agent            manage agents</span>
<span class="c"># opencode serve            starts a headless opencode server</span>
</code></pre></div></div>

<p>تتولّى الأوامر الفرعية <code class="language-plaintext highlighter-rouge">opencode auth</code> مصادقة المزوّد.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opencode auth <span class="nt">--help</span>
<span class="c"># opencode auth list    list providers and credentials   [aliases: ls]</span>
<span class="c"># opencode auth login   log in to a provider</span>
<span class="c"># opencode auth logout  log out from a configured provider</span>
</code></pre></div></div>

<p>ترتيب ربط Kimi K3 كالتالي، وفق دليل OpenCode الرسمي من Moonshot AI.</p>

<ol>
  <li>أنشئ مفتاح API على منصة Kimi المفتوحة واحتفظ به بشكل خاص.</li>
  <li>شغّل <code class="language-plaintext highlighter-rouge">opencode auth login</code>، واختر <strong>Moonshot AI</strong> كمزوّد، ثم أدخل مفتاح API.</li>
  <li>داخل OpenCode، استخدم <code class="language-plaintext highlighter-rouge">/models</code> (أو <code class="language-plaintext highlighter-rouge">opencode models moonshotai</code> في الصدفة) لاختيار <strong>Kimi K3</strong>.</li>
  <li>تحقق من الاتصال بمهمة منخفضة المخاطر.</li>
</ol>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opencode run <span class="s2">"اشرح بنية مجلدات هذا المشروع وأوصِ بأول ثلاثة ملفات ينبغي قراءتها."</span>
</code></pre></div></div>

<p>حقيقة تستحق التثبيت: بعد التثبيت مباشرةً، لم يتضمن كتالوج النماذج الافتراضي مزوّد Moonshot. أثناء
إعادة الإنتاج، أعادت تصفية <code class="language-plaintext highlighter-rouge">opencode models</code> بحثًا عن Moonshot/Kimi نتيجة فارغة، ما يعني أنه يجب
إضافة المزوّد صراحةً عبر <code class="language-plaintext highlighter-rouge">auth login</code> قبل ظهوره في الكتالوج. لذا فالخطوة 2 أعلاه ليست اختيارية بل
إلزامية.</p>

<h2 id="النتائج-الفعلية">النتائج الفعلية</h2>

<p>نفصل القيم التي التقطناها مباشرةً عن الأرقام المنشورة للنموذج. تثبيت الأداة ومسار الاتصال قِيَما
مُقاسة عمليًا؛ أما درجات القياس فهي أرقام مُبلَّغ عنها من Moonshot وطرف ثالث (Artificial Analysis).</p>

<p>النتائج المقاسة مباشرةً:</p>

<ul>
  <li>نجح تثبيت OpenCode، الإصدار 1.18.3 (npm <code class="language-plaintext highlighter-rouge">opencode-ai</code>، رمز الخروج 0).</li>
  <li>تأكدنا أن الأداة توفّر مصادقة المزوّد (<code class="language-plaintext highlighter-rouge">auth</code>)، وسرد النماذج (<code class="language-plaintext highlighter-rouge">models</code>)، والتنفيذ بلا واجهة
(<code class="language-plaintext highlighter-rouge">run</code>)، وإدارة MCP (<code class="language-plaintext highlighter-rouge">mcp</code>)، وإدارة الوكلاء (<code class="language-plaintext highlighter-rouge">agent</code>).</li>
  <li>بعد التثبيت مباشرةً، لم يتضمن الكتالوج الافتراضي مزوّد Moonshot، فوجب إضافته صراحةً عبر <code class="language-plaintext highlighter-rouge">auth login</code>.</li>
</ul>

<p>لم نشغّل استدلال Kimi K3 المباشر. يتطلب استدعاء Kimi K3 مفتاح API مدفوعًا برصيد (لا يمكن استخدام
قسائم التحقق للمستخدمين الجدد مع K3)، ولم يتوفّر مثل هذا المفتاح في بيئة إعادة الإنتاج. لذا نرسم الحد
عند “تثبيت واتصال مُقاسان، وجودة توليد الشيفرة الفعلية مُقتبسة من أرقام منشورة”. لا نختلق أرقامًا لم نرصدها.</p>

<p>المقاييس المنشورة للنموذج أدناه. هذه الدرجات أرقام مُبلَّغ عنها وفق Artificial Analysis، ولأن الأوزان
لم تُنشر بالكامل بعد، فإنها لم تُتحقق عبر إعادة إنتاج مستقلة.</p>

<table>
  <thead>
    <tr>
      <th>المقياس</th>
      <th>Kimi K3</th>
      <th>الترتيب</th>
      <th>النماذج الأعلى / للمقارنة</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>GDPval-AA v2</td>
      <td>1,687</td>
      <td>الثالث</td>
      <td>Fable 5 Max 1,815 · GPT-5.6 Sol Max 1,747.8 · (Opus 4.8 1,600)</td>
    </tr>
    <tr>
      <td>AA-Briefcase</td>
      <td>1,527</td>
      <td>الثاني</td>
      <td>Fable 5 Max 1,587 · GPT-5.6 Sol Max 1,495</td>
    </tr>
  </tbody>
</table>

<p>بقراءة الأرقام كما هي، يقع Kimi K3 في النطاق أسفل النماذج الحدّية العليا مباشرةً. واحتلاله المركز
الثاني في AA-Briefcase، الذي يقيس العمل المعرفي طويل الأمد، إشارة إلى أنه صالح لمهام الوكلاء متعددة
الخطوات مثل البرمجة. مع ذلك، هذه أرقام مُبلَّغ عنها، ويبقى الإحساس الفعلي في سير عمل برمجي حقيقيًا
أدق عند التحقق منه على قاعدة شيفرتك الخاصة.</p>

<h2 id="دلالات-على-منصة-thakicloud">دلالات على منصة ThakiCloud</h2>

<p>يمسّ هذا الاقتران عدستَي منتجَي ThakiCloud معًا. الأولى عدسة منصة الوكلاء، والثانية عدسة خدمة البنية
التحتية.</p>

<p><strong>عدسة Paxis (الوكلاء والأدوات والنماذج القابلة للاستبدال).</strong> Paxis هو مستوى التحكم في سحابة ThakiCloud
الأصلية للوكلاء (Agent-Native Cloud)، ويعامل Skills و Tools و Policies و Audit Logs كموارد من الدرجة
الأولى. البنية التي يظهرها OpenCode، أي “ثبّت الأداة وبدّل المزوّد”، تتطابق تمامًا مع فلسفة تصميم Paxis.
في Paxis، يختار وكيل البرمجة من أكثر من 960 مهارة عبر BM25، ويشغّلها في صناديق رمل معزولة، ويمرّر كل
إجراء عبر بوابات السياسات وسجلات التدقيق. اربط نموذجًا مفتوح الأوزان مثل Kimi K3 كمزوّد، وستتمكن من
تبديل دماغ الوكيل حسب التكلفة والأداء مع الحفاظ على عزل التنفيذ والتدقيق. كما أن احتواء OpenCode على
إدارة مدمجة لخوادم MCP (<code class="language-plaintext highlighter-rouge">opencode mcp</code>) يتصل بطبيعة الحال بمعاملة Paxis لموصّلات MCP كموارد من الدرجة الأولى.</p>

<p><strong>عدسة ai-platform (خدمة نموذج بحجم 2.8T).</strong> مفتوح الأوزان يعني أن على أحدهم خدمة هذا النموذج على وحدات
GPU حقيقية. نموذج MoE بحجم 2.8 تريليون معامل يُفعّل 16 خبيرًا فقط لكل رمز، فالمعاملات النشطة أصغر بكثير
من الإجمالي، لكن البنية ما تزال تتطلب إبقاء جميع الخبراء الـ896 في الذاكرة، لذا فعتبة الخدمة المحلية
ليست منخفضة. هنا تجيب منصة ThakiCloud ai-platform عن السؤال. عندما تجتمع جدولة GPU المبنية على K8s و
Kueue، وخدمة vLLM/SGLang، والتكميم (quantization) لتوفير الذاكرة، يمكن تشغيل نماذج مفتوحة كبيرة كهذه
اقتصاديًا في بيئة متعددة المستأجرين. وحين تصدر الأوزان في 27 يوليو، يمكن مقارنة منحنى تكلفة الاستضافة
الذاتية مقابل استدعاءات API فعليًا. وتكلفة الخدمة المنخفضة تُترجَم إلى اقتصاديات الوكلاء، وهذا بدوره
يخفّض تكلفة تشغيل الوكلاء العاملين على Paxis. كلتا العدستين تشيران إلى الاتجاه نفسه.</p>

<h2 id="الحدود-والاعتراضات">الحدود والاعتراضات</h2>

<p>نذكر بعض الاعتراضات الرصينة معًا.</p>

<p>أولًا، درجات القياس تختلف عن الإحساس الفعلي بالبرمجة. المركز الثاني في AA-Briefcase لا يضمن “الأفضل على
قاعدة شيفرتي”. فقد يكون النموذج الأعلى ترتيبًا أضعف في لغة أو إطار عمل أو عُرف داخلي بعينه، لذا يجب
التحقق من التبنّي على عملك الفعلي.</p>

<p>ثانيًا، تصل قياسات هذا المقال إلى التثبيت ومسار الاتصال. لم يُشغَّل استدلال Kimi K3 المباشر بسبب قيد
مفتاح API المدفوع. تبقى جودة التوليد الفعلية والكمون وتكلفة الرموز أمورًا عليك إعادة قياسها بمفتاحك الخاص.</p>

<p>ثالثًا، “مفتوح الأوزان” لا يعني “مجاني” أو “سهل التشغيل”. حتى مع نشر الأوزان، فإن خدمة نموذج MoE بحجم
2.8T بثبات تتطلب موارد GPU كبيرة وكفاءة تشغيلية. ونقطة التعادل بين الاستضافة الذاتية واستدعاءات API
تعتمد على الاستخدام ومتطلبات الكمون.</p>

<p>رابعًا، تحتاج واجهة Kimi K3 إلى رصيد، ولا يمكن استخدام قسائم المستخدمين الجدد مع K3. لا تتوقع استخدامًا
مجانيًا غير محدود لنموذج من الطبقة العليا. ومع ذلك، فإن الحرية البنيوية في اختيار الأداة والنموذج بشكل
مستقل موقع أفضل على المدى الطويل من الارتباط بمزوّد واحد.</p>

<h2 id="المصادر">المصادر</h2>

<ul>
  <li><a href="https://www.marktechpost.com/2026/07/16/moonshot-ai-releases-kimi-k3-a-2-8-trillion-parameter-open-moe-model-with-kimi-delta-attention-and-1m-context/">MarkTechPost, “Moonshot AI Releases Kimi K3: A 2.8 Trillion Parameter Open MoE Model With Kimi Delta Attention and 1M Context” (2026-07-16)</a></li>
  <li><a href="https://fortune.com/2026/07/16/moonshots-kimi-k3-pushes-chinese-ai-into-fable-level-territory/">Fortune, “Moonshot’s Kimi K3 pushes Chinese AI into Fable-level territory” (2026-07-16)</a></li>
  <li><a href="https://artificialanalysis.ai/models/kimi-k3">Artificial Analysis, صفحة نموذج “Kimi K3” (مصدر أرقام معياري GDPval-AA v2 و AA-Briefcase في هذا المقال)</a></li>
  <li><a href="https://platform.kimi.ai/docs/guide/open-code">Kimi API Platform, “Use Kimi Models in OpenCode”</a></li>
  <li><a href="https://github.com/sst/opencode">OpenCode (sst/opencode), إصدار v1.18.3</a></li>
  <li><a href="https://simonwillison.net/2026/Jul/16/kimi-k3/">Simon Willison, “Kimi K3, and what we can still learn from the pelican benchmark” (2026-07-16)</a></li>
  <li>VentureBeat, “China’s Moonshot AI releases Kimi K3, the largest open-source model ever” (المقال موجود، لكن لم يتم التحقق من استجابة الرابط في هذه الجلسة)</li>
  <li>OpenCode 1.18.3 (<code class="language-plaintext highlighter-rouge">npm install -g opencode-ai</code>): الأوامر والإصدار قيم إعادة إنتاج مُلتقطة مباشرةً</li>
</ul>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="tutorials" /><category term="kimi-k3" /><category term="opencode" /><category term="moonshot-ai" /><category term="coding-agent" /><category term="open-weight" /><category term="terminal" /><category term="developer-tools" /><category term="paxis" /><category term="ai-coding" /><summary type="html"><![CDATA[يمكن تشغيل Kimi K3، الذي يصفه كثيرون بأنه من فئة Fable 5، داخل وكيل طرفية مفتوح المصدر بدلًا من بيئة تطوير مغلقة مملوكة. ثبّتنا OpenCode للتحقق من مسار اتصال المزوّد من طرف إلى طرف.]]></summary></entry><entry xml:lang="en"><title type="html">One 24GB Card Ate a $400K Rack</title><link href="https://thakicloud.github.io/en/comics/one-card-replaces-400k-rack/" rel="alternate" type="text/html" title="One 24GB Card Ate a $400K Rack" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/en/comics/one-card-replaces-400k-rack</id><content type="html" xml:base="https://thakicloud.github.io/en/comics/one-card-replaces-400k-rack/"><![CDATA[<p>A lab at Tsinghua quietly pushed a project to GitHub, and it does something faintly absurd: it replaces a $400,000 H100 rack with a single 24GB graphics card. The trick is quantization, squeezing a large model down to lower precision so it fits in a fraction of the memory. The old rule was simple. Want to run a big model, rent a big rack. That rule just met a card sitting in somebody’s drawer, while Paxis and Metis argue it out at a cafe under the Eiffel Tower.</p>

<p><img src="/assets/images/posts/comics/one-card-replaces-400k-rack/strip.png" alt="One 24GB Card Ate a $400K Rack" /></p>

<blockquote>
  <p>Source: <a href="https://x.com/hjguyhan/status/2078236409031520582">RT @dunik_7: a Tsinghua University lab just put a project on GitHub that replaces a $400,000 H100 rack with a single 24GB graphics card</a> · twitter</p>
</blockquote>

<h2 id="what-this-means-for-thakicloud">What this means for ThakiCloud</h2>

<p>Here is why this cheers us up. Every time the bar for running a big model drops, running it yourself on hardware you own stops being a fantasy and starts being a plan. That is the whole point of ThakiCloud’s bet on on-prem and sovereignty, which just means keeping your models, data, and infrastructure under your own control. Metis serves these squeezed-down models efficiently inside your own facility, and Paxis orchestrates the agents on top. No rack to rent, no invoice unrolling across the floor. You can start with a single card, and the sovereignty was in your drawer the whole time.</p>

<hr />

<p><em>An auto-generated comic riffing on this week’s industry news.</em></p>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="comics" /><category term="ThakiCloud" /><category term="온프렘" /><category term="주권" /><category term="양자화" /><category term="GPU비용" /><category term="AI인프라" /><summary type="html"><![CDATA[The rack you were about to rent is already in your drawer.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://thakicloud.github.io/assets/images/posts/comics/one-card-replaces-400k-rack/strip.png" /><media:content medium="image" url="https://thakicloud.github.io/assets/images/posts/comics/one-card-replaces-400k-rack/strip.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry xml:lang="en"><title type="html">How vLLM Works, and How It’s Used in Production</title><link href="https://thakicloud.github.io/en/dev/llmops/vllm-production-inference-engineering/" rel="alternate" type="text/html" title="How vLLM Works, and How It’s Used in Production" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/en/dev/llmops/vllm-production-inference-engineering</id><content type="html" xml:base="https://thakicloud.github.io/en/dev/llmops/vllm-production-inference-engineering/"><![CDATA[<h2 id="overview">Overview</h2>

<p>Any team that has taken a large language model into production eventually learns one thing. What determines a service’s latency and cost is not which model you chose, but what you serve it with. On the same GPU, with the same model, throughput per second can differ by several times depending on the inference engine. And a several fold difference in throughput means a several fold difference in the number of GPUs needed to handle the same traffic, which directly changes the order of magnitude on your infrastructure bill.</p>

<p>This post covers vLLM, which has become the de facto standard for production LLM serving today. We will walk through what problem vLLM was built to solve, what its core techniques, PagedAttention and continuous batching, actually do, and what you need to watch for when running it reliably on Kubernetes. ThakiCloud operates this engine across both on premise and managed environments for our customers, so we will go beyond a conceptual explanation and write this from an operator’s point of view.</p>

<h2 id="what-is-vllm">What Is vLLM</h2>

<p>vLLM is an open source inference engine released by researchers at UC Berkeley in 2023. Its goal is simple and clear: make LLM inference faster and cheaper. Since its release it has spread quickly and is now the default choice underlying production inference at organizations including Meta, Mistral, Cohere, and IBM.</p>

<p>What vLLM targets is two kinds of waste hidden inside traditional inference. One is memory fragmentation, the other is GPU idle time. Neither is obvious on the surface, but together they leave a large portion of expensive GPUs sitting idle. vLLM’s two core techniques, PagedAttention and continuous batching, each target one of these two forms of waste head on.</p>

<p>Here is the overall structure laid out first.</p>

<pre><code class="language-mermaid">flowchart TB
    A[Many user requests] --&gt; B[Scheduler]
    B --&gt; C{Continuous batching&lt;br/&gt;rebuilt every step}
    C --&gt; D[PagedAttention&lt;br/&gt;KV cache page management]
    D --&gt; E[GPU execution&lt;br/&gt;forward pass]
    E --&gt; F{Completed requests&lt;br/&gt;return immediately}
    F --&gt;|Incomplete sequence| C
    F --&gt;|Complete| G[Response streaming]
    D -.Block table.-&gt; H[(Non-contiguous physical blocks&lt;br/&gt;GPU memory)]
</code></pre>

<h2 id="pagedattention-eliminating-memory-waste">PagedAttention: Eliminating Memory Waste</h2>

<p>As an LLM generates tokens one at a time, it stores the keys and values it has already computed. This is called the KV cache, and the longer the sequence, the more GPU memory it consumes. The problem is that the traditional approach reserves memory up front for each request, sized for the expected maximum length, and does so as one large contiguous block. If the actual response ends up shorter, much of that reserved memory simply goes to waste. When many requests arrive at once, this waste accumulates, to the point where a GPU with free memory available still cannot accept a new request.</p>

<p>PagedAttention borrows its idea directly from how operating systems manage RAM, namely virtual memory and paging. Instead of reserving the KV cache as one large block, it splits it into small, reusable pages. Each sequence’s logical blocks are mapped, through a block table, to non-contiguous physical blocks inside GPU memory. This means only as many pages as actually needed get allocated, which sharply cuts memory waste. According to vLLM’s own materials, this approach can reduce memory waste by up to 90 percent.</p>

<p>There is a significant side benefit too. In complex decoding scenarios that branch out from a single prompt, such as parallel sampling or beam search, vLLM does not need to duplicate the prompt’s KV cache. Multiple logical blocks can point to the same physical block, and a copy is only made when one of them needs to modify that block, a copy-on-write scheme. This lets requests that share the same prefix context coexist while saving memory.</p>

<h2 id="continuous-batching-keeping-the-gpu-busy">Continuous Batching: Keeping the GPU Busy</h2>

<p>The second kind of waste is wasted time. Traditional static batching groups requests into a batch and processes them together, and will not start the next batch until every request in the current one is done. The problem is that requests generate wildly different numbers of tokens. A request producing a short answer finishes early, but still has to wait until the longest request in the batch is done. In the meantime, the GPU slot that the finished request used to occupy sits idle.</p>

<p>Continuous batching removes this wait. The scheduler makes decisions at the granularity of an iteration rather than a batch, that is, at every forward pass. As soon as a request finishes in a given step, its slot is immediately filled with a new request from the queue. Because in-flight requests and new requests are dynamically mixed at every step, the GPU is almost never idle. This approach is reported to raise throughput on the same hardware by 3x to 10x.</p>

<p>Applying PagedAttention and continuous batching together is commonly observed to improve throughput by roughly 2x to 4x over a naively implemented serving stack. The two techniques complement each other. For continuous batching to slot in a new request at every step, it needs memory it can attach and detach just as flexibly, and that flexibility is exactly what PagedAttention provides.</p>

<blockquote>
  <p>The figures above come from the vLLM project and various benchmark reports, and actual gains vary depending on model size, sequence length distribution, and hardware. You should measure the exact numbers for your own environment against your own workload.</p>
</blockquote>

<h2 id="how-its-used-in-production">How It’s Used in Production</h2>

<p>Once you understand the concepts, actually running it in production is surprisingly mundane. vLLM ships with an OpenAI-compatible server by default, so code that used to call an external API often works unchanged once you just swap the endpoint address.</p>

<p>The simplest way to start the server looks like this.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Install vLLM (CUDA environment)</span>
pip <span class="nb">install </span>vllm

<span class="c"># Start the OpenAI-compatible server</span>
vllm serve meta-llama/Llama-3.1-8B-Instruct <span class="se">\</span>
  <span class="nt">--tensor-parallel-size</span> 1 <span class="se">\</span>
  <span class="nt">--max-model-len</span> 8192 <span class="se">\</span>
  <span class="nt">--gpu-memory-utilization</span> 0.90
</code></pre></div></div>

<p>Calls to it use the existing OpenAI client as-is.</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">from</span> <span class="n">openai</span> <span class="kn">import</span> <span class="n">OpenAI</span>

<span class="n">client</span> <span class="o">=</span> <span class="nc">OpenAI</span><span class="p">(</span><span class="n">base_url</span><span class="o">=</span><span class="sh">"</span><span class="s">http://localhost:8000/v1</span><span class="sh">"</span><span class="p">,</span> <span class="n">api_key</span><span class="o">=</span><span class="sh">"</span><span class="s">EMPTY</span><span class="sh">"</span><span class="p">)</span>
<span class="n">resp</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="n">chat</span><span class="p">.</span><span class="n">completions</span><span class="p">.</span><span class="nf">create</span><span class="p">(</span>
    <span class="n">model</span><span class="o">=</span><span class="sh">"</span><span class="s">meta-llama/Llama-3.1-8B-Instruct</span><span class="sh">"</span><span class="p">,</span>
    <span class="n">messages</span><span class="o">=</span><span class="p">[{</span><span class="sh">"</span><span class="s">role</span><span class="sh">"</span><span class="p">:</span> <span class="sh">"</span><span class="s">user</span><span class="sh">"</span><span class="p">,</span> <span class="sh">"</span><span class="s">content</span><span class="sh">"</span><span class="p">:</span> <span class="sh">"</span><span class="s">Explain vLLM in one sentence</span><span class="sh">"</span><span class="p">}],</span>
<span class="p">)</span>
<span class="nf">print</span><span class="p">(</span><span class="n">resp</span><span class="p">.</span><span class="n">choices</span><span class="p">[</span><span class="mi">0</span><span class="p">].</span><span class="n">message</span><span class="p">.</span><span class="n">content</span><span class="p">)</span>
</code></pre></div></div>

<p>The part that actually requires attention in production is not the server startup command itself, but the operational parameters around it. In particular, you need to pay attention to the following.</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">--gpu-memory-utilization</code>: the fraction of GPU memory to use for the KV cache. Set it too high and you risk sudden out-of-memory errors. Set it too low and you reduce how many requests you can serve concurrently.</li>
  <li><code class="language-plaintext highlighter-rouge">--tensor-parallel-size</code>: the tensor parallel size used to split the model across multiple GPUs. This is required when serving a large model that does not fit on a single GPU.</li>
  <li><code class="language-plaintext highlighter-rouge">--max-model-len</code>: the maximum context length. The longer you set it, the larger the KV cache per request grows, which trades off against concurrent throughput.</li>
</ul>

<p>Running on Kubernetes adds scheduling and resource management on top of this. GPUs are expensive and finite, so as soon as multiple teams and multiple models share a cluster, resource contention shows up immediately. This is where queue-based batch scheduling comes in. ThakiCloud places Kueue at this layer to manage, as policy, which workload gets to occupy how much GPU and when.</p>

<h2 id="implications-for-thakiclouds-products">Implications for ThakiCloud’s Products</h2>

<p>ThakiCloud’s ai-platform is a Kubernetes-based AI/ML SaaS infrastructure, and serving models across our customers’ diverse environments is a core capability. vLLM is the default engine at this serving layer. The throughput gains that PagedAttention and continuous batching create translate directly into lower serving costs, and that is what lets us offer our customers competitively low serving costs.</p>

<p>The value of this combination is especially large in on-premise and sovereign environments. Customers who cannot send data outside their own infrastructure have to run models within their own GPU infrastructure, and in that setting, squeezing the maximum possible throughput out of each GPU is what determines whether adoption is even feasible in the first place. If an inference engine uses a GPU twice as efficiently, it means you can run the same service on half the hardware.</p>

<p>From an operational standpoint, the value ThakiCloud adds is not the engine itself but the scaffolding around it: GPU queue management through Kueue, multi-tenant isolation, autoscaling and observability, and a policy layer that lets multiple models safely coexist on a single cluster. If vLLM is responsible for the efficiency of a single server, the platform is responsible for making dozens of those servers something an entire organization can share reliably.</p>

<h2 id="limitations-and-counterarguments">Limitations and Counterarguments</h2>

<p>vLLM is not a silver bullet. It comes with a few honest limitations.</p>

<p>First, vLLM’s strength shows when throughput matters, that is, when it is handling many concurrent requests. Conversely, in a low-load situation where requests come in one at a time, sparsely, the benefit of continuous batching is not as large, and a different approach specialized for latency optimization may work better. You need to first understand whether your own traffic pattern looks like high-volume concurrent requests or sparse, one-off requests.</p>

<p>Second, the numbers PagedAttention and continuous batching deliver depend heavily on the workload. For very long or very short sequence lengths, or on certain hardware, the reported gains may not reproduce as-is. Adoption decisions must be based on actual load testing that represents your own workload, and you should not assume that a multiplier someone else reported will automatically be yours.</p>

<p>Third, as the engine gets more efficient, the bottleneck actually shifts upward, toward scheduling and multi-tenant operations. No matter how much you optimize a single server, the problem of multiple teams competing for GPUs has to be solved at the platform layer, not the engine layer. vLLM is an excellent starting point, but it is not the finish line, and production’s real hard problems start right after it.</p>

<h2 id="sources">Sources</h2>

<ul>
  <li><a href="https://www.runpod.io/articles/guides/vllm-pagedattention-continuous-batching">vLLM Explained: PagedAttention and Continuous Batching (RunPod)</a></li>
  <li><a href="https://www.spheron.network/blog/llm-serving-optimization-continuous-batching-paged-attention/">LLM Serving Optimization: Continuous Batching, PagedAttention, and Chunked Prefill (Spheron)</a></li>
  <li><a href="https://introl.com/blog/vllm-production-deployment-inference-serving-architecture-guide">vLLM Production Deployment (Introl)</a></li>
  <li><a href="https://learnopencv.com/vllm-deploy-llms-at-scale-paged-attention/">vLLM: Deploying LLMs at Scale (LearnOpenCV)</a></li>
</ul>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="dev" /><category term="llmops" /><category term="vLLM" /><category term="추론엔진" /><category term="PagedAttention" /><category term="연속배칭" /><category term="LLM서빙" /><category term="LLMOps" /><category term="쿠버네티스" /><category term="온프레미스" /><summary type="html"><![CDATA[When you put an LLM into real service, most of the cost is decided not by the model itself but by the inference engine. Here's how vLLM cuts GPU waste with PagedAttention and continuous batching, and how ThakiCloud runs it in production from a serving perspective.]]></summary></entry><entry xml:lang="en"><title type="html">Kimi K3: What It Actually Takes to Serve a 2.8 Trillion Parameter Open Weight Model</title><link href="https://thakicloud.github.io/en/llmops/owm/kimi-k3-open-weight-frontier-serving/" rel="alternate" type="text/html" title="Kimi K3: What It Actually Takes to Serve a 2.8 Trillion Parameter Open Weight Model" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/en/llmops/owm/kimi-k3-open-weight-frontier-serving</id><content type="html" xml:base="https://thakicloud.github.io/en/llmops/owm/kimi-k3-open-weight-frontier-serving/"><![CDATA[<h2 id="overview">Overview</h2>

<p>On July 16, 2026, China’s Moonshot AI released Kimi K3. With a total of 2.8 trillion parameters, it is the largest open weight model released to date. Multiple outlets described this release as the moment the open weight camp reached frontier level performance.</p>

<p>What drew the most attention was the frontend. On a benchmark from the AI evaluation platform Arena that measures the ability to build web interfaces, Kimi K3 ranked first, and in blind tests developers reportedly preferred Kimi over Anthropic’s Fable 5 and OpenAI’s GPT-5.6 for frontend coding. Moonshot demonstrated this with a demo that built a 3D open world game inside a web browser using Three.js and WebGPU.</p>

<p>Rather than repeating the benchmark rankings, this post focuses on the question that comes next. Open weight means anyone can run this model on their own infrastructure. So what does it actually take to serve a 2.8 trillion parameter model in practice. Since ThakiCloud treats on-premise model serving for client environments as a core capability, we read this release through the eyes of an operator.</p>

<h2 id="what-is-kimi-k3">What Is Kimi K3</h2>

<p>Kimi K3 is a Mixture of Experts, or MoE, model. It has a total of 2.8 trillion parameters, but not all of them activate when processing a single token. According to public information, it activates 16 of a total of 896 experts, and the number of active parameters actually used in computation is estimated at around 50 billion [estimated]. Moonshot has not officially disclosed the active parameter count.</p>

<p>Structurally, two innovations were introduced. One is Kimi Delta Attention (KDA), and the other is Attention Residuals (AttnRes). Moonshot explains that these two together improve both efficiency and reasoning quality. The context length is 1 million tokens, a design choice that reads as targeting long context agent workloads.</p>

<p>Some caution is warranted on licensing. The previous generation, the Kimi K2 series, was released under a modified MIT license in July 2025, but K3’s license terms themselves had not been finalized or disclosed at the time of this writing. Moonshot calls K3 open and has announced that it will release the full set of weights by July 27, 2026, but as of publication, the official checkpoints had not yet appeared on Moonshot’s Hugging Face organization account. Anyone considering actual adoption should verify the final license text and the state of weight availability directly.</p>

<h2 id="why-this-release-matters">Why This Release Matters</h2>

<p>It is no longer rare for an open weight model to outperform top closed models on a narrow task. But claiming that spot in an area working developers use every day, frontend coding, and doing so with the largest publicly released weights in the world, carries different weight. It signals that an alternative to being locked into closed APIs purely for performance reasons now exists, one that organizations can operate themselves.</p>

<p>Frontend and UI generation in particular is an area where you can immediately see the result with your own eyes. This is also the context behind Moonshot’s emphasis on what it calls vision in the loop, a cycle in which the model looks at what it generated and corrects it. The claim is that this loop is especially useful for visual tasks such as game development, UI design, and computer aided design. It goes a step beyond generating code as text alone, treating the rendered output itself as feedback.</p>

<h2 id="what-it-actually-takes-to-serve-28-trillion-parameters">What It Actually Takes to Serve 2.8 Trillion Parameters</h2>

<p>This is where the operator’s domain begins. There is considerable distance between the fact that a model is open weight and the fact that you can serve it yourself.</p>

<p>Memory comes first. Loading all 2.8 trillion parameters at their original precision requires several terabytes of GPU memory. That is beyond what a single GPU, or even a single server packed with multiple GPUs, can handle, which means distributed serving across multiple nodes is a given. The MoE structure does ease the burden somewhat. Since only a subset of experts activate per token rather than the whole model, the actual computation stays close to the scale of the active parameters. Even so, every expert’s weights must remain resident in memory so they can be called at any time, so the storage burden still tracks the total parameter count.</p>

<p>That is why two techniques are close to mandatory for realistic self hosted serving. One is quantization. Lowering the weights to 8 bit or 4 bit precision cuts memory usage and significantly reduces the number of GPUs required. The other is parallelism. Tensor parallelism splits the model’s layers across multiple GPUs, and for MoE models, expert parallelism additionally distributes the experts across multiple devices. The serving path looks like this.</p>

<pre><code class="language-mermaid">flowchart TB
    A[User Request] --&gt; B[Routing Gate&lt;br/&gt;Per-token expert selection]
    B --&gt; C{Active experts only&lt;br/&gt;16 of 896}
    C --&gt; D[Tensor Parallelism&lt;br/&gt;Layers split across GPUs]
    C --&gt; E[Expert Parallelism&lt;br/&gt;Experts distributed across nodes]
    D --&gt; F[Quantized Weights&lt;br/&gt;4-bit or 8-bit]
    E --&gt; F
    F --&gt; G[Distributed Inference Execution]
    G --&gt; H[Response Streaming]
    H -.KV Cache Paging.-&gt; I[(Multi-node&lt;br/&gt;GPU Memory)]
</code></pre>

<p>Here is the core point. Open weight means the weights are free, not that serving is free. Running a model of this scale reliably on your own infrastructure requires a multi-node GPU cluster, a quantization pipeline, a distributed inference engine, and a scheduling and observability layer that ties all of it together. This is exactly where a platform’s value shows up.</p>

<h2 id="implications-for-thakicloud-products">Implications for ThakiCloud Products</h2>

<p>This release makes the case for two ThakiCloud products at once.</p>

<p>First, from the infrastructure angle: ai-platform. ThakiCloud’s ai-platform is Kubernetes based AI/ML infrastructure that provides GPU scheduling through Kueue, multi-tenant isolation, distributed serving, and observability. For a client organization that wants to serve a massive open weight model like Kimi K3 on its own infrastructure, this layer is not optional, it is the precondition. Managing GPU resources across multiple nodes through policy, and packaging quantized, parallelized serving into something that is actually operable, is what determines whether adoption is even feasible in the first place. In a sovereign environment where data cannot leave the organization, being able to run a frontier grade open weight model on your own infrastructure is by itself a compelling case for adoption.</p>

<p>Second, from the agent angle: Paxis. Kimi K3’s strength in frontend coding and visual generation connects directly to coding agents. Paxis is ThakiCloud’s Agent-Native Cloud, treating skills, tools, policies, and audit logs as first class resources. It runs skills inside isolated sandboxes, orchestrates multiple agents as a DAG, and routes every action through policy gates and audit logging. For an organization that wants to operate a vision in the loop coding agent, one that generates code, checks the result, and corrects itself, inside a secure execution boundary, this kind of control plane is essential. When a powerful open weight coding model meets a secure agent execution environment, the result is a practical coding agent running on your own infrastructure.</p>

<p>The two perspectives complement each other. Low cost self hosted serving (ai-platform) is what makes it economically viable to run agents continuously (Paxis), and a strong agent workload (Paxis) is what gives that serving infrastructure (ai-platform) a reason to exist.</p>

<h2 id="limitations-and-counterarguments">Limitations and Counterarguments</h2>

<p>Setting the excitement aside, a few points deserve a sober look.</p>

<p>First, at the time of this writing the full set of weights may not yet be completely released, and the final license terms have not been confirmed. A benchmark score and a model you can actually obtain and run commercially are two different things. Anyone evaluating adoption should base the decision on the actually released weights and license text, not on announcement materials.</p>

<p>Second, ranking first on a benchmark does not mean superiority in every situation. The frontend preference test is a relative evaluation on a specific task, and how the model performs on your own actual workload needs to be verified directly. Assuming someone else’s reported ranking applies to your own results is risky.</p>

<p>Third, the total cost of self hosted serving is far from small. When you account for the GPUs, power, and operational staff required to run a 2.8 trillion parameter model across multiple nodes, using a closed API may actually be cheaper for organizations with low traffic. The real advantage of open weight is not unconditional low cost, it is data sovereignty, avoiding vendor lock-in, and the potential for cost control at sufficient scale. Calculate your own traffic scale and data requirements first, then decide.</p>

<h2 id="sources">Sources</h2>

<ul>
  <li><a href="https://venturebeat.com/technology/chinas-moonshot-ai-releases-kimi-k3-the-largest-open-source-model-ever-rivaling-top-u-s-systems">China’s Moonshot AI releases Kimi K3, the largest open-source model ever (VentureBeat)</a></li>
  <li><a href="https://www.marktechpost.com/2026/07/16/moonshot-ai-releases-kimi-k3-a-2-8-trillion-parameter-open-moe-model-with-kimi-delta-attention-and-1m-context/">Moonshot AI Releases Kimi K3: A 2.8 Trillion Parameter Open MoE Model With Kimi Delta Attention (MarkTechPost)</a></li>
  <li><a href="https://www.axios.com/2026/07/16/moonshot-kimi-ai-china-model-openai-anthropic">China’s open-weight Kimi model stuns AI world with frontier-level results (Axios)</a></li>
  <li><a href="https://siliconangle.com/2026/07/16/chinas-moonshot-throws-gauntlet-kimi-k3-worlds-largest-open-weights-model/">China’s Moonshot throws down the gauntlet with Kimi K3 (SiliconANGLE)</a></li>
</ul>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="llmops" /><category term="owm" /><category term="KimiK3" /><category term="오픈웨이트" /><category term="MoE" /><category term="LLM서빙" /><category term="온프레미스" /><category term="소버린AI" /><category term="LLMOps" /><category term="프론트엔드코딩" /><summary type="html"><![CDATA[Moonshot has released Kimi K3, the largest open weight model in the world to date. What is striking is not just that it beat top closed models on a frontend coding benchmark. The real question comes after that: what does it actually take to run a 2.8 trillion parameter model on your own infrastructure? We break it down from a ThakiCloud serving perspective.]]></summary></entry><entry xml:lang="en"><title type="html">Your AI Bill Leaks Through Repetitive Work — How On-Prem Specialized Models Cut It Structurally</title><link href="https://thakicloud.github.io/en/llmops/dev/tiny-skill-distill-slm-cost-optimization/" rel="alternate" type="text/html" title="Your AI Bill Leaks Through Repetitive Work — How On-Prem Specialized Models Cut It Structurally" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/en/llmops/dev/tiny-skill-distill-slm-cost-optimization</id><content type="html" xml:base="https://thakicloud.github.io/en/llmops/dev/tiny-skill-distill-slm-cost-optimization/"><![CDATA[<h2 id="the-bottom-line-first">The bottom line first</h2>

<p>A large share of what you spend on AI does not go toward the model being clever. It goes toward <strong>the same decision repeated thousands or tens of thousands of times a day</strong>: “is this request safe?”, “which category does this document belong to?”, “is the tone of this sentence appropriate?” When you call a top-tier external model for that repetitive work every time, cost scales with volume and sensitive data leaves your walls on every call.</p>

<p>ThakiCloud’s proposition is simple: <strong>peel off only that repetitive work into small specialized models running on your own infrastructure (on-prem)</strong>, and reserve the expensive top-tier model for the few tasks that truly require judgment. We verified that this actually works — by measurement, not prediction — and published the whole thing. This post frames that cost story in the language of decision-makers.</p>

<h2 id="why-this-matters-now">Why this matters now</h2>

<p>The moment you put generative AI into real operations, three things grow at once. <strong>Cost</strong> rises linearly with call volume. <strong>Data exposure</strong> happens every time you call an external API. And <strong>lock-in</strong> to a specific external model vendor deepens. All three are risks executives want to control.</p>

<p>Here is the key. When you break down what your AI actually does, most of it is <strong>narrow, repetitive adjudication</strong>, and genuine creative judgment is the minority. Yet today both are handed to the same top-tier model without distinction — like assigning simple document sorting to your highest-paid expert.</p>

<h2 id="our-approach-repetitive-work-onto-specialized-models-on-prem">Our approach: repetitive work onto specialized models, on-prem</h2>

<p>The method has three steps. First, design the workflow with a large model. Second, freeze whatever can be reduced to rules as code. Third, take only the <strong>narrow repetitive decisions that genuinely need a language model and train a small specialized model (under one billion parameters, 4-bit)</strong> for them. That work then runs on a single commodity on-prem GPU, and the top-tier model is spent only on what truly matters.</p>

<p>The ThakiCloud platform productizes exactly this workflow. It <strong>fine-tunes the small specialized model as a managed service</strong> (without you having to wrangle GPU infrastructure) and <strong>serves it on your own on-premises hardware</strong>. The experiment in this post is the evidence that the pattern works; the platform is what makes it repeatable and operable.</p>

<h2 id="what-we-measured">What we measured</h2>

<p>To avoid overstatement, we measured and published every number. The environment is a single GPU, with no external API calls at any stage of training or inference — the entire pipeline stays inside your own infrastructure. That is what data sovereignty looks like in practice.</p>

<p><strong>Cost.</strong> On-prem, the small specialized model handled 1,000 calls at roughly <strong>3.6× lower cost</strong> than a top-tier external API. That figure is single-stream; batching the way real operations do widens the gap further.</p>

<p><strong>Quality.</strong> On narrow repetitive decisions, the small model leapt. Korean tone classification rose from 38.6% before training to 99.1% after; news categorization went from near-random to over 80%. When re-checked on real sentences never seen in training, it still agreed with the true answer at about 88% on safety decisions and 89% on categorization.</p>

<p><strong>Economics.</strong> Each specialized model is produced as a small attachment of about 5 megabytes per task. Its quality nearly matches retraining the entire model from scratch (99.1% vs 96.9%) at roughly 1/300th the size, and you can swap multiple tasks onto one shared base model. A single small model even handled four repetitive tasks at once. Operationally, this translates directly into “more work on less hardware.”</p>

<h2 id="the-limits-stated-honestly">The limits, stated honestly</h2>

<p>One point we state plainly: on a general task the top-tier model already did well, hastily adding specialized training actually made it worse. In other words, this approach is <strong>not something you apply to any task, but to repetitive, narrow tasks chosen deliberately</strong>. Knowing where to apply it and where not to is exactly where a platform and expertise earn their keep. We publish the good results and the bad ones together.</p>

<h2 id="for-the-decision-maker-in-summary">For the decision-maker, in summary</h2>

<p>First, a large share of your AI operating cost is leaking into repetitive work, and that part can be cut structurally. Second, the way to cut it is to peel that repetitive work off into small specialized models running on-prem, which secures cost savings and data sovereignty at the same time. Third, the ThakiCloud platform delivers this as a managed service, so you adopt it without personally shouldering the complexity of GPU infrastructure and model training.</p>

<p>The full experiment code and measured results are public and reproducible: <a href="https://github.com/sylvanus4/tiny-skill-distill">github.com/sylvanus4/tiny-skill-distill</a>. We are happy to assess, with you, which of your AI workloads to move onto specialized models and how much that would lower your cost.</p>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="llmops" /><category term="dev" /><category term="AICostReduction" /><category term="OnPremises" /><category term="SLM" /><category term="FineTuning" /><category term="DataSovereignty" /><category term="LLMOps" /><category term="EnterpriseAI" /><category term="Platform" /><summary type="html"><![CDATA[Most of an AI agent's cost isn't smart judgment — it's simple, repetitive decisions made thousands of times a day. Peel those off into small specialized models running on your own infrastructure, and cost per call drops sharply while your data never leaves. ThakiCloud measured the pattern and open-sourced all of it.]]></summary></entry><entry xml:lang="en"><title type="html">Coding with Kimi K3: Wiring a 2.8T Open Model into the OpenCode Terminal Agent</title><link href="https://thakicloud.github.io/en/tutorials/kimi-k3-opencode-coding/" rel="alternate" type="text/html" title="Coding with Kimi K3: Wiring a 2.8T Open Model into the OpenCode Terminal Agent" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/en/tutorials/kimi-k3-opencode-coding</id><content type="html" xml:base="https://thakicloud.github.io/en/tutorials/kimi-k3-opencode-coding/"><![CDATA[<p>For the past few days, developer timelines have been full of “how to code with Kimi K3” threads.
The reactions split two ways. One is that the benchmarks are genuinely strong. The other is that
you can run this model from your own terminal, inside a coding agent you chose, rather than a single
company’s closed tool. This post is about the second reaction. The reader we have in mind is a
developer who would rather swap models into an open-source tool than get locked into a vendor’s GUI.
The short version: connect Moonshot AI’s Kimi K3 as a provider to the open-source terminal agent
OpenCode, and you can code with a 2.8-trillion-parameter-class model without being tied to any one IDE.</p>

<h2 id="overview">Overview</h2>

<p>Moonshot AI released Kimi K3 on July 16, 2026. Per the company, it is a 2.8-trillion-parameter
Mixture-of-Experts model and among the largest open-weight models released to date. The interesting
part is not just the scores. This model is not confined to a proprietary chatbot; it connects as a
provider to an open-source coding agent that runs in the terminal. In other words, “which IDE you use”
and “which model you code with” can now be decoupled.</p>

<p>From ThakiCloud’s vantage point, this pairing matters for two reasons. First, a coding agent that can
freely swap models instead of being vendor-locked lines up with the core premise of agent-platform
design. Second, a 2.8-trillion-parameter open-weight model has to be served on real GPUs by someone,
and that serving cost and on-prem requirement come straight back as infrastructure questions. Below we
install the tool first-hand to confirm the connection flow, then work through both perspectives.</p>

<h2 id="what-are-these-tools">What Are These Tools</h2>

<p>OpenCode is an open-source coding agent that runs in the terminal. It reads files in a codebase,
explains structure, edits code, reviews changes, and runs tasks through a connected LLM provider.
Because it is not bound to a single model and instead swaps providers, you can keep the same workflow
and change only the model underneath.</p>

<p>Kimi K3 is the model that goes in that provider slot. Per Moonshot AI’s announcement, the key specs
are as follows. It is a 2.8-trillion-parameter MoE, with 16 of 896 experts activated per token.
Attention uses Kimi Delta Attention (KDA), a hybrid linear attention scheme. On top of that it adds
Attention Residuals (a replacement for residual connections), native vision understanding, and up to a
1-million-token context window. Full model weights are scheduled to release on July 27, 2026.</p>

<p>The flow that connects the two tools looks like this.</p>

<pre><code class="language-mermaid">flowchart TB
  A[Developer terminal&lt;br/&gt;OpenCode TUI or run] --&gt; B[Provider layer&lt;br/&gt;opencode auth login]
  B --&gt; C{Model selection&lt;br/&gt;/models or opencode models}
  C --&gt; D[Moonshot AI provider&lt;br/&gt;Kimi K3]
  D --&gt; E[Kimi Delta Attention&lt;br/&gt;2.8T MoE · 896 experts · 16 active per token]
  E --&gt; F[Read · edit · review · run code&lt;br/&gt;up to 1M context]
  F -.session loop.-&gt; A
</code></pre>

<p>The difference from the usual approach is clear. A vendor’s GUI agent ships the model and the tool as
one bundle. An open-source agent like OpenCode fixes the tool and swaps only the provider. A
self-hosted model yesterday, Kimi K3 today, a different model tomorrow, all through the same command
interface.</p>

<h2 id="installation-and-integration">Installation and Integration</h2>

<p>We verified the install and connection flow first-hand in an isolated sandbox. The commands and
versions below are actual values captured during reproduction.</p>

<p>First install OpenCode. A global npm install worked immediately.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>npm <span class="nb">install</span> <span class="nt">-g</span> opencode-ai
opencode <span class="nt">--version</span>
<span class="c"># 1.18.3</span>
</code></pre></div></div>

<p>We checked the command surface the installed CLI exposes. From launching the TUI to headless
execution, provider management, model listing, and MCP server management, it covers what a coding
agent needs.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opencode <span class="nt">--help</span>
<span class="c"># opencode [project]        start opencode tui              [default]</span>
<span class="c"># opencode run [message..]  run opencode with a message</span>
<span class="c"># opencode providers        manage AI providers and credentials   [aliases: auth]</span>
<span class="c"># opencode models [provider]  list all available models</span>
<span class="c"># opencode mcp              manage MCP (Model Context Protocol) servers</span>
<span class="c"># opencode agent            manage agents</span>
<span class="c"># opencode serve            starts a headless opencode server</span>
</code></pre></div></div>

<p>Provider authentication is handled by the <code class="language-plaintext highlighter-rouge">opencode auth</code> subcommands.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opencode auth <span class="nt">--help</span>
<span class="c"># opencode auth list    list providers and credentials   [aliases: ls]</span>
<span class="c"># opencode auth login   log in to a provider</span>
<span class="c"># opencode auth logout  log out from a configured provider</span>
</code></pre></div></div>

<p>The order for wiring in Kimi K3 is as follows, per Moonshot AI’s official OpenCode guide.</p>

<ol>
  <li>Create an API key on the Kimi Open Platform and keep it private.</li>
  <li>Run <code class="language-plaintext highlighter-rouge">opencode auth login</code>, select <strong>Moonshot AI</strong> as the provider, and enter your API key.</li>
  <li>Inside OpenCode, use <code class="language-plaintext highlighter-rouge">/models</code> (or <code class="language-plaintext highlighter-rouge">opencode models moonshotai</code> in the shell) to select <strong>Kimi K3</strong>.</li>
  <li>Verify the connection with a low-risk task.</li>
</ol>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opencode run <span class="s2">"Explain this project's folder structure and recommend the first three files I should read."</span>
</code></pre></div></div>

<p>One fact worth pinning down: right after install, the default model catalog did not include the
Moonshot provider. During reproduction, filtering <code class="language-plaintext highlighter-rouge">opencode models</code> for Moonshot/Kimi returned nothing,
which means the provider has to be added explicitly via <code class="language-plaintext highlighter-rouge">auth login</code> before it shows up in the catalog.
So step 2 above is not optional; it is required.</p>

<h2 id="actual-results">Actual Results</h2>

<p>We separate values we captured directly from the model’s published figures. The tool install and
connection flow are measured first-hand; the benchmark scores are reported figures from Moonshot and a
third party (Artificial Analysis).</p>

<p>Directly measured results:</p>

<ul>
  <li>OpenCode install succeeded, version 1.18.3 (npm <code class="language-plaintext highlighter-rouge">opencode-ai</code>, exit code 0).</li>
  <li>Confirmed the CLI provides provider auth (<code class="language-plaintext highlighter-rouge">auth</code>), model listing (<code class="language-plaintext highlighter-rouge">models</code>), headless run (<code class="language-plaintext highlighter-rouge">run</code>),
MCP management (<code class="language-plaintext highlighter-rouge">mcp</code>), and agent management (<code class="language-plaintext highlighter-rouge">agent</code>).</li>
  <li>Right after install, the default catalog did not include the Moonshot provider, so it must be added
explicitly via <code class="language-plaintext highlighter-rouge">auth login</code>.</li>
</ul>

<p>We did not run live Kimi K3 inference. Calling Kimi K3 requires a paid API key with balance (vouchers
from new-user verification cannot be used for K3), and this reproduction environment did not have such a
key. So we draw the line at “install and connection flow measured, actual code-generation quality cited
from public figures.” We do not invent numbers we did not observe.</p>

<p>The model’s published benchmarks are below. These scores are reported figures per Artificial Analysis,
and because weights are not yet fully public, they have not been verified by independent reproduction.</p>

<table>
  <thead>
    <tr>
      <th>Benchmark</th>
      <th>Kimi K3</th>
      <th>Rank</th>
      <th>Top / comparison models</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>GDPval-AA v2</td>
      <td>1,687</td>
      <td>3rd</td>
      <td>Fable 5 Max 1,815 · GPT-5.6 Sol Max 1,747.8 · (Opus 4.8 1,600)</td>
    </tr>
    <tr>
      <td>AA-Briefcase</td>
      <td>1,527</td>
      <td>2nd</td>
      <td>Fable 5 Max 1,587 · GPT-5.6 Sol Max 1,495</td>
    </tr>
  </tbody>
</table>

<p>Read at face value, Kimi K3 sits in the band just below the top frontier models. Placing 2nd on
AA-Briefcase, which is meant to measure long-horizon knowledge work, is a signal that it can hold up on
multi-step agent tasks like coding. That said, these are reported figures, and the actual feel in a real
coding workflow is best verified against your own codebase.</p>

<h2 id="implications-for-thakicloud">Implications for ThakiCloud</h2>

<p>This pairing touches both of ThakiCloud’s product lenses. One is the agent-platform lens, the other is
the infrastructure serving lens.</p>

<p><strong>Paxis lens (agents, tools, swappable models).</strong> Paxis is ThakiCloud’s Agent-Native Cloud control
plane that treats Skills, Tools, Policies, and Audit Logs as first-class resources. The “fix the tool,
swap the provider” structure that OpenCode demonstrates overlaps exactly with the Paxis design
philosophy. In Paxis, a coding agent selects from 960-plus skills via BM25, runs them in isolated
sandboxes, and passes every action through policy gates and audit logs. Attach an open-weight model like
Kimi K3 as the provider, and you can swap the agent’s brain by cost and performance while keeping
execution isolation and auditing intact. The fact that OpenCode has built-in MCP server management
(<code class="language-plaintext highlighter-rouge">opencode mcp</code>) also connects naturally to how Paxis treats MCP connectors as first-class resources.</p>

<p><strong>ai-platform lens (serving a 2.8T model).</strong> Open-weight means someone has to serve this model on real
GPUs. A 2.8-trillion-parameter MoE only activates 16 experts per token, so active parameters are far
smaller than the total, but the structure still requires holding all 896 experts in memory, so the bar
for on-prem serving is not low. This is where ThakiCloud’s ai-platform answers the question. When
K8s- and Kueue-based GPU scheduling, vLLM/SGLang serving, and quantization for memory savings come
together, large open models like this can run economically in a multi-tenant environment. Once the
weights ship on July 27, the cost curve of self-hosting versus API calls can be compared for real. Lower
serving cost translates into agent economics, which in turn lowers the per-run cost of agents running on
Paxis. Both lenses point in the same direction.</p>

<h2 id="limits-and-counterarguments">Limits and Counterarguments</h2>

<p>A few sober counterpoints are worth stating.</p>

<p>First, benchmark scores and actual coding feel are different. A 2nd place on AA-Briefcase does not
guarantee “best on my codebase.” A top-ranked model can be weaker on a specific language, framework, or
in-house convention, so adoption should be verified against your real work.</p>

<p>Second, this post’s measurements go up to install and connection flow. Live Kimi K3 inference was not
run because of the paid API key constraint. Actual generation quality, latency, and token cost remain
things you have to re-measure with your own key.</p>

<p>Third, “open weight” does not mean “free” or “easy to operate.” Even with weights public, serving a
2.8T MoE stably requires substantial GPU resources and operational skill. The break-even between
self-hosting and API calls depends on usage and latency requirements.</p>

<p>Fourth, the Kimi K3 API needs balance, and new-user vouchers cannot be used for K3. Do not expect
unlimited free use of a top-tier model. Even so, the structural freedom to choose tool and model
independently is a stronger long-term position than being locked to a single vendor.</p>

<h2 id="sources">Sources</h2>

<ul>
  <li><a href="https://www.marktechpost.com/2026/07/16/moonshot-ai-releases-kimi-k3-a-2-8-trillion-parameter-open-moe-model-with-kimi-delta-attention-and-1m-context/">MarkTechPost, “Moonshot AI Releases Kimi K3: A 2.8 Trillion Parameter Open MoE Model With Kimi Delta Attention and 1M Context” (2026-07-16)</a></li>
  <li><a href="https://fortune.com/2026/07/16/moonshots-kimi-k3-pushes-chinese-ai-into-fable-level-territory/">Fortune, “Moonshot’s Kimi K3 pushes Chinese AI into Fable-level territory” (2026-07-16)</a></li>
  <li><a href="https://artificialanalysis.ai/models/kimi-k3">Artificial Analysis, “Kimi K3” model page (source for the GDPval-AA v2 and AA-Briefcase benchmark figures in this post)</a></li>
  <li><a href="https://platform.kimi.ai/docs/guide/open-code">Kimi API Platform, “Use Kimi Models in OpenCode”</a></li>
  <li><a href="https://github.com/sst/opencode">OpenCode (sst/opencode), v1.18.3 release</a></li>
  <li><a href="https://simonwillison.net/2026/Jul/16/kimi-k3/">Simon Willison, “Kimi K3, and what we can still learn from the pelican benchmark” (2026-07-16)</a></li>
  <li>VentureBeat, “China’s Moonshot AI releases Kimi K3, the largest open-source model ever” (article exists; URL response not confirmed this session)</li>
  <li>OpenCode 1.18.3 (<code class="language-plaintext highlighter-rouge">npm install -g opencode-ai</code>): commands and version are directly captured reproduction values</li>
</ul>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="tutorials" /><category term="kimi-k3" /><category term="opencode" /><category term="moonshot-ai" /><category term="coding-agent" /><category term="open-weight" /><category term="terminal" /><category term="developer-tools" /><category term="paxis" /><category term="ai-coding" /><summary type="html"><![CDATA[Kimi K3, called Fable 5-class by many, can run inside an open-source terminal agent rather than a locked proprietary IDE. We installed OpenCode to verify the provider connection flow end to end.]]></summary></entry><entry xml:lang="ko"><title type="html">리더보드 1위가 아무도 안 사는 이유: 벤치마크가 사주지 못하는 것</title><link href="https://thakicloud.github.io/ko/agentops/benchmark-wins-trust-gap-execution-layer/" rel="alternate" type="text/html" title="리더보드 1위가 아무도 안 사는 이유: 벤치마크가 사주지 못하는 것" /><published>2026-07-18T00:00:00+09:00</published><updated>2026-07-18T00:00:00+09:00</updated><id>https://thakicloud.github.io/ko/agentops/benchmark-wins-trust-gap-execution-layer</id><content type="html" xml:base="https://thakicloud.github.io/ko/agentops/benchmark-wins-trust-gap-execution-layer/"><![CDATA[<p>리더보드 화면을 캡처하는 순간이 있습니다. 어느 신생 모델이 익숙한 1등의 이름을 밀어내고 맨 위에 올라선 장면입니다. 2026년 7월, 중국 문샷AI의 오픈웨이트 모델 키미 K3가 바로 그 캡처를 만들어냈습니다. AI 평가 플랫폼 아레나의 프런트엔드 코딩 리더보드에서 앤스로픽 클로드 페이블 5를 제치고 1위에 올랐고, 매개변수 2조8000억개로 지금까지 공개된 오픈웨이트 모델 중 가장 큽니다. API 가격도 절반 이하입니다. 디지털투데이가 전한 실리콘밸리의 반응은 그런데 환호가 아니라 한 문장이었습니다. “벤치마크는 이겼는데 글쎄.”</p>

<p>이 냉담함이 오늘의 진짜 뉴스입니다. 그리고 같은 주에 정반대 방향의 장면이 하나 더 겹쳤습니다.</p>

<h2 id="정상에서-멈칫한-두-장면">정상에서 멈칫한 두 장면</h2>

<p>구글은 순다르 피차이 CEO가 5월 개발자 행사에서 6월 출시를 직접 공언했던 제미나이 3.5 프로를 세 번 연기해 7월로 밀었습니다. 뉴스로드 보도에 따르면 기존 아키텍처를 폐기하고 처음부터 다시 설계하는 전면 재구축을 단행했고, 코딩 성능이 내부 목표치에 미달한 것이 핵심 원인으로 지목됐습니다. 지연 소식 이후 주가가 한때 4%가량 빠졌고, 최근 6일 사이 제미나이 핵심 연구원 네 명이 앤트로픽으로 자리를 옮겼습니다.</p>

<p>뉴스로드는 지연의 배경으로 기술 난이도만 지목하지 않았습니다. 구글 클라우드와 딥마인드, 안드로이드 등 여러 조직이 각자 별도의 AI 코딩 도구를 만들며 자원을 중복 투입하는 구조, 그리고 중요한 코드는 사람이 직접 작성해야 한다는 내부 엔지니어링 문화가 속도를 늦췄다는 지적입니다. 성능의 최전선에서조차 사람이 어디까지 개입하고 무엇을 자동화에 맡길지가 아직 정리되지 않았다는 뜻입니다.</p>

<p>한쪽에서는 신생 오픈웨이트 모델이 리더보드 정상을 찍었는데 시장은 지갑을 열지 않고, 다른 한쪽에서는 프런티어 선두조차 다음 버전을 세 번이나 미룹니다. 두 장면은 모순처럼 보이지만 같은 이야기를 합니다. 성능 곡선의 정점에서, 벤치마크 숫자와 실제 배포 사이의 간극이 그 어느 때보다 크게 벌어졌다는 이야기입니다.</p>

<h2 id="값이-내려갈수록-질문이-바뀝니다">값이 내려갈수록 질문이 바뀝니다</h2>

<p>능력 자체는 오히려 흔해지고 있습니다. 조선일보가 정리한 모델 가격표를 보면 경쟁 축은 이미 성능에서 가성비로 넘어갔습니다. 오픈AI GPT-5.6은 고성능 솔과 중저가 테라, 루나로 라인업을 쪼갰고, 메타 뮤즈 스파크는 출력 토큰 기준으로 앤스로픽 페이블 5의 약 12분의 1 가격을 부릅니다. 스페이스X의 그록 4.5는 코딩 평가에서 경쟁 모델보다 출력 토큰을 4배 넘게 적게 쓴다고 주장합니다. 키미 K3의 반값 API도 이 흐름의 한 갈래입니다.</p>

<p>가격이 바닥을 향하면 질문이 바뀝니다. “가장 똑똑한 모델이 무엇인가”에서 “이 능력을 우리 데이터와 업무에서 안전하게, 통제된 채, 감사 가능하게 돌릴 수 있는가”로 옮겨갑니다. 리더보드 1위가 안 팔리는 이유가 여기 있습니다. 기업이 결제하는 대상은 지능지표가 아니라 배포 가능성입니다. 벤치마크는 능력을 증명하지만 신뢰를 증명하지는 못합니다.</p>

<h2 id="도입한-사람들이-먼저-말합니다">도입한 사람들이 먼저 말합니다</h2>

<p>이 간극을 가장 정직하게 증언하는 쪽은 회의론자가 아니라 이미 도입한 사람들입니다. 도입 자체는 폭발하고 있습니다. 하나투어는 멀티 AI 에이전트 하이(H-AI)를 카카오톡 안의 챗GPT 창과 연동해 별도 앱 설치 없이 여행 추천을 받게 했고, 생성형 AI 검색 최적화를 적용한 뒤 챗GPT를 통한 유입량이 약 850% 늘었습니다. 익숙한 메신저 표면으로 AI가 파고드는 속도는 이렇게 가파른데, 정작 그 결과를 조직이 얼마나 믿고 맡길지는 별개의 곡선을 그립니다.</p>

<p>유통 대기업들은 AI 에이전트를 실제 업무에 깔기 시작했습니다. 롯데칠성음료는 생성형 AI와 OCR, RAG를 결합해 제품 라벨 검토 시간을 절반 이상 줄였고, 동원그룹은 계열사에 AI 사원을 도입해 하반기까지 약 50개를 추가할 계획입니다. 그런데 주간한국이 전한 이 확산 기사에서 딜로이트가 덧붙인 권고가 핵심입니다. 확산 초기 단계에서는 사람이 결과를 검증하고 승인하는 휴먼 인 더 루프 체계를 유지하라는 것입니다.</p>

<p>경영진을 AI로 대체하는 실험을 공개한 뤼튼 박민준 대표의 고백은 더 날카롭습니다. 역할별 AI가 토론해 의견을 내면 대표가 종합해 결정하는 구조를 돌려봤더니, 처음엔 편했지만 한 달 뒤부터는 AI 답변을 재확인하는 데 시간이 더 걸렸다고 했습니다. 그는 AI를 똑똑한 신입사원에 비유하며 회사 데이터와 조직 문화를 충분히 학습시켜야 제 역할을 한다고 강조했습니다.</p>

<p>같은 통증을 시장으로 바꾼 회사도 있습니다. 지란지교소프트가 과기정통부와 KISA의 우수 정보보호 기술로 지정받은 솔루션은 임직원이 챗GPT나 클로드에 무언가를 입력할 때 엔드포인트 단에서 실시간으로 검사해 개인정보와 기업 기밀이 새어 나가는 것을 막고, 프롬프트 입력 이력과 메일 발송 기록을 통합 감사합니다. 능력을 파는 것이 아니라 능력을 안전하게 쓰는 틀을 팝니다. 세 사례가 가리키는 방향은 똑같습니다. 모델이 똑똑해지는 것과 그 모델을 조직이 믿고 맡기는 것은 완전히 다른 문제입니다.</p>

<h2 id="국가가-같은-값을-다르게-부릅니다">국가가 같은 값을 다르게 부릅니다</h2>

<p>기업 단위에서 보이는 이 신호는 국가 단위로 올라가면 소버린 AI라는 이름을 답니다. 배경훈 부총리는 업무보고에서 앤트로픽 미토스급 프런티어 모델 개발에는 GPU 약 1만 장이 필요하다며 국가 주도 컴퓨팅 확충을 예고했고, 정부는 12월 전 국민 무료 서비스 모두의 AI를 내놓기로 했습니다. LG AI연구원 컨소시엄은 독자 파운데이션 모델 1차 평가에서 벤치마크와 전문가, 사용자 평가 전 부문 1위를 기록하며 행정안전부 서비스에 실증 적용됐습니다. 일본은 소니와 소프트뱅크, 혼다 등 44개사가 출자한 노에트라 컨소시엄이 엔비디아 루빈 GPU 약 2만7500장을 확보해 국가 AI 인프라를 짓습니다.</p>

<p>이 흐름을 단순한 국가주의로 읽으면 절반만 본 셈입니다. 국가들이 막대한 돈을 자국 모델과 자국 컴퓨팅에 쏟는 진짜 이유는, 능력이 흔해질수록 정작 희소해지는 자원이 통제된 실행이기 때문입니다. 누구의 인프라 위에서, 어떤 정책 아래, 무엇이 기록된 채 모델이 도는가. 국가가 소버린 AI라 부르는 값어치와 기업이 감사 로그와 휴먼 인 더 루프라 부르는 값어치는 규모만 다를 뿐 같은 것입니다.</p>

<h2 id="돈도-신중해지기-시작했습니다">돈도 신중해지기 시작했습니다</h2>

<p>능력이 흔해지는 이 국면에서 무한정 쌓아 올리기만 하던 자본도 표정을 바꾸고 있습니다. 글로벌이코노믹이 짚은 대로, AI 설비투자를 지탱해온 하이퍼스케일러들의 신규 채권이 발행가 대비 평균 3.3포인트 하락하며 우량 IT 채권으로서는 이례적인 약세를 보였습니다. 골드만삭스 같은 대형 금융기관은 이들의 기초체력이 튼튼해 채무불이행 위험은 없다며 조기 거품론을 반박했지만, 북미 클라우드 사업자의 설비투자 증가율이 올해 83%에서 내년 23% 수준으로 둔화할 것이라는 전망이 함께 나옵니다. 무작정 짓는 시대가 끝나가고 선별의 시대가 열린다는 신호입니다.</p>

<p>그 비용은 이미 다른 곳으로 번지고 있습니다. 디지털투데이에 따르면 세계 2위 스마트폰 시장인 인도의 2분기 출하량이 6년 만에 최대 폭인 10% 감소했는데, 하이퍼스케일러의 AI 인프라 투자가 D램과 낸드 공급을 잠식해 저가 스마트폰의 메모리 원가를 밀어 올린 것이 원인으로 지목됐습니다. 능력을 원자재처럼 쓰는 세계의 청구서가 인도의 210달러짜리 스마트폰 소비자에게까지 도착한 셈입니다. 능력을 더 쌓는 방향의 수익은 얇아지고, 능력을 더 잘 다루는 방향의 수익이 두꺼워지는 전환이 이렇게 여러 지표에서 동시에 나타납니다.</p>

<h2 id="모델을-고르는-시대에서-실행-계층을-소유하는-시대로">모델을 고르는 시대에서 실행 계층을 소유하는 시대로</h2>

<p>메타가 광고 대신 자사 컴퓨팅을 앤트로픽에 100억 달러 규모로 임대하려는 협상까지 겹쳐 보면 그림이 선명해집니다. 컴퓨팅은 상품이 되고, 모델은 반값으로 흔해지고, 리더보드 1위는 매주 바뀝니다. 이렇게 능력이 원자재가 되는 세계에서 값어치는 능력 위가 아니라 능력을 감싸는 실행 계층으로 옮겨갑니다. 어떤 모델을 고르느냐가 아니라 그 모델을 누구의 통제 아래 돌리느냐가 경쟁력이 됩니다.</p>

<p>ThakiCloud의 Paxis는 정확히 그 실행 계층을 제품으로 만든 Agent-Native Cloud입니다. 스킬과 툴, 정책, 감사 로그를 일급 리소스로 두어, 뤼튼 대표가 겪은 재확인의 피로와 딜로이트가 권고한 휴먼 인 더 루프를 L0에서 L3까지의 자율도 거버넌스로 설계합니다. 사람이 어디까지 손을 떼도 되는지를 감으로 정하지 않고 정책과 게이트로 정합니다. 지란지교소프트가 판 감사 기능은 Paxis에서 모든 에이전트 실행에 붙는 기본값이고, 정책 게이트와 격리 샌드박스는 반값 오픈웨이트 모델을 도입하면서도 기밀이 새지 않게 막는 틀이 됩니다. 가성비로 넘어간 모델 경쟁은 작업마다 다른 모델을 붙이는 CostRouter로 흡수하고, 소버린 AI가 부르는 주권의 요구는 온프렘 쿠버네티스 기반 ai-platform이 받습니다.</p>

<p>리더보드 1위가 안 팔리는 이유를 다시 뒤집으면 답이 됩니다. 기업이 사는 것은 정점의 점수가 아니라 통제된 실행입니다. 벤치마크가 사주지 못하는 그 신뢰를, 실행 계층이 대신 만듭니다.</p>

<h2 id="참고-자료">참고 자료</h2>

<p>이 글은 아래 뉴스를 종합해 작성했습니다.</p>

<ul>
  <li>위키트리, <a href="https://www.wikitree.co.kr/articles/1147052">메타, 광고 대신 컴퓨팅 판다… 앤트로픽과 100억 달러 임대 초기 협상</a></li>
  <li>위키트리, <a href="https://www.wikitree.co.kr/articles/1147053">스페이스X, 펜타곤 AI 컴퓨팅 공급 협상…규모 수십억달러</a></li>
  <li>굿모닝경제, <a href="https://www.goodkyung.com/news/articleView.html?idxno=289308">AI 인프라 550조 베팅…전력망부터 반도체까지 재편</a></li>
  <li>AI타임스, <a href="https://www.aitimes.com/news/articleView.html?idxno=212885">일본, 엔비디아 ‘루빈’으로 국가 AI 인프라 구축…’피지컬 AI’ 승부</a></li>
  <li>뉴스로드, <a href="http://www.newsroad.co.kr/news/articleView.html?idxno=61703">구글 차세대 AI ‘제미나이 3.5 프로’ 출시 수개월 지연</a></li>
  <li>디지털투데이, <a href="https://www.digitaltoday.co.kr/news/articleView.html?idxno=684999">“벤치마크는 이겼는데 글쎄”…中 키미 K3를 보는 실리콘밸리의 시선</a></li>
  <li>조선일보, <a href="https://www.chosun.com/economy/tech_it/2026/07/17/VQDA7CI2ERF4LG2YLQ76R6JG2A/">AI 모델 경쟁, ‘최고 성능’보다 ‘가성비’로</a></li>
  <li>한스경제, <a href="http://www.hansbiz.co.kr/news/articleView.html?idxno=850868">카카오톡 안에 여행 추천 AI… 하나투어, 서비스 확대</a></li>
  <li>주간한국, <a href="https://weekly.hankooki.com/news/articleView.html?idxno=7173721">‘업무 혁신’ 유통家, ‘AI 에이전트’ 도입 본격화</a></li>
  <li>동아일보, <a href="https://www.donga.com/news/Economy/article/all/20260717/134316474/1">박민준 뤼튼 대표 “경영진부터 AI로 대체할 것”</a></li>
  <li>이데일리, <a href="https://www.edaily.co.kr/news/newspath.asp?newsid=02696166645515504">“미토스급 AI에 과감한 투자”… 배경훈 부총리, 첨단 인프라 확대</a></li>
  <li>천지일보, <a href="https://www.newscj.com/news/articleView.html?idxno=3417568">[K-AI 국가대표①] 빅테크 벽 넘은 LG AI연구원 ‘K-엑사원’ AI 주권</a></li>
  <li>매일경제, <a href="https://www.mk.co.kr/article/12100854">비용·용량 제한없는 ‘온국민 AI’ 12월에 나온다…재원은 글쎄</a></li>
  <li>매일경제, <a href="https://www.mk.co.kr/article/12100992">日, 소뱅 등 44곳 참여 소버린 AI 개시…올해 기반 모델 공개</a></li>
  <li>글로벌이코노믹, <a href="https://www.g-enews.com/view.php?ud=202607180708261959fbbec65dfb_1">AI 투자 숨고르기 조짐… 빅테크 조달 부담에 HBM 수요 ‘속도 변수’</a></li>
  <li>뉴스로드, <a href="http://www.newsroad.co.kr/news/articleView.html?idxno=61704">車 두뇌 잡는 마이크론, 현대모비스·퀄컴과 ‘3~5년짜리’ 메모리 동맹</a></li>
  <li>디지털투데이, <a href="https://www.digitaltoday.co.kr/news/articleView.html?idxno=685002">AI 메모리 수요 여파에 인도 스마트폰 출하 10% 감소…6년 만에 최대 낙폭</a></li>
  <li>매일일보, <a href="https://www.m-i.kr/news/articleView.html?idxno=1392577">‘AI 보안기술기반 중소기업 정보유출 예방’…지란지교소프트, AI 보안</a></li>
</ul>]]></content><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt;nil, &quot;bio&quot;=&gt;nil, &quot;location&quot;=&gt;&quot;Seoul, Korea&quot;, &quot;email&quot;=&gt;&quot;info@thakicloud.co.kr&quot;, &quot;uri&quot;=&gt;nil, &quot;home&quot;=&gt;nil, &quot;links&quot;=&gt;[{&quot;label&quot;=&gt;&quot;Website&quot;, &quot;icon&quot;=&gt;&quot;fas fa-fw fa-link&quot;, &quot;url&quot;=&gt;&quot;https://thakicloud.co.kr&quot;}, {&quot;label&quot;=&gt;&quot;GitHub&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-github&quot;, &quot;url&quot;=&gt;&quot;https://github.com/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;LinkedIn&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-linkedin&quot;, &quot;url&quot;=&gt;&quot;https://www.linkedin.com/company/thakicloud&quot;}, {&quot;label&quot;=&gt;&quot;X&quot;, &quot;icon&quot;=&gt;&quot;fab fa-fw fa-x-twitter&quot;, &quot;url&quot;=&gt;&quot;https://x.com/thakicloud&quot;}]}</name><email>info@thakicloud.co.kr</email></author><category term="agentops" /><category term="agentops" /><category term="paxis" /><category term="enterprise-ai" /><category term="thakicloud" /><summary type="html"><![CDATA[중국 키미 K3가 코딩 리더보드에서 클로드를 제쳤는데 실리콘밸리는 냉담합니다. 같은 주에 구글은 제미나이 3.5를 세 번째로 미뤘습니다. 성능 정점에서 산업이 깨닫는 진실은 하나입니다. 벤치마크 점수는 배포 신뢰를 사주지 못합니다.]]></summary></entry></feed>