{"id":86283,"date":"2026-07-28T11:56:43","date_gmt":"2026-07-28T03:56:43","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/86283.html"},"modified":"2026-07-28T11:56:43","modified_gmt":"2026-07-28T03:56:43","slug":"1m-context-%e4%b9%9f%e4%bc%9a%e5%a4%b1%e5%bf%86%ef%bc%9acoding-agent-%e4%b8%ba%e4%bb%80%e4%b9%88%e9%9c%80%e8%a6%81-context-ledger","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/86283.html","title":{"rendered":"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger"},"content":{"rendered":"<h2>1M Context \u4e5f\u4f1a\u5931\u5fc6&#xff1a;Coding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger<\/h2>\n<h3>TL;DR<\/h3>\n<ul>\n<li>\u573a\u666f&#xff1a;1M Context \u89e3\u51b3\u5bb9\u91cf\u4e0a\u9650&#xff0c;\u5374\u4e0d\u80fd\u81ea\u52a8\u4fdd\u8bc1 compact \u540e\u7ea6\u675f\u4e0d\u4e22\u3001\u4ed3\u5e93\u4e0d\u6f02\u79fb\u3001prompt cache \u4ecd\u7136\u53ef\u7528\u3002<\/li>\n<li>\u7ed3\u8bba&#xff1a;Coding Agent \u5e94\u5efa\u7acb Context Ledger&#xff0c;\u628a Context Window\u3001Cache\u3001History\u3001Memory\u3001Repository Snapshot\u3001Tool Registry \u5206\u5f00\u8bb0\u8d26&#xff0c;\u533a\u5206 provider_surface &#043; model_id &#043; reasoning_effort &#043; policy_hash &#043; repo_snapshot &#043; tool_schema_hash &#043; summary_hash\u3002<\/li>\n<li>\u4ea7\u51fa&#xff1a;\u516d\u7c7b\u72b6\u6001\u5206\u79bb &#043; Context Ledger \u56db\u5c42\u5b57\u6bb5 &#043; \u7a33\u5b9a\u524d\u7f00\/\u534a\u7a33\u5b9a\u5de5\u4f5c\u72b6\u6001\/\u6613\u53d8\u540e\u7f00\u4e09\u6bb5\u7ec4\u7ec7 &#043; Cache Hit \u2260 Context Correct \u7684\u4e94\u7c7b\u98ce\u9669 &#043; 24 \u4efb\u52a1 \u00d7 3 \u7b56\u7565 \u00d7 5 \u91cd\u590d\u7684\u5bf9\u7167\u5b9e\u9a8c\u8bbe\u8ba1\u3002<\/li>\n<\/ul>\n<h3>\u7248\u672c\u77e9\u9635<\/h3>\n<table>\n<tr>\u7ef4\u5ea6\u72b6\u6001\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>Kimi K3 \u53d1\u5e03\u65e5\u671f<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>2026-07-16 \/ 2026-07-17&#xff08;\u5b98\u65b9\u4e0e\u7b2c\u4e09\u65b9\u62a5\u9053\u65f6\u95f4\u70b9\u7565\u6709\u5dee\u5f02&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u603b\u53c2\u6570<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>2.8T&#xff08;896 \u4e13\u5bb6 \/ \u6fc0\u6d3b 16&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u4e0a\u4e0b\u6587\u7a97\u53e3<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>1,048,576 token&#xff0c;\u5168\u7a97\u53e3\u7edf\u4e00\u5b9a\u4ef7<\/td>\n<\/tr>\n<tr>\n<td>\u9ed8\u8ba4 reasoning_effort<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>Open Platform kimi-k3 \u9ed8\u8ba4 max&#xff1b;Kimi Code k3 \u4e0e k3-256k \u9ed8\u8ba4 high<\/td>\n<\/tr>\n<tr>\n<td>API \u6a21\u578b ID<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>Open Platform&#xff1a;kimi-k3&#xff1b;Kimi Code&#xff1a;k3\u3001k3-256k&#xff1b;Claude Code \u517c\u5bb9&#xff1a;kimi-k3[1m]<\/td>\n<\/tr>\n<tr>\n<td>\u8f93\u5165\u4ef7\u683c&#xff08;\u7f13\u5b58\u547d\u4e2d&#xff09;<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>$0.30 \/ \u767e\u4e07 token&#xff08;\u53d1\u5e03\u524d\u9700\u91cd\u65b0\u6838\u4ef7&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u8f93\u5165\u4ef7\u683c&#xff08;\u7f13\u5b58\u672a\u547d\u4e2d&#xff09;<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>$3.00 \/ \u767e\u4e07 token<\/td>\n<\/tr>\n<tr>\n<td>\u8f93\u51fa\u4ef7\u683c<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>$15.00 \/ \u767e\u4e07 token<\/td>\n<\/tr>\n<tr>\n<td>cached_tokens \u66b4\u9732<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>API \u54cd\u5e94\u4e2d\u53ef\u76f4\u63a5\u8bfb\u53d6&#xff0c;\u7528\u4e8e\u8d26\u672c\u8ba1\u7b97<\/td>\n<\/tr>\n<tr>\n<td>Prompt Cache \u81ea\u52a8\u542f\u7528<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>\u4e0d\u9700\u8981 cache ID&#xff0c;\u65e0 TTL \u7ba1\u7406&#xff1b;&gt;256 token \u624d\u8fdb\u5165\u524d\u7f00\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>Kimi Code compact<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>\u652f\u6301\u81ea\u52a8\u538b\u7f29\u4e0e\u624b\u52a8 \/compact [instruction]&#xff1b;\u65b0\u7248\u672c\u4f1a\u628a todo \u5217\u8868\u9644\u52a0\u5230\u6458\u8981<\/td>\n<\/tr>\n<tr>\n<td>\u5b8c\u6574\u6743\u91cd\u5f00\u6e90<\/td>\n<td>\u2705 \u5df2\u9a8c\u8bc1<\/td>\n<td>\u5b98\u65b9\u627f\u8bfa\u6700\u8fdf 2026-07-27 \u53d1\u5e03\u5b8c\u6574\u6743\u91cd<\/td>\n<\/tr>\n<tr>\n<td>1M \u4e0a\u4e0b\u6587\u4e0e&#034;\u7a97\u53e3\u8d8a\u5927\u8d8a\u806a\u660e&#034;<\/td>\n<td>\u274c \u4e0d\u6210\u7acb<\/td>\n<td>\u5bb9\u91cf\u6269\u5c55\u4e0d\u89e3\u51b3\u7ea6\u675f\u4e22\u5931\u3001\u4ed3\u5e93\u6f02\u79fb\u3001\u7f13\u5b58\u5931\u6548\u95ee\u9898<\/td>\n<\/tr>\n<tr>\n<td>cache hit \u8bc1\u660e\u4e0a\u4e0b\u6587\u6b63\u786e<\/td>\n<td>\u274c \u4e0d\u6210\u7acb<\/td>\n<td>\u4ec5\u8bc1\u660e\u524d\u7f00\u8ba1\u7b97\u590d\u7528&#xff0c;\u4e0d\u8bc1\u660e\u6458\u8981\u5b8c\u6574\u3001\u4ed3\u5e93\u672a\u6f02\u79fb\u6216\u6388\u6743\u6709\u6548<\/td>\n<\/tr>\n<tr>\n<td>Kimi Code \u989d\u5ea6\u4e0e Open Platform \u7f8e\u5143\u6210\u672c\u76f4\u63a5\u4e92\u6362<\/td>\n<td>\u274c \u4e0d\u6210\u7acb<\/td>\n<td>\u8ba1\u8d39\u5355\u4f4d\u4e0d\u540c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035636-6a68287471841.png\" alt=\"H1 \u5168\u6587\u6838\u5fc3\u5224\u65ad\uff1a1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1b\u6a21\u578b\u5207\u6362 \/ Compact \/ Cache Miss \/ Repo Drift \u624d\u662f\u95ee\u9898\" \/><\/p>\n<p>\u53d1\u5e03\u8fb9\u754c&#xff1a;\u4ef7\u683c\u3001\u4f1a\u5458\u5c42\u7ea7\u3001\u6a21\u578b ID\u3001\u9ed8\u8ba4 effort\u3001\u7f13\u5b58\u4e0e compact \u884c\u4e3a\u9700\u5728\u53d1\u5e03\u524d\u590d\u6838&#xff1b;\u672c\u6587\u4e0d\u58f0\u79f0\u5df2\u5b8c\u6210\u672c\u5730\u541e\u5410\u6216\u6210\u672c\u5b9e\u6d4b\u3002<\/p>\n<h3>\u6458\u8981<\/h3>\n<p>1M Context \u89e3\u51b3\u5bb9\u91cf\u4e0a\u9650&#xff0c;\u5374\u4e0d\u80fd\u81ea\u52a8\u4fdd\u8bc1\u7ea6\u675f\u6ca1\u6709\u5728 compact \u4e2d\u4e22\u5931\u3001\u4ed3\u5e93\u6ca1\u6709\u6f02\u79fb\u3001\u7f13\u5b58\u4ecd\u7136\u6709\u6548\u3002\u672c\u6587\u628a Context Window\u3001Cache\u3001History\u3001Memory\u3001Repository Snapshot \u4e0e Tool Registry \u5206\u5f00&#xff0c;\u5e76\u63d0\u51fa\u4e00\u4efd\u53ef\u56de\u653e\u3001\u53ef\u5f52\u56e0\u7684 Context Ledger\u3002<\/p>\n<h3>\u5173\u952e\u8bcd<\/h3>\n<p>Kimi K3\u3001Context Ledger\u3001Context Cache\u3001Compaction\u3001Agent Harness<\/p>\n<h3>\u76ee\u5f55<\/h3>\n<ul>\n<li>\u4e00\u3001\u5148\u505c\u6b62\u628a\u516d\u79cd\u4e1c\u897f\u90fd\u53eb&#034;\u8bb0\u5fc6&#034;<\/li>\n<li>\u4e8c\u3001K3 \u7684 1M\u3001\u81ea\u52a8\u7f13\u5b58\u548c\u4ea7\u54c1\u5165\u53e3\u5fc5\u987b\u5206\u5f00\u89e3\u91ca<\/li>\n<li>\u4e09\u3001Context Ledger \u5e94\u8bb0\u5f55\u4ec0\u4e48<\/li>\n<li>\u56db\u3001\u628a\u8bf7\u6c42\u7ec4\u7ec7\u6210\u7a33\u5b9a\u524d\u7f00\u3001\u534a\u7a33\u5b9a\u5de5\u4f5c\u72b6\u6001\u548c\u6613\u53d8\u540e\u7f00<\/li>\n<li>\u4e94\u3001\u4e3a\u4ec0\u4e48 cache hit \u4e0d\u80fd\u8bc1\u660e\u4e0a\u4e0b\u6587\u6b63\u786e<\/li>\n<li>\u516d\u3001\u600e\u6837\u505a\u4e00\u7ec4\u4e0d\u865a\u6784\u7ed3\u679c\u7684\u5bf9\u7167\u5b9e\u9a8c<\/li>\n<li>\u4e03\u3001\u6700\u540e\u628a\u9009\u62e9\u5199\u6210\u5de5\u7a0b\u89c4\u5219<\/li>\n<\/ul>\n<p>\u5148\u770b\u4e00\u79cd\u7531\u591a\u4e2a\u5b98\u65b9\u673a\u5236\u7ec4\u5408\u800c\u6210\u7684\u5408\u6210\u6545\u969c\u94fe\u3002\u5b83\u7528\u4e8e\u8bf4\u660e\u98ce\u9669&#xff0c;\u4e0d\u4ee3\u8868\u5df2\u7ecf\u53d1\u751f\u7684\u5ba2\u6237\u4e8b\u6545\u6216\u672c\u6587\u5b8c\u6210\u4e86\u672c\u5730\u5b9e\u6d4b\u3002<\/p>\n<p>\u4e00\u4e2a Agent \u5df2\u7ecf\u5728\u540c\u4e00\u4ed3\u5e93\u91cc\u5de5\u4f5c\u4e86\u51e0\u5341\u8f6e\u3002\u5b83\u8bfb\u8fc7\u67b6\u6784\u8bf4\u660e\u3001\u6d4b\u8bd5\u7ea6\u675f\u3001\u7981\u6b62\u4fee\u6539\u7684\u76ee\u5f55&#xff0c;\u4e5f\u5b8c\u6210\u4e86\u7b2c\u4e00\u6279\u4ee3\u7801\u6539\u52a8\u3002\u5f53\u524d\u4f1a\u8bdd\u63a5\u8fd1 256K&#xff0c;\u64cd\u4f5c\u8005\u4e3a\u4e86\u8282\u7701 Kimi Code \u989d\u5ea6&#xff0c;\u628a\u6a21\u578b\u4ece k3 \u5207\u5230 k3-256k\u3002\u7531\u4e8e\u4e0a\u4e0b\u6587\u5df2\u7ecf\u8d85\u8fc7 256K&#xff0c;\u5ba2\u6237\u7aef\u5148\u505a compact&#xff0c;\u628a\u6b64\u524d\u6d88\u606f\u538b\u6210\u4e00\u6bb5\u6458\u8981\u3002\u6458\u8981\u4fdd\u7559\u4e86&#034;\u7ee7\u7eed\u5b8c\u6210\u652f\u4ed8\u6a21\u5757\u91cd\u6784&#034;&#xff0c;\u5374\u6f0f\u6389\u4e86&#034;\u4e0d\u5f97\u4fee\u6539\u6570\u636e\u5e93\u8fc1\u79fb\u6587\u4ef6&#034;\u548c&#034;\u5fc5\u987b\u590d\u7528\u5df2\u6709\u5e42\u7b49\u952e&#034;\u7684\u7ea6\u675f\u3002\u4e0e\u6b64\u540c\u65f6&#xff0c;\u6a21\u578b\u5207\u6362\u4f7f\u539f\u6709 prompt cache \u5931\u6548&#xff0c;\u957f\u524d\u7f00\u9700\u8981\u91cd\u65b0 prefill\u3002\u65b0\u6a21\u578b\u62ff\u5230\u7684\u662f\u4e00\u4efd\u66f4\u77ed\u3001\u4f46\u4e0d\u5b8c\u6574\u7684\u5386\u53f2&#xff1b;\u5b83\u53d1\u73b0\u7f3a\u5c11\u5c40\u90e8\u4ee3\u7801\u8bc1\u636e&#xff0c;\u4e8e\u662f\u518d\u6b21\u8bfb\u53d6\u4ed3\u5e93&#xff0c;\u968f\u540e\u751f\u6210\u4e86\u4e00\u4e2a\u80fd\u901a\u8fc7\u90e8\u5206\u6d4b\u8bd5\u3001\u5374\u8fdd\u53cd\u539f\u59cb\u7ea6\u675f\u7684\u8865\u4e01\u3002\u8d26\u5355\u6216\u989d\u5ea6\u66f2\u7ebf\u5728\u8fd9\u4e00\u8f6e\u7a81\u7136\u62ac\u5347&#xff0c;\u7aef\u5230\u7aef\u5ef6\u8fdf\u4e5f\u53d8\u957f\u3002<\/p>\n<p>\u8fd9\u4e0d\u662f&#034;1M \u4e0a\u4e0b\u6587\u4e0d\u591f\u957f&#034;&#xff0c;\u800c\u662f\u7cfb\u7edf\u6ca1\u6709\u56de\u7b54\u56db\u4e2a\u66f4\u57fa\u672c\u7684\u95ee\u9898&#xff1a;\u8fd9\u4e00\u8f6e\u4e0a\u4e0b\u6587\u5230\u5e95\u7531\u4ec0\u4e48\u7ec4\u6210&#xff1f;\u54ea\u4e9b\u5185\u5bb9\u662f\u539f\u6587&#xff0c;\u54ea\u4e9b\u662f\u6458\u8981&#xff1f;\u5f53\u524d\u4ed3\u5e93\u8fd8\u662f\u4e0d\u662f\u6a21\u578b\u66fe\u7ecf\u8bfb\u8fc7\u7684\u90a3\u4e2a\u7248\u672c&#xff1f;\u4e00\u6b21 cache hit \u6216 cache miss \u5e94\u8be5\u5f52\u56e0\u4e8e\u4ec0\u4e48\u53d8\u5316&#xff1f;<\/p>\n<p>Kimi \u5b98\u65b9\u6587\u6863\u8bf4\u660e&#xff0c;Open Platform \u7684 kimi-k3 \u652f\u6301\u6700\u591a 1M token&#xff0c;\u4e0a\u4e0b\u6587\u7f13\u5b58\u4f1a\u81ea\u52a8\u5c1d\u8bd5\u590d\u7528\u91cd\u590d\u7684\u521d\u59cb\u524d\u7f00&#xff1b;Kimi Code \u5219\u63d0\u4f9b k3 \u548c k3-256k \u4e24\u4e2a\u4e0d\u540c\u6a21\u578b ID&#xff0c;\u5e76\u660e\u786e\u63d0\u793a\u6a21\u578b\u6216 reasoning effort \u7684\u5207\u6362\u53ef\u80fd\u4f7f\u7f13\u5b58\u5931\u6548&#xff0c;1M \u964d\u5230 256K \u65f6\u8fd8\u53ef\u80fd\u7531\u5de5\u5177\u4fa7\u89e6\u53d1 compact\u3002&#xff08;S1\u3001S3\u3001S5\u3001S8\u3001S9&#xff09;\u8fd9\u4e9b\u80fd\u529b\u89e3\u51b3\u7684\u662f\u5bb9\u91cf\u3001\u63a8\u7406\u8ba1\u7b97\u590d\u7528\u548c\u5ba2\u6237\u7aef\u4f1a\u8bdd\u7ba1\u7406&#xff0c;\u4e0d\u7b49\u4e8e\u751f\u4ea7\u72b6\u6001\u5df2\u7ecf\u88ab\u6b63\u786e\u7ba1\u7406\u3002<\/p>\n<p>\u771f\u6b63\u9700\u8981\u5efa\u7acb\u7684\u662f\u4e00\u4efd Context Ledger&#xff1a;\u4e0a\u4e0b\u6587\u8d26\u672c\u3002\u5b83\u4e0d\u662f\u518d\u9020\u4e00\u5957\u804a\u5929\u8bb0\u5f55&#xff0c;\u800c\u662f\u628a\u6bcf\u6b21\u8bf7\u6c42\u6240\u4f9d\u8d56\u7684\u72b6\u6001\u3001\u72b6\u6001\u7248\u672c\u3001\u538b\u7f29\u8fb9\u754c\u3001\u7f13\u5b58\u7ed3\u679c\u548c\u4efb\u52a1\u7ed3\u679c\u653e\u8fdb\u540c\u4e00\u6761\u53ef\u8ffd\u6eaf\u94fe\u8def\u3002\u4e0a\u4e0b\u6587\u7a97\u53e3\u53ea\u662f\u5bb9\u91cf\u4e0a\u9650&#xff1b;\u8d26\u672c\u624d\u8d1f\u8d23\u8bf4\u660e\u8fd9\u4e2a\u5bb9\u91cf\u91cc\u88c5\u4e86\u4ec0\u4e48\u3001\u4e3a\u4ec0\u4e48\u53ef\u4fe1\u3001\u4f55\u65f6\u5931\u6548&#xff0c;\u4ee5\u53ca\u5931\u6548\u9020\u6210\u4e86\u591a\u5c11\u6210\u672c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035637-6a6828756c67b.png\" alt=\"\u516d\u79cd\u72b6\u6001\u4e0d\u80fd\u90fd\u53eb\u8bb0\u5fc6\uff1aWindow \/ Cache \/ History \/ Memory \/ Repository \/ Tools\" \/><\/p>\n<h3>\u4e00\u3001\u5148\u505c\u6b62\u628a\u516d\u79cd\u4e1c\u897f\u90fd\u53eb&#034;\u8bb0\u5fc6&#034;<\/h3>\n<p>\u751f\u4ea7\u7cfb\u7edf\u6700\u5e38\u89c1\u7684\u6982\u5ff5\u9519\u8bef&#xff0c;\u662f\u628a Context Window\u3001Context Cache\u3001Agent Memory\u3001Conversation History\u3001Repository Snapshot \u548c Tool Registry \u5168\u90e8\u5f52\u5165&#034;\u6a21\u578b\u8bb0\u5fc6&#034;\u3002\u5b83\u4eec\u5b9e\u9645\u4e0a\u56de\u7b54\u516d\u4e2a\u4e0d\u540c\u95ee\u9898\u3002<\/p>\n<p>Context Window \u662f\u4e00\u6b21\u63a8\u7406\u5141\u8bb8\u5bb9\u7eb3\u7684\u6700\u5927 token \u603b\u91cf\u3002Kimi Open Platform \u6587\u6863\u628a kimi-k3 \u7684\u7a97\u53e3\u5199\u4e3a 1M token&#xff0c;\u6a21\u578b\u53c2\u6570\u8868\u7ed9\u51fa\u7684\u7cbe\u786e\u4e0a\u9650\u662f 1,048,576&#xff1b;\u8f93\u5165\u4e0e\u8f93\u51fa\u5171\u540c\u5360\u7528\u8fd9\u4e2a\u9884\u7b97\u3002&#xff08;S1\u3001S6&#xff09;\u5b83\u56de\u7b54&#034;\u6700\u591a\u80fd\u653e\u591a\u5c11&#034;&#xff0c;\u4e0d\u56de\u7b54&#034;\u5e94\u8be5\u653e\u4ec0\u4e48&#034;&#xff0c;\u4e5f\u4e0d\u4fdd\u8bc1\u957f\u4e0a\u4e0b\u6587\u4e2d\u7684\u7ea6\u675f\u4e00\u5b9a\u88ab\u6b63\u786e\u4f7f\u7528\u3002<\/p>\n<p>Context Cache \u662f\u5bf9\u91cd\u590d\u521d\u59cb\u524d\u7f00\u7684\u8ba1\u7b97\u590d\u7528\u3002Kimi API \u81ea\u52a8\u542f\u7528\u7f13\u5b58&#xff0c;\u4e0d\u8981\u6c42\u8c03\u7528\u65b9\u521b\u5efa cache ID&#xff0c;\u4e5f\u4e0d\u63d0\u4f9b\u9700\u8981\u81ea\u884c\u7ba1\u7406\u7684 TTL&#xff1b;\u5f53\u7cfb\u7edf\u8bc6\u522b\u5230\u91cd\u590d\u7684 system prompt\u3001\u6587\u6863\u6216\u5de5\u5177\u5b9a\u4e49\u65f6&#xff0c;\u53ef\u80fd\u590d\u7528\u5df2\u8ba1\u7b97\u7684\u524d\u7f00\u3002\u5b98\u65b9\u8fd8\u8bf4\u660e&#xff0c;\u524d\u4e00\u8bf7\u6c42\u7684 prompt \u8d85\u8fc7 256 token \u624d\u53ef\u80fd\u8fdb\u5165\u524d\u7f00\u7f13\u5b58&#xff0c;\u5e76\u901a\u8fc7\u54cd\u5e94\u4e2d\u7684 cached_tokens \u66b4\u9732\u547d\u4e2d\u91cf\u3002&#xff08;S5\u3001S7&#xff09;\u5b83\u56de\u7b54&#034;\u54ea\u4e9b\u8f93\u5165 token \u4e0d\u5fc5\u91cd\u65b0 prefill&#034;&#xff0c;\u4e0d\u662f\u957f\u671f\u4e1a\u52a1\u8bb0\u5fc6&#xff0c;\u66f4\u4e0d\u662f\u4e8b\u5b9e\u65b0\u9c9c\u5ea6\u8bc1\u660e\u3002<\/p>\n<p>Agent Memory \u5e94\u7531 Harness \u7ba1\u7406&#xff0c;\u662f\u8de8\u8f6e\u6b21\u4e43\u81f3\u8de8 Session \u4fdd\u5b58\u7684\u7ed3\u6784\u5316\u72b6\u6001&#xff0c;\u4f8b\u5982\u7528\u6237\u786e\u8ba4\u8fc7\u7684\u51b3\u7b56\u3001\u4efb\u52a1\u7ea6\u675f\u3001\u5931\u8d25\u7ecf\u9a8c\u3001\u5b9e\u4f53\u5173\u7cfb\u6216\u53ef\u68c0\u7d22\u7b14\u8bb0\u3002\u5b83\u9700\u8981\u6765\u6e90\u3001\u66f4\u65b0\u65f6\u95f4\u3001\u4f5c\u7528\u57df\u548c\u64a4\u9500\u673a\u5236\u3002API \u662f\u5426\u547d\u4e2d\u7f13\u5b58&#xff0c;\u4e0e\u8fd9\u7c7b\u8bb0\u5fc6\u662f\u5426\u5b58\u5728\u6ca1\u6709\u5fc5\u7136\u5173\u7cfb\u3002<\/p>\n<p>Conversation History \u662f\u672c\u8f6e\u8bf7\u6c42\u91cd\u653e\u7ed9\u6a21\u578b\u7684\u6d88\u606f\u5e8f\u5217\u3002Kimi API \u672c\u8eab\u662f\u65e0\u72b6\u6001\u7684&#xff0c;\u4e0d\u4fdd\u5b58\u591a\u8f6e\u5386\u53f2&#xff1b;\u8c03\u7528\u65b9\u5fc5\u987b\u628a\u6b64\u524d assistant \u6d88\u606f\u548c\u5de5\u5177\u7ed3\u679c\u91cd\u65b0\u52a0\u5165 messages\u3002Kimi Code CLI \u5219\u4f1a\u628a Session \u7684\u4e8b\u4ef6\u6d41\u6301\u4e45\u5316\u5230\u672c\u5730&#xff0c;\u7528\u4e8e\u6062\u590d\u548c\u56de\u653e\u3002&#xff08;S7\u3001S10&#xff09;\u5386\u53f2\u662f\u4e8b\u4ef6\u8bb0\u5f55&#xff0c;\u4e0d\u7b49\u4e8e\u5df2\u7ecf\u63d0\u70bc\u597d\u7684\u5de5\u4f5c\u72b6\u6001\u3002<\/p>\n<p>Repository Snapshot \u662f Agent \u6240\u4f9d\u636e\u7684\u4ee3\u7801\u4e16\u754c\u7248\u672c\u3002\u81f3\u5c11\u8981\u80fd\u5b9a\u4f4d commit \u6216 tree hash\u3001branch\u3001dirty diff\u3001submodule\u3001\u4f9d\u8d56\u9501\u6587\u4ef6\u548c\u751f\u6210\u7269\u72b6\u6001\u3002\u6a21\u578b\u8bfb\u8fc7 payment\/service.go&#xff0c;\u53ea\u8bf4\u660e\u5b83\u89c1\u8fc7\u67d0\u4e00\u65f6\u523b\u7684\u6587\u4ef6\u5185\u5bb9&#xff1b;\u5982\u679c\u4eba\u7c7b\u3001\u53e6\u4e00\u4e2a Agent \u6216\u683c\u5f0f\u5316\u5de5\u5177\u968f\u540e\u6539\u4e86\u6587\u4ef6&#xff0c;\u65e7\u9605\u8bfb\u7ed3\u679c\u5c31\u5df2\u7ecf\u8fc7\u671f\u3002<\/p>\n<p>Tool Registry \u662f\u5f53\u524d\u53ef\u8c03\u7528\u5de5\u5177\u7684\u5951\u7ea6\u96c6\u5408&#xff0c;\u5305\u62ec\u5de5\u5177\u540d\u3001JSON Schema\u3001\u7248\u672c\u3001\u6743\u9650\u3001\u7aef\u70b9\u3001\u8d85\u65f6\u548c\u526f\u4f5c\u7528\u7ea7\u522b\u3002\u53ea\u6709\u5de5\u5177\u540d\u76f8\u540c&#xff0c;\u4e0d\u4ee3\u8868\u5de5\u5177\u8bed\u4e49\u76f8\u540c\u3002\u53c2\u6570\u4ece path \u6539\u6210 paths\u3001\u9ed8\u8ba4\u5206\u652f\u4ece\u53ea\u8bfb\u6539\u6210\u5199\u5165\u3001MCP Server \u5347\u7ea7\u6216\u6743\u9650\u7b56\u7565\u53d8\u5316&#xff0c;\u90fd\u4f1a\u8ba9\u65e7\u4e0a\u4e0b\u6587\u4e2d\u7684\u8c03\u7528\u8ba1\u5212\u5931\u6548\u3002<\/p>\n<p>\u628a\u516d\u8005\u5206\u5f00\u540e&#xff0c;\u6545\u969c\u5b9a\u4f4d\u624d\u6709\u53ef\u80fd\u6210\u7acb&#xff1a;\u7ea6\u675f\u4e22\u5931\u662f compaction \u95ee\u9898&#xff0c;\u91cd\u590d\u8bfb\u4ed3\u5e93\u53ef\u80fd\u662f Repository Snapshot \u672a\u590d\u7528&#xff0c;\u6210\u672c\u7a81\u589e\u53ef\u80fd\u662f\u7f13\u5b58\u5931\u6548&#xff0c;\u9519\u8bef\u5de5\u5177\u8c03\u7528\u53ef\u80fd\u662f Tool Registry \u6f02\u79fb\u3002\u5b83\u4eec\u4e0d\u80fd\u518d\u88ab\u7b3c\u7edf\u5f52\u56e0\u6210&#034;\u6a21\u578b\u5fd8\u4e86&#034;\u3002<\/p>\n<h3>\u4e8c\u3001K3 \u7684 1M\u3001\u81ea\u52a8\u7f13\u5b58\u548c\u4ea7\u54c1\u5165\u53e3\u5fc5\u987b\u5206\u5f00\u89e3\u91ca<\/h3>\n<p>Kimi \u7684\u5b98\u65b9\u9875\u9762\u5b58\u5728\u4e09\u4e2a\u5bb9\u6613\u88ab\u6df7\u5199\u7684\u4ea7\u54c1\u5165\u53e3&#xff1a;Open Platform API\u3001Kimi Code&#xff0c;\u4ee5\u53ca\u5305\u542b Kimi Code \u6743\u76ca\u7684\u4f1a\u5458\u4ea7\u54c1\u3002\u4e09\u8005\u7684 Key\u3001\u4f59\u989d\u6216\u6743\u76ca\u548c\u8ba1\u8d39\u65b9\u5f0f\u5e76\u4e0d\u901a\u7528\u3002&#xff08;S1\u3001S3&#xff09;\u56e0\u6b64&#xff0c;Context Ledger \u9996\u5148\u8981\u8bb0\u5f55 provider_surface&#xff0c;\u518d\u8bb0\u5f55 model_id&#xff0c;\u4e0d\u80fd\u53ea\u5199\u4e00\u4e2a&#034;K3&#034;\u3002<\/p>\n<p>\u5728 Open Platform API \u4e2d&#xff0c;\u76f4\u63a5\u8c03\u7528\u4f7f\u7528 kimi-k3\u3002\u8be5\u6a21\u578b\u6700\u591a\u652f\u6301 1M token&#xff0c;reasoning_effort \u53ef\u53d6 low\u3001high\u3001max&#xff0c;\u9ed8\u8ba4\u662f max\u3002API \u6309 token \u8ba1\u8d39&#xff1b;\u622a\u81f3\u672c\u6b21\u8bbf\u95ee&#xff0c;K3 \u6bcf 100 \u4e07 token \u7684\u7f13\u5b58\u547d\u4e2d\u8f93\u5165\u3001\u7f13\u5b58\u672a\u547d\u4e2d\u8f93\u5165\u548c\u8f93\u51fa\u4ef7\u683c\u5206\u522b\u4e3a 0.30\u30013.00 \u548c 15.00 \u7f8e\u5143&#xff0c;\u672a\u542b\u9002\u7528\u7a0e\u8d39\u3002&#xff08;S4\u3001S6&#xff09;\u54cd\u5e94\u63d0\u4f9b prompt_tokens\u3001completion_tokens\u3001cached_tokens&#xff0c;\u56e0\u6b64\u8d26\u672c\u53ef\u4ee5\u8ba1\u7b97&#xff1a;<\/p>\n<p>cache_hit_tokens &#061; cached_tokens<\/p>\n<p>cache_miss_tokens &#061; prompt_tokens &#8211; cached_tokens<\/p>\n<p>request_cost &#061; hit_tokens \u00d7 0.30 \/ 1,000,000 &#043; miss_tokens \u00d7 3.00 \/ 1,000,000 &#043; output_tokens \u00d7 15.00 \/ 1,000,000<\/p>\n<p>\u8fd9\u53ea\u662f\u5f53\u524d\u5b98\u65b9\u4ef7\u683c\u4e0b\u7684\u8ba1\u7b97\u5f0f&#xff0c;\u53d1\u5e03\u524d\u5fc5\u987b\u91cd\u65b0\u6838\u4ef7&#xff0c;\u5e76\u5355\u72ec\u8ba1\u5165 Web Search \u7b49\u9644\u52a0\u80fd\u529b\u7684\u8d39\u7528\u3002<\/p>\n<p>\u5728 Kimi Code \u4e2d&#xff0c;\u6a21\u578b ID \u662f k3 \u4e0e k3-256k\u3002\u6587\u6863\u5199\u660e\u4e24\u8005\u9ed8\u8ba4 reasoning effort \u90fd\u662f high&#xff1b;k3-256k \u56fa\u5b9a\u4e3a 256K&#xff0c;k3 \u7684\u6700\u9ad8 1M \u80fd\u529b\u53d6\u51b3\u4e8e\u4f1a\u5458\u7b49\u7ea7\u3002Kimi Code \u91c7\u7528\u4f1a\u5458\u989d\u5ea6\u8bed\u5883&#xff0c;\u5b98\u65b9\u79f0 1M \u7684 k3 \u5927\u7ea6\u6d88\u8017 k3-256k \u4e24\u500d\u989d\u5ea6&#xff0c;\u8fd9\u4e0d\u80fd\u76f4\u63a5\u6362\u7b97\u6210 Open Platform \u7684\u7f8e\u5143\u4ef7\u683c\u3002&#xff08;S8&#xff09;<\/p>\n<p>\u6a21\u578b ID \u7684\u5dee\u5f02\u4e5f\u4e0d\u53ea\u662f\u547d\u540d\u95ee\u9898\u3002Kimi \u7684\u6545\u969c\u6392\u67e5\u9875\u9762\u6307\u51fa&#xff0c;Open Platform \u76f4\u63a5 API \u4e0e Codex \u96c6\u6210\u4f7f\u7528 kimi-k3&#xff0c;Claude Code \u7684\u517c\u5bb9\u8def\u5f84\u53ef\u80fd\u4f7f\u7528 kimi-k3[1m]&#xff1b;Kimi Code \u81ea\u5df1\u7684\u517c\u5bb9\u7aef\u70b9\u53c8\u4f7f\u7528 k3 \u6216 k3-256k\u3002&#xff08;S3\u3001S8&#xff09;\u5982\u679c Harness \u5728\u4e0d\u540c\u9002\u914d\u5668\u4e4b\u95f4\u53ea\u4fdd\u5b58&#034;K3&#034;&#xff0c;\u5c31\u65e0\u6cd5\u77e5\u9053\u4e00\u6b21\u6062\u590d\u7a76\u7adf\u56de\u5230\u4e86\u54ea\u4e2a\u4ea7\u54c1\u3001\u54ea\u4e2a\u4e0a\u4e0b\u6587\u4e0a\u9650\u548c\u54ea\u4e2a\u9ed8\u8ba4 effort\u3002<\/p>\n<p>\u5b98\u65b9\u6587\u6863\u8fd8\u7ed9\u51fa\u4e00\u4e2a\u503c\u5f97\u4fdd\u7559\u539f\u8c8c\u7684\u7248\u672c\u5316\u5dee\u5f02&#xff1a;Kimi Code \u7684\u901a\u7528\u8bf4\u660e\u548c\u53d1\u5e03\u65e5\u5fd7\u90fd\u8bf4&#xff0c;\u5207\u6362\u6a21\u578b ID \u6216 effort \u4f1a\u4f7f\u5df2\u6709 prompt cache \u5931\u6548&#xff0c;\u5efa\u8bae\u65b0\u5efa Session&#xff1b;\u4f46\u540c\u4e00\u6a21\u578b\u914d\u7f6e\u9875\u53c8\u5bf9&#034;\u5f53\u524d\u7248\u672c\u4ece k3-256k \u5347\u5230 k3&#034;\u7ed9\u51fa\u9650\u5b9a\u8bf4\u660e&#xff0c;\u79f0\u8be5\u65b9\u5411\u76ee\u524d\u4e0d\u5f71\u54cd\u7f13\u5b58\u3002&#xff08;S8\u3001S9&#xff09;\u8fd9\u4e0d\u662f\u5e94\u8be5\u7531\u6587\u7ae0\u66ff\u5b98\u65b9\u6d88\u9664\u7684\u77db\u76fe&#xff0c;\u800c\u662f\u8d26\u672c\u5fc5\u987b\u8bb0\u5f55 client_version\u3001\u5207\u6362\u65b9\u5411\u548c\u5b9e\u9645 cached_tokens \u7684\u7406\u7531\u3002\u751f\u4ea7\u89c4\u5219\u5e94\u4ee5\u89c2\u6d4b\u7ed3\u679c\u4e3a\u51c6&#xff0c;\u4e0d\u80fd\u628a\u67d0\u4e00\u7248\u5ba2\u6237\u7aef\u7684\u4f8b\u5916\u5199\u6210\u6c38\u4e45\u534f\u8bae\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035638-6a682876c869b.png\" alt=\"Context Ledger \u8d26\u672c\u7ed3\u6784\uff1aTask \/ Context \/ Request \/ Result \u56db\u7ec4\u5b57\u6bb5\" \/><\/p>\n<h3>\u4e09\u3001Context Ledger \u5e94\u8bb0\u5f55\u4ec0\u4e48<\/h3>\n<p>\u4e00\u4efd\u53ef\u7528\u7684\u8d26\u672c\u81f3\u5c11\u5206\u6210\u4efb\u52a1\u3001\u4e0a\u4e0b\u6587\u3001\u8bf7\u6c42\u548c\u7ed3\u679c\u56db\u5c42\u3002\u4e0b\u9762\u662f\u4e00\u6761\u6700\u5c0f\u8bb0\u5f55\u7684\u793a\u610f&#xff0c;\u5b57\u6bb5\u540d\u53ef\u4ee5\u843d\u5165\u6570\u636e\u5e93\u3001Trace Span \u6216 JSONL&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;task_id&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;TASK-8421&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;session_id&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;sess-17&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;attempt_id&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;a3&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;provider_surface&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;kimi_open_platform&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;model_id&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;kimi-k3&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;model_version&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;unknown_alias_resolution&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;reasoning_effort&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;high&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;policy_hash&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;sha256:&#8230;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;repo_snapshot&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;git:4f8c&#8230;&#043;dirty:9a1b&#8230;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;tool_schema_hash&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;sha256:&#8230;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;history_range&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;event:120-188&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;summary_hash&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;sha256:&#8230;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;cache_hit_tokens&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">184320<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;cache_miss_tokens&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">17342<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;compaction_event&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;occurred&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;reason&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;model_window_downshift&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;source_range&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;event:1-119&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;preserve_manifest_hash&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;sha256:&#8230;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;validator&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;constraint-check-v2&#034;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u4efb\u52a1\u5c42\u5fc5\u987b\u6709 task_id&#xff0c;\u5e76\u533a\u5206 Session \u4e0e Attempt\u3002\u4e00\u6b21\u4efb\u52a1\u5931\u8d25\u540e\u65b0\u5efa Session \u91cd\u8bd5&#xff0c;\u4ecd\u5e94\u5f52\u5230\u540c\u4e00\u4efb\u52a1&#xff0c;\u5426\u5219&#034;\u6bcf Session \u6210\u672c\u4e0b\u964d&#034;\u53ef\u80fd\u53ea\u662f\u628a\u5931\u8d25\u6210\u672c\u85cf\u5230\u4e86\u522b\u5904\u3002<\/p>\n<p>\u6a21\u578b\u5c42\u81f3\u5c11\u8bb0\u5f55 model_id\u3001model_version\u3001reasoning_effort \u548c\u5ba2\u6237\u7aef\u6216\u9002\u914d\u5668\u7248\u672c\u3002\u82e5\u4f9b\u5e94\u5546\u53ea\u66b4\u9732\u6eda\u52a8\u522b\u540d&#xff0c;model_version \u5e94\u660e\u786e\u5199\u6210\u672a\u77e5\u6216\u522b\u540d\u89e3\u6790\u65f6\u95f4&#xff0c;\u800c\u4e0d\u662f\u4f2a\u9020\u4e00\u4e2a\u7cbe\u786e\u7248\u672c\u3002Kimi API \u7684\u54cd\u5e94 model \u5b57\u6bb5\u3001Kimi Code \u7684\u8fd0\u884c\u72b6\u6001\u548c\u5ba2\u6237\u7aef\u7248\u672c\u90fd\u5e94\u539f\u6837\u4fdd\u5b58\u3002<\/p>\n<p>\u4e0a\u4e0b\u6587\u5c42\u8bb0\u5f55 policy_hash\u3001repo_snapshot\u3001tool_schema_hash\u3001history_range \u4e0e summary_hash\u3002\u54c8\u5e0c\u4e4b\u524d\u5fc5\u987b\u5148\u505a\u786e\u5b9a\u6027\u5e8f\u5217\u5316&#xff1a;\u7edf\u4e00\u5b57\u6bb5\u987a\u5e8f\u3001\u6362\u884c\u3001\u7f16\u7801\u548c\u8def\u5f84\u89c4\u8303&#xff0c;\u5426\u5219\u53ea\u662f\u65e0\u610f\u4e49\u5730\u5236\u9020 miss\u3002\u9664\u603b\u54c8\u5e0c\u5916&#xff0c;\u8fd8\u5e94\u4fdd\u5b58\u53ef\u89e3\u91ca\u7684 manifest&#xff0c;\u4f8b\u5982\u7b56\u7565\u6587\u4ef6\u5217\u8868\u3001\u5de5\u5177\u7248\u672c\u8868\u3001\u4ed3\u5e93 commit \u4e0e dirty \u6587\u4ef6\u6e05\u5355\u3002<\/p>\n<p>\u538b\u7f29\u5c42\u4e0d\u80fd\u53ea\u6709 compacted&#061;true\u3002compaction_event \u8fd8\u8981\u8bb0\u5f55\u89e6\u53d1\u8005\u3001\u89e6\u53d1\u539f\u56e0\u3001\u538b\u7f29\u524d token\u3001\u6e90\u5386\u53f2\u8303\u56f4\u3001\u6458\u8981\u751f\u6210\u6a21\u578b\u3001\u4fdd\u7559\u6307\u4ee4\u3001\u6458\u8981\u54c8\u5e0c\u3001\u88ab\u5220\u9664\u7684\u539f\u6587\u4f4d\u7f6e&#xff0c;\u4ee5\u53ca\u538b\u7f29\u540e\u7684\u7ea6\u675f\u6821\u9a8c\u7ed3\u679c\u3002Kimi Code \u652f\u6301\u81ea\u52a8\u538b\u7f29\u548c\u624b\u52a8 \/compact [instruction]&#xff1b;\u53d1\u5e03\u65e5\u5fd7\u8fd8\u63d0\u5230\u65b0\u7248\u4f1a\u628a todo \u5217\u8868\u9644\u52a0\u5230\u6458\u8981\u4e2d\u3002&#xff08;S9\u3001S10\u3001S11&#xff09;\u8fd9\u8bf4\u660e compact \u672c\u8eab\u5c31\u662f\u4e00\u6b21\u6709\u635f\u72b6\u6001\u8fc1\u79fb&#xff0c;\u5e94\u50cf\u6570\u636e\u5e93\u8fc1\u79fb\u4e00\u6837\u5ba1\u8ba1&#xff0c;\u800c\u4e0d\u662f\u5f53\u4f5c\u666e\u901a\u804a\u5929\u6e05\u7406\u3002<\/p>\n<p>\u8bf7\u6c42\u5c42\u8bb0\u5f55 prompt_tokens\u3001cache_hit_tokens\u3001cache_miss_tokens\u3001\u8f93\u51fa token\u3001TTFT\u3001\u7aef\u5230\u7aef\u8017\u65f6\u3001\u5de5\u5177\u8c03\u7528\u6b21\u6570\u3001\u91cd\u590d\u8bfb\u53d6\u5b57\u8282\u6570\u548c\u8bf7\u6c42 ID\u3002\u7ed3\u679c\u5c42\u8bb0\u5f55\u529f\u80fd\u6d4b\u8bd5\u3001\u7ea6\u675f\u6d4b\u8bd5\u3001\u4eba\u5de5\u9a8c\u6536\u3001\u9519\u8bef\u7c7b\u578b\u548c\u662f\u5426\u56de\u6eda\u3002\u53ea\u6709\u628a\u6210\u672c\u4e0e\u6210\u529f\u7ed3\u679c\u8fde\u63a5\u8d77\u6765&#xff0c;\u624d\u6709&#034;\u6bcf\u4e2a\u6210\u529f\u4efb\u52a1\u6210\u672c&#034;&#xff0c;\u800c\u4e0d\u53ea\u662f\u4fbf\u5b9c\u4f46\u5931\u8d25\u7684\u8bf7\u6c42\u5747\u4ef7\u3002<\/p>\n<p>\u8d26\u672c\u8fd8\u5e94\u751f\u6210\u4e00\u4e2a\u53ef\u6bd4\u8f83\u7684 context_identity&#xff0c;\u4f8b\u5982\u7531 provider_surface &#043; model_id &#043; reasoning_effort &#043; policy_hash &#043; repo_snapshot &#043; tool_schema_hash &#043; summary_hash \u7ec4\u5408\u540e\u518d\u505a\u54c8\u5e0c\u3002\u5b83\u4e0d\u662f\u4f9b\u5e94\u5546\u7f13\u5b58\u952e&#xff0c;\u800c\u662f Harness \u81ea\u5df1\u7684\u4e0a\u4e0b\u6587\u8eab\u4efd\u3002\u4e24\u4e2a\u8bf7\u6c42\u5373\u4f7f\u90fd\u663e\u793a 80% cache hit&#xff0c;\u53ea\u8981 context_identity \u4e0d\u540c&#xff0c;\u5c31\u4e0d\u80fd\u88ab\u5f53\u4f5c\u540c\u4e00\u5b9e\u9a8c\u6761\u4ef6&#xff1b;\u53cd\u8fc7\u6765&#xff0c;\u5982\u679c\u8eab\u4efd\u76f8\u540c\u5374\u51fa\u73b0\u547d\u4e2d\u7387\u9aa4\u964d&#xff0c;\u5c31\u53ef\u4ee5\u8fdb\u4e00\u6b65\u68c0\u67e5\u6d88\u606f\u6392\u5e8f\u3001\u5ba2\u6237\u7aef\u5347\u7ea7\u3001\u9690\u5f0f\u5de5\u5177\u6ce8\u5165\u6216\u4f9b\u5e94\u5546\u4fa7\u7f13\u5b58\u6ce2\u52a8\u3002\u5bf9\u6bcf\u6b21 compact&#xff0c;\u8fd8\u5e94\u4fdd\u5b58\u538b\u7f29\u524d\u540e\u7684\u8eab\u4efd\u6620\u5c04&#xff0c;\u4f7f\u56e2\u961f\u80fd\u591f\u4ece\u4e00\u4e2a\u9519\u8bef\u8865\u4e01\u53cd\u67e5\u5230\u5b83\u7a76\u7adf\u7ee7\u627f\u4e86\u54ea\u4efd\u6458\u8981\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035639-6a682877d1e5b.png\" alt=\"\u8bf7\u6c42\u7ec4\u7ec7\u6210\u4e09\u5c42\uff1aStable Prefix \/ Working State \/ Volatile Suffix \u5206\u522b\u6cbb\u7406\" \/><\/p>\n<h3>\u56db\u3001\u628a\u8bf7\u6c42\u7ec4\u7ec7\u6210\u7a33\u5b9a\u524d\u7f00\u3001\u534a\u7a33\u5b9a\u5de5\u4f5c\u72b6\u6001\u548c\u6613\u53d8\u540e\u7f00<\/h3>\n<p>\u81ea\u52a8\u524d\u7f00\u7f13\u5b58\u8981\u6c42\u91cd\u590d\u7684\u521d\u59cb\u4e0a\u4e0b\u6587\u5c3d\u91cf\u7a33\u5b9a\u3002\u4e00\u4e2a\u9002\u5408 Coding Agent \u7684\u7ec4\u7ec7\u65b9\u6cd5&#xff0c;\u662f\u628a\u6bcf\u6b21\u8bf7\u6c42\u62c6\u6210\u4e09\u5c42&#xff0c;\u4f46\u6bcf\u5c42\u90fd\u5fc5\u987b\u7248\u672c\u5316\u3002<\/p>\n<p>\u7b2c\u4e00\u5c42\u662f \u7a33\u5b9a\u524d\u7f00&#xff1a;\u7ec4\u7ec7\u7b56\u7565\u3001\u6743\u9650\u8fb9\u754c\u3001\u8f93\u51fa\u534f\u8bae\u3001\u957f\u671f\u4e0d\u53d8\u7684\u9879\u76ee\u7ea6\u675f&#xff0c;\u4ee5\u53ca\u672c\u8f6e\u786e\u5b9e\u542f\u7528\u7684\u5de5\u5177 Schema\u3002\u5b83\u5e94\u91c7\u7528\u56fa\u5b9a\u6392\u5e8f\u548c\u56fa\u5b9a\u5e8f\u5217\u5316&#xff0c;\u672b\u5c3e\u9644\u4e0a policy_hash \u4e0e tool_schema_hash\u3002\u5931\u6548\u6761\u4ef6\u5305\u62ec\u7b56\u7565\u53d8\u66f4\u3001\u5de5\u5177\u53c2\u6570\u6216\u6743\u9650\u53d8\u5316\u3001\u6a21\u578b ID \u53d8\u5316\u3001reasoning effort \u53d8\u5316&#xff0c;\u4ee5\u53ca\u9002\u914d\u5668\u6539\u53d8\u6d88\u606f\u6392\u5217\u3002Kimi \u5b98\u65b9\u660e\u786e\u628a system prompt\u3001\u77e5\u8bc6\u6587\u6863\u548c\u5de5\u5177\u5b9a\u4e49\u5217\u4e3a\u9002\u5408\u7a33\u5b9a\u524d\u7f00\u7684\u5185\u5bb9&#xff0c;\u5e76\u63d0\u9192\u4fee\u6539\u524d\u7f00\u4f1a\u964d\u4f4e\u547d\u4e2d\u7387\u3002&#xff08;S3\u3001S5&#xff09;<\/p>\n<p>\u7b2c\u4e8c\u5c42\u662f \u534a\u7a33\u5b9a\u5de5\u4f5c\u72b6\u6001&#xff1a;\u5f53\u524d\u76ee\u6807\u3001\u5df2\u786e\u8ba4\u51b3\u7b56\u3001\u6267\u884c\u8ba1\u5212\u3001\u4ed3\u5e93\u5feb\u7167\u3001\u76f8\u5173\u6587\u4ef6\u6458\u8981\u3001\u6d4b\u8bd5\u57fa\u7ebf\u3001\u5c1a\u672a\u89e3\u51b3\u7684\u963b\u585e\u9879\u3002\u5b83\u4e0d\u5e94\u968f\u7740\u6bcf\u6761\u5de5\u5177\u8f93\u51fa\u90fd\u6574\u4f53\u91cd\u5199&#xff0c;\u800c\u5e94\u6309 epoch \u66f4\u65b0\u3002\u4f8b\u5982\u5b8c\u6210\u4e00\u6b21\u63d0\u4ea4\u3001\u5207\u6362 branch\u3001\u4f9d\u8d56\u9501\u6587\u4ef6\u53d8\u5316\u6216\u7528\u6237\u6539\u53d8\u9a8c\u6536\u6807\u51c6\u65f6&#xff0c;\u751f\u6210\u65b0\u7684 work_state_version\u3002\u5176\u5931\u6548\u6761\u4ef6\u662f repo_snapshot \u6539\u53d8\u3001\u6458\u8981\u88ab\u91cd\u7b97\u3001\u8ba1\u5212\u88ab\u6279\u51c6\u6216\u64a4\u9500\u3001\u68c0\u7d22\u7d22\u5f15\u843d\u540e\u4e8e\u4ed3\u5e93\u3002<\/p>\n<p>\u7b2c\u4e09\u5c42\u662f \u6613\u53d8\u540e\u7f00&#xff1a;\u5f53\u524d\u7528\u6237\u6307\u4ee4\u3001\u6700\u8fd1\u51e0\u8f6e\u5bf9\u8bdd\u3001\u521a\u8fd4\u56de\u7684\u5de5\u5177\u7ed3\u679c\u3001\u5f53\u524d diff \u548c\u9519\u8bef\u65e5\u5fd7\u3002\u5b83\u5929\u7136\u6bcf\u8f6e\u53d8\u5316&#xff0c;\u4e0d\u5e94\u4e3a\u4e86\u8ffd\u6c42 cache hit \u88ab\u5f3a\u884c\u585e\u5165\u7a33\u5b9a\u533a\u3002\u540e\u7f00\u7684\u76ee\u6807\u662f\u5c0f\u3001\u8fd1\u3001\u53ef\u4e22\u5f03&#xff1b;\u771f\u6b63\u9700\u8981\u8de8\u8f6e\u4fdd\u5b58\u7684\u7ed3\u8bba&#xff0c;\u5e94\u5148\u901a\u8fc7\u9a8c\u8bc1&#xff0c;\u518d\u664b\u5347\u5230\u534a\u7a33\u5b9a\u5de5\u4f5c\u72b6\u6001\u3002<\/p>\n<p>\u8fd9\u79cd\u5206\u5c42\u7684\u4ef7\u503c\u4e0d\u53ea\u5728\u7f13\u5b58\u3002\u5f53 Agent \u91cd\u590d\u8bfb\u53d6\u4ed3\u5e93\u65f6&#xff0c;Harness \u53ef\u4ee5\u68c0\u67e5&#xff1a;\u76f8\u540c repo_snapshot \u4e0b&#xff0c;\u8fd9\u4e2a\u6587\u4ef6\u662f\u5426\u5df2\u7ecf\u6709\u5185\u5bb9\u54c8\u5e0c\u548c\u53ef\u4fe1\u6458\u8981&#xff1b;\u5f53\u5de5\u5177\u5347\u7ea7\u65f6&#xff0c;\u53ef\u4ee5\u53ea\u4f7f Tool Registry \u76f8\u5173\u524d\u7f00\u5931\u6548&#xff1b;\u5f53\u7528\u6237\u4fee\u6539\u7b56\u7565\u65f6&#xff0c;\u53ef\u4ee5\u5f3a\u5236\u91cd\u5efa\u7b2c\u4e00\u5c42&#xff0c;\u800c\u4e0d\u662f\u7ee7\u7eed\u590d\u7528\u4e00\u4e2a\u9ad8\u547d\u4e2d\u4f46\u8fc7\u671f\u7684\u524d\u7f00\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035640-6a682878bbfe0.png\" alt=\"Cache Hit \u2260 Context Correct\uff1a\u524d\u7f00\u547d\u4e2d \/ \u6458\u8981\u5b8c\u6574 \/ \u4ed3\u5e93\u4e00\u81f4 \/ \u6388\u6743\u6709\u6548 \u5404\u81ea\u9a8c\u8bc1\" \/><\/p>\n<h3>\u4e94\u3001\u4e3a\u4ec0\u4e48 cache hit \u4e0d\u80fd\u8bc1\u660e\u4e0a\u4e0b\u6587\u6b63\u786e<\/h3>\n<p>\u7f13\u5b58\u547d\u4e2d\u53ea\u8bf4\u660e\u8bf7\u6c42\u524d\u7f00\u4e0e\u67d0\u4e2a\u53ef\u590d\u7528\u8ba1\u7b97\u76f8\u5339\u914d\u3002\u5b83\u4e0d\u8bc1\u660e\u524d\u7f00\u4e2d\u7684\u5185\u5bb9\u4ecd\u7136\u9002\u7528\u4e8e\u5f53\u524d\u4efb\u52a1&#xff0c;\u4e5f\u4e0d\u8bc1\u660e\u4e0a\u4e0b\u6587\u5b8c\u6574\u3002<\/p>\n<p>\u7b2c\u4e00\u79cd\u98ce\u9669\u662f \u8fc7\u671f\u7b56\u7565\u3002\u65e7 policy_hash \u5bf9\u5e94\u7684\u524d\u7f00\u53ef\u4ee5\u83b7\u5f97\u5f88\u9ad8\u547d\u4e2d\u7387&#xff0c;\u4f46\u5982\u679c\u5b89\u5168\u56e2\u961f\u5df2\u7ecf\u7981\u6b62\u7f51\u7edc\u8bbf\u95ee&#xff0c;\u7ee7\u7eed\u590d\u7528\u65e7\u89c4\u5219\u53cd\u800c\u7a33\u5b9a\u5730\u4ea7\u751f\u9519\u8bef\u884c\u4e3a\u3002<\/p>\n<p>\u7b2c\u4e8c\u79cd\u98ce\u9669\u662f \u5de5\u5177\u7248\u672c\u6f02\u79fb\u3002\u5de5\u5177\u540d\u548c\u5927\u90e8\u5206 Schema \u672a\u53d8&#xff0c;\u7f13\u5b58\u4ecd\u53ef\u80fd\u547d\u4e2d&#xff0c;\u4f46\u540e\u7aef\u8bed\u4e49\u3001\u6743\u9650\u6216\u526f\u4f5c\u7528\u5df2\u7ecf\u53d8\u5316\u3002\u8d26\u672c\u5fc5\u987b\u628a\u5de5\u5177\u7248\u672c\u3001\u7aef\u70b9\u548c\u6743\u9650\u7eb3\u5165 manifest&#xff0c;\u800c\u4e0d\u80fd\u53ea\u54c8\u5e0c\u5c55\u793a\u7ed9\u6a21\u578b\u7684\u540d\u79f0\u3002<\/p>\n<p>\u7b2c\u4e09\u79cd\u98ce\u9669\u662f \u9519\u8bef\u6458\u8981\u3002\u4e00\u6b21 compact \u628a&#034;\u4e0d\u5141\u8bb8\u4fee\u6539 migrations&#034;\u6f0f\u6389\u540e&#xff0c;\u8fd9\u4efd\u6458\u8981\u53ef\u4ee5\u5728\u540e\u7eed\u591a\u8f6e\u88ab\u7a33\u5b9a\u590d\u7528\u3002\u7f13\u5b58\u8d8a\u597d&#xff0c;\u9519\u8bef\u4f20\u64ad\u5f97\u8d8a\u4fbf\u5b9c\u3001\u8d8a\u5feb\u3002summary_hash \u53ea\u80fd\u8bc1\u660e\u6458\u8981\u6ca1\u53d8&#xff0c;\u4e0d\u80fd\u8bc1\u660e\u6458\u8981\u6b63\u786e&#xff1b;\u8fd8\u9700\u8981\u7ea6\u675f\u6e05\u5355\u6821\u9a8c\u3001\u6765\u6e90\u56de\u94fe\u548c\u5fc5\u8981\u65f6\u7684\u539f\u6587\u62bd\u67e5\u3002<\/p>\n<p>\u7b2c\u56db\u79cd\u98ce\u9669\u662f \u4ed3\u5e93\u5df2\u53d8\u5316\u3002\u6a21\u578b\u5bf9\u65e7\u6587\u4ef6\u5185\u5bb9\u7684\u524d\u7f00\u547d\u4e2d&#xff0c;\u4e0d\u4ee3\u8868\u5f53\u524d working tree \u4ecd\u76f8\u540c\u3002\u53ea\u6709 repo_snapshot \u4e00\u81f4&#xff0c;\u5386\u53f2\u9605\u8bfb\u7ed3\u679c\u624d\u6709\u8d44\u683c\u590d\u7528\u3002<\/p>\n<p>\u7b2c\u4e94\u79cd\u98ce\u9669\u662f \u8de8\u6a21\u578b\u72b6\u6001\u4e0d\u517c\u5bb9\u3002\u4e0d\u540c\u6a21\u578b\u6216 effort \u53ef\u80fd\u8981\u6c42\u4e0d\u540c\u7684 reasoning \u5b57\u6bb5\u3001\u5de5\u5177\u6d88\u606f\u7ed3\u6784\u548c\u538b\u7f29\u7b56\u7565\u3002Kimi \u5b98\u65b9\u660e\u786e\u8981\u6c42\u591a\u8f6e K3 \u8bf7\u6c42\u56de\u4f20\u5b8c\u6574 assistant message&#xff0c;\u5e76\u8bb0\u5f55\u6a21\u578b\u6216 effort \u5207\u6362\u7684\u7f13\u5b58\u5931\u6548\u98ce\u9669\u3002&#xff08;S6\u3001S8\u3001S9&#xff09;\u56e0\u6b64&#xff0c;\u6062\u590d Session \u524d\u5fc5\u987b\u6267\u884c\u517c\u5bb9\u6027\u68c0\u67e5&#xff0c;\u800c\u4e0d\u662f\u628a\u4e0a\u4e00\u6a21\u578b\u7684\u5386\u53f2\u76f2\u76ee\u585e\u7ed9\u4e0b\u4e00\u6a21\u578b\u3002<\/p>\n<p>\u751f\u4ea7\u770b\u677f\u81f3\u5c11\u8981\u540c\u65f6\u5c55\u793a\u4e24\u7ec4\u6307\u6807&#xff1a;\u8ba1\u7b97\u590d\u7528\u6307\u6807\u4e0e\u8bed\u4e49\u6b63\u786e\u6307\u6807\u3002\u524d\u8005\u5305\u62ec hit tokens\u3001miss tokens\u3001hit ratio\u3001TTFT \u548c\u8f93\u5165\u6210\u672c&#xff1b;\u540e\u8005\u5305\u62ec\u7b56\u7565\u7248\u672c\u4e00\u81f4\u7387\u3001\u4ed3\u5e93\u5feb\u7167\u4e00\u81f4\u7387\u3001\u6458\u8981\u7ea6\u675f\u53ec\u56de\u7387\u3001\u5de5\u5177 Schema \u4e00\u81f4\u7387\u548c\u4efb\u52a1\u6210\u529f\u7387\u3002\u53ea\u6709\u4e24\u7ec4\u90fd\u901a\u8fc7&#xff0c;\u7f13\u5b58\u624d\u662f\u4f18\u5316&#xff0c;\u800c\u4e0d\u662f\u628a\u9519\u8bef\u52a0\u901f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035641-6a682879a0fd8.png\" alt=\"\u5b9e\u9a8c\u6536\u655b\uff1a\u56db\u6761\u8def\u5f84\u5bf9\u7167 256K Session \/ 1M Session \/ Forced Compact \/ Fresh Rebuild\" \/><\/p>\n<h3>\u516d\u3001\u600e\u6837\u505a\u4e00\u7ec4\u4e0d\u865a\u6784\u7ed3\u679c\u7684\u5bf9\u7167\u5b9e\u9a8c<\/h3>\n<p>\u53ef\u4ee5\u7528\u540c\u4e00\u6279\u51bb\u7ed3\u4ed3\u5e93\u4e0e\u9a8c\u6536\u6d4b\u8bd5&#xff0c;\u5bf9\u6bd4\u4e09\u79cd\u4e0a\u4e0b\u6587\u7b56\u7565&#xff1a;A \u7ec4&#034;\u5168\u5386\u53f2&#034;&#xff0c;\u6bcf\u8f6e\u643a\u5e26\u5b8c\u6574\u6d88\u606f&#xff1b;B \u7ec4&#034;\u7a33\u5b9a\u524d\u7f00\u52a0\u589e\u91cf&#034;&#xff0c;\u7ec4\u5408\u7a33\u5b9a\u524d\u7f00\u3001\u7248\u672c\u5316\u5de5\u4f5c\u72b6\u6001\u548c\u589e\u91cf\u540e\u7f00&#xff1b;C \u7ec4&#034;\u68c0\u7d22\u52a0\u77ed\u5386\u53f2&#034;&#xff0c;\u53ea\u4fdd\u7559\u7a33\u5b9a\u7b56\u7565\u4e0e\u77ed\u5386\u53f2&#xff0c;\u5176\u4f59\u4ee3\u7801\u8bc1\u636e\u901a\u8fc7\u68c0\u7d22\u6309\u9700\u6ce8\u5165\u3002<\/p>\n<p>\u4efb\u52a1\u96c6\u5efa\u8bae\u5305\u542b 24 \u4e2a\u4efb\u52a1&#xff1a;8 \u4e2a\u5355\u6587\u4ef6\u6216\u5c0f\u529f\u80fd\u4efb\u52a1\u30018 \u4e2a\u8de8\u6a21\u5757\u4fee\u6539\u30018 \u4e2a\u957f\u94fe\u8def\u4efb\u52a1\u3002\u6bcf\u7ec4\u90fd\u8981\u5305\u542b\u663e\u5f0f\u7ea6\u675f\u9677\u9631&#xff0c;\u4f8b\u5982\u7981\u6b62\u6539\u67d0\u76ee\u5f55\u3001\u5fc5\u987b\u590d\u7528\u65e2\u6709\u63a5\u53e3\u3001\u53ea\u80fd\u8c03\u7528\u53ea\u8bfb\u5de5\u5177\u3002\u6bcf\u4e2a\u4efb\u52a1\u56fa\u5b9a commit\u3001\u4f9d\u8d56\u3001\u6d4b\u8bd5\u547d\u4ee4\u548c\u9a8c\u6536\u811a\u672c&#xff1b;\u6bcf\u79cd\u7b56\u7565\u72ec\u7acb\u8fd0\u884c 5 \u6b21&#xff0c;\u5171 360 \u6761\u4efb\u52a1\u8f68\u8ff9\u3002\u7531\u4e8e K3 \u7684\u91c7\u6837\u53c2\u6570\u5e76\u975e\u90fd\u53ef\u81ea\u7531\u8bbe\u4e3a\u96f6&#xff0c;\u5e94\u901a\u8fc7\u91cd\u590d\u3001\u968f\u673a\u5316\u8fd0\u884c\u987a\u5e8f\u548c\u76f8\u540c\u65f6\u95f4\u7a97\u964d\u4f4e\u5076\u7136\u6027&#xff0c;\u800c\u4e0d\u662f\u62ff\u4e00\u6b21\u7ed3\u679c\u4e0b\u7ed3\u8bba\u3002&#xff08;S6&#xff09;<\/p>\n<p>\u4e00\u6b21\u6210\u529f\u5fc5\u987b\u540c\u65f6\u6ee1\u8db3&#xff1a;\u76ee\u6807\u6d4b\u8bd5\u901a\u8fc7&#xff1b;\u65e0\u7981\u6b62\u6587\u4ef6\u6539\u52a8&#xff1b;\u5de5\u5177\u6743\u9650\u4e0e\u526f\u4f5c\u7528\u5408\u89c4&#xff1b;\u8865\u4e01\u80fd\u591f\u4ece\u5e72\u51c0\u5feb\u7167\u590d\u73b0&#xff1b;\u4efb\u52a1\u6ca1\u6709\u4f9d\u8d56\u4eba\u5de5\u8865\u5199\u88ab\u9057\u6f0f\u7684\u539f\u59cb\u7ea6\u675f\u3002\u9519\u8bef\u5206\u7c7b\u81f3\u5c11\u5305\u62ec\u7ea6\u675f\u4e22\u5931\u3001\u4ed3\u5e93\u72b6\u6001\u8fc7\u671f\u3001\u6458\u8981\u9057\u6f0f\u3001\u5de5\u5177\u5951\u7ea6\u4e0d\u5339\u914d\u3001\u4e0a\u4e0b\u6587\u6ea2\u51fa\u6216 compact \u5931\u8d25\u3001\u91cd\u590d\u8bfb\u53d6\u6216\u5faa\u73af\u3001\u529f\u80fd\u5931\u8d25\u3002<\/p>\n<p>\u6bcf\u6761\u8f68\u8ff9\u8bb0\u5f55\u7aef\u5230\u7aef\u8017\u65f6\u548c TTFT \u7684 P50\/P95\u3001\u8f93\u5165\u4e0e\u8f93\u51fa token\u3001cached_tokens\u3001\u8ba1\u7b97\u5f97\u5230\u7684 miss tokens\u3001\u7f13\u5b58\u547d\u4e2d\u7387\u3001\u603b\u6210\u672c\u3001\u6bcf\u6210\u529f\u4efb\u52a1\u6210\u672c\u3001\u91cd\u590d\u6587\u4ef6\u8bfb\u53d6\u5b57\u8282\u6570\u3001\u5de5\u5177\u8c03\u7528\u6b21\u6570\u3001compact \u6b21\u6570\u548c\u5931\u8d25\u6062\u590d\u6b21\u6570\u3002A\/B\/C \u4e09\u7ec4\u5fc5\u987b\u4f7f\u7528\u540c\u4e00 Open Platform \u6a21\u578b ID \u4e0e effort&#xff0c;\u4e0d\u80fd\u628a kimi-k3 \u7684\u7f8e\u5143\u6210\u672c\u548c Kimi Code \u4f1a\u5458\u989d\u5ea6\u6df7\u5728\u4e00\u5f20\u8868\u91cc\u3002<\/p>\n<p>\u53e6\u505a\u4e00\u7ec4 Kimi Code \u6545\u969c\u6ce8\u5165&#xff1a;\u5728\u56fa\u5b9a Session \u4e2d\u5206\u522b\u6267\u884c effort \u5207\u6362\u3001k3\u2192k3-256k\u3001k3-256k\u2192k3\u3001\u81ea\u52a8 compact \u548c\u624b\u52a8 compact\u3002\u8bb0\u5f55\u5ba2\u6237\u7aef\u7248\u672c\u3001\u5207\u6362\u65b9\u5411\u3001\u538b\u7f29\u524d\u540e\u7ea6\u675f\u53ec\u56de\u548c\u5b9e\u9645\u989d\u5ea6\u53d8\u5316&#xff0c;\u7528\u6765\u9a8c\u8bc1\u5f53\u524d\u6587\u6863\u4e2d\u7684\u901a\u7528\u89c4\u5219\u4e0e\u9650\u5b9a\u4f8b\u5916\u3002\u8fd9\u91cc\u540c\u6837\u53ea\u62a5\u544a\u5b9e\u6d4b&#xff0c;\u4e0d\u9884\u586b&#034;B \u7ec4\u4e00\u5b9a\u6700\u597d&#034;\u4e4b\u7c7b\u7ed3\u8bba\u3002<\/p>\n<h3>\u4e03\u3001\u6700\u540e\u628a\u9009\u62e9\u5199\u6210\u5de5\u7a0b\u89c4\u5219<\/h3>\n<p>\u4f18\u5148\u4f7f\u7528 256K&#xff1a;\u5f53\u7ecf\u8fc7\u68c0\u7d22\u540e\u7684\u6709\u6548\u5de5\u4f5c\u96c6\u3001\u77ed\u5386\u53f2\u548c\u9884\u7559\u8f93\u51fa\u7a7a\u95f4\u7a33\u5b9a\u843d\u5728 256K \u5185&#xff0c;\u4efb\u52a1\u662f\u65e5\u5e38\u95ee\u7b54\u3001\u8865\u5168\u3001\u5e38\u89c4\u529f\u80fd\u5f00\u53d1\u6216\u5c11\u91cf\u6587\u4ef6\u4fee\u6539\u65f6&#xff0c;256K \u5e94\u662f\u9ed8\u8ba4\u6863\u3002Kimi Code \u5b98\u65b9\u4e5f\u628a k3-256k \u5b9a\u4f4d\u5728\u8fd9\u4e9b\u573a\u666f&#xff0c;\u5e76\u63d0\u9192\u5176\u4e0d\u652f\u6301\u89c6\u9891\u8f93\u5165\u3002&#xff08;S8&#xff09;<\/p>\n<p>\u5347\u7ea7\u5230 1M&#xff1a;\u5f53\u8de8\u6a21\u5757\u8fc1\u79fb\u3001\u957f\u6d4b\u8bd5\u8bc1\u636e\u3001\u5927\u91cf\u76f8\u4e92\u4f9d\u8d56\u6587\u4ef6\u6216\u65e0\u6cd5\u5b89\u5168\u538b\u7f29\u7684\u51b3\u7b56\u94fe\u786e\u5b9e\u8d85\u8fc7 256K \u65f6&#xff0c;\u518d\u5347\u7ea7\u5230 1M\u3002\u5347\u7ea7\u4f9d\u636e\u5e94\u662f\u8d26\u672c\u91cc\u7684 working-set \u4f30\u7b97\u548c\u5386\u53f2\u5931\u8d25\u8bc1\u636e&#xff0c;\u800c\u4e0d\u662f&#034;\u7a97\u53e3\u8d8a\u5927\u8d8a\u806a\u660e&#034;\u3002\u63a5\u8fd1 256K \u4e14\u538b\u7f29\u53ef\u80fd\u4e22\u5931\u5173\u952e\u8bc1\u636e\u65f6&#xff0c;Kimi Code \u6587\u6863\u5141\u8bb8\u76f4\u63a5\u4ece k3-256k \u5347\u5230 k3&#xff1b;\u4f46\u4ecd\u8981\u8bb0\u5f55\u5ba2\u6237\u7aef\u7248\u672c\u5e76\u9a8c\u8bc1\u5b9e\u9645\u7f13\u5b58\u7ed3\u679c\u3002&#xff08;S8&#xff09;<\/p>\n<p>\u65b0\u5efa Session&#xff1a;\u6a21\u578b ID \u6216 effort \u8981\u6539\u53d8\u3001\u4efb\u52a1\u76ee\u6807\u5df2\u7ecf\u5207\u6362\u3001\u7b56\u7565\u7248\u672c\u6539\u53d8\u3001\u4ed3\u5e93\u57fa\u7ebf\u5927\u5e45\u53d8\u5316&#xff0c;\u6216\u8005\u73b0\u6709\u6458\u8981\u65e0\u6cd5\u901a\u8fc7\u7ea6\u675f\u6821\u9a8c\u65f6&#xff0c;\u5e94\u65b0\u5efa Session\u3002Kimi Code \u5bf9\u6a21\u578b\u4e0e effort \u5207\u6362\u4e5f\u660e\u786e\u5efa\u8bae \/new&#xff0c;\u4ee5\u907f\u514d\u65e7\u7f13\u5b58\u5931\u6548\u540e\u7684\u989d\u5916\u6d88\u8017\u3002&#xff08;S8\u3001S9&#xff09;<\/p>\n<p>\u6267\u884c compact&#xff1a;\u540c\u4e00\u4efb\u52a1\u3001\u540c\u4e00\u6a21\u578b\u4e0b&#xff0c;\u65e9\u671f\u5386\u53f2\u5927\u591a\u5df2\u6536\u655b\u4e14\u53ef\u88ab\u7ed3\u6784\u5316\u72b6\u6001\u66ff\u4ee3\u65f6\u53ef\u4ee5 compact&#xff1b;\u4ece 1M \u964d\u5230 256K \u524d&#xff0c;\u82e5\u4f1a\u8bdd\u8d85\u9650&#xff0c;\u4e5f\u5e94\u5148\u663e\u5f0f compact\u3002\u538b\u7f29\u524d\u5fc5\u987b\u751f\u6210\u4fdd\u7559\u6e05\u5355&#xff0c;\u538b\u7f29\u540e\u8fd0\u884c\u7ea6\u675f\u3001\u8ba1\u5212\u3001\u672a\u5b8c\u6210 todo \u548c\u5173\u952e\u8bc1\u636e\u7684\u81ea\u52a8\u6821\u9a8c\u3002\u6ca1\u6709\u6821\u9a8c\u7684\u6458\u8981\u4e0d\u80fd\u6210\u4e3a\u65b0\u7684\u4e8b\u5b9e\u6e90\u3002<\/p>\n<p>\u91cd\u65b0\u6784\u5efa\u4e0a\u4e0b\u6587&#xff1a;\u53ea\u8981 policy_hash\u3001repo_snapshot\u3001tool_schema_hash \u6216 summary_hash \u4e0e\u9884\u671f\u4e0d\u7b26&#xff1b;\u68c0\u7d22\u7d22\u5f15\u843d\u540e&#xff1b;\u5de5\u5177\u8bed\u4e49\u5347\u7ea7&#xff1b;\u8de8\u6a21\u578b\u5386\u53f2\u7ed3\u6784\u4e0d\u517c\u5bb9&#xff1b;\u6216\u8005 cache hit \u5f88\u9ad8\u4f46\u6b63\u786e\u6027 canary \u5931\u8d25&#xff0c;\u5c31\u5e94\u653e\u5f03\u590d\u7528&#xff0c;\u6309\u6743\u5a01\u6765\u6e90\u91cd\u65b0\u6784\u5efa\u4e09\u5c42\u4e0a\u4e0b\u6587\u3002<\/p>\n<p>\u6700\u7ec8&#xff0c;Context Ledger \u7684\u76ee\u6807\u4e0d\u662f\u8ffd\u6c42\u6700\u9ad8\u7f13\u5b58\u547d\u4e2d\u7387&#xff0c;\u4e5f\u4e0d\u662f\u8ba9\u6bcf\u4e2a Session \u5c3d\u53ef\u80fd\u957f\u3002\u5b83\u8981\u8ba9\u56e2\u961f\u80fd\u56de\u7b54&#xff1a;\u4e00\u6b21\u4efb\u52a1\u4e3a\u4ec0\u4e48\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u54ea\u6bb5\u72b6\u6001\u88ab\u538b\u7f29\u6216\u8fc7\u671f&#xff0c;\u54ea\u6b21\u5207\u6362\u5bfc\u81f4 re-prefill&#xff0c;\u91cd\u590d\u8bfb\u53d6\u6d6a\u8d39\u4e86\u591a\u5c11&#xff0c;\u6269\u5927\u7a97\u53e3\u662f\u5426\u771f\u6b63\u6539\u5584\u4e86\u6bcf\u6210\u529f\u4efb\u52a1\u6210\u672c\u3002<\/p>\n<p>1M Context \u7ed9\u4e86 Agent \u66f4\u5927\u7684\u5de5\u4f5c\u53f0&#xff0c;\u4f46\u4e0d\u4f1a\u66ff\u4f60\u6574\u7406\u5de5\u4f5c\u53f0\u3002\u53ea\u6709\u628a\u6a21\u578b\u3001\u7b56\u7565\u3001\u4ed3\u5e93\u3001\u5de5\u5177\u3001\u5386\u53f2\u3001\u6458\u8981\u3001\u7f13\u5b58\u4e0e\u7ed3\u679c\u7edf\u4e00\u8bb0\u8d26&#xff0c;\u957f\u4e0a\u4e0b\u6587\u624d\u4ece\u4e00\u4e2a\u5bb9\u91cf\u5356\u70b9&#xff0c;\u53d8\u6210\u53ef\u4ee5\u590d\u73b0\u3001\u6bd4\u8f83\u548c\u6cbb\u7406\u7684\u751f\u4ea7\u80fd\u529b\u3002<\/p>\n<h3>FAQ<\/h3>\n<h4>Context Ledger \u662f\u53e6\u4e00\u4efd\u804a\u5929\u8bb0\u5f55\u5417&#xff1f;<\/h4>\n<p>\u4e0d\u662f\u3002\u5b83\u8bb0\u5f55\u8bf7\u6c42\u4f9d\u8d56\u7684\u72b6\u6001\u7248\u672c\u3001\u54c8\u5e0c\u3001\u538b\u7f29\u8fb9\u754c\u3001\u7f13\u5b58\u4e0e\u7ed3\u679c&#xff0c;\u7528\u4e8e\u91cd\u653e\u548c\u5f52\u56e0\u3002<\/p>\n<h4>Cache Hit \u4e3a\u4ec0\u4e48\u4e0d\u80fd\u8bc1\u660e\u4e0a\u4e0b\u6587\u6b63\u786e&#xff1f;<\/h4>\n<p>\u5b83\u53ea\u8bc1\u660e\u524d\u7f00\u8ba1\u7b97\u88ab\u590d\u7528&#xff0c;\u65e0\u6cd5\u8bc1\u660e\u6458\u8981\u5b8c\u6574\u3001\u4ed3\u5e93\u672a\u6f02\u79fb\u6216\u4efb\u52a1\u6388\u6743\u4ecd\u6709\u6548\u3002<\/p>\n<h4>\u5148\u4e0a 1M \u8fd8\u662f\u5148\u505a\u8d26\u672c&#xff1f;<\/h4>\n<p>\u4e8c\u8005\u89e3\u51b3\u4e0d\u540c\u95ee\u9898&#xff1b;\u5373\u4f7f\u4f7f\u7528 1M&#xff0c;\u4e5f\u5e94\u5148\u6709\u6700\u5c0f\u8d26\u672c&#xff0c;\u5426\u5219\u9519\u8bef\u4e0e\u6210\u672c\u90fd\u96be\u4ee5\u89e3\u91ca\u3002<\/p>\n<hr \/>\n<h3>\u9519\u8bef\u901f\u67e5\u5361<\/h3>\n<table>\n<tr>\u75c7\u72b6\u6839\u56e0\u5b9a\u4f4d\u4fee\u590d<\/tr>\n<tbody>\n<tr>\n<td>cache hit 80% \u4f46\u7b54\u6848\u660e\u663e\u8fdd\u53cd\u539f\u59cb\u7ea6\u675f<\/td>\n<td>\u6458\u8981\u9057\u6f0f\u4e86\u4e0d\u53ef\u8fdd\u53cd\u7684\u7ea6\u675f&#xff0c;\u7f13\u5b58\u8d8a\u9ad8\u6548\u4f20\u64ad\u8d8a\u5feb<\/td>\n<td>\u68c0\u67e5 summary_hash \u5bf9\u5e94\u6458\u8981\u7684\u7ea6\u675f\u6e05\u5355\u662f\u5426\u5b8c\u6574&#xff0c;\u5b9a\u4f4d compact \u524d\u7684\u6e90\u5386\u53f2<\/td>\n<td>\u6458\u8981\u751f\u6210\u540e\u8dd1\u7ea6\u675f\/\u8ba1\u5212\/todo \u6821\u9a8c&#xff1b;\u672a\u901a\u8fc7\u5219\u4e0d\u4f5c\u4e3a\u65b0\u7684\u4e8b\u5b9e\u6e90&#xff1b;\u8d26\u672c\u8bb0\u5f55 validator \u5931\u8d25\u539f\u56e0<\/td>\n<\/tr>\n<tr>\n<td>\u5207\u6362 k3 \u2192 k3-256k \u540e\u957f\u524d\u7f00\u88ab\u91cd\u65b0 prefill&#xff0c;\u8d26\u5355\u7a81\u589e<\/td>\n<td>\u5ba2\u6237\u7aef\u5347\u7ea7\u3001\u6a21\u578b ID \u6216 effort \u6539\u53d8\u4f7f prompt cache \u5931\u6548<\/td>\n<td>\u67e5\u8d26\u672c model_id \/ reasoning_effort \/ client_version \u4e0e cached_tokens \u8df3\u53d8\u70b9<\/td>\n<td>\u8de8\u6863\u5207\u6362\u6309\u5b98\u65b9\u5efa\u8bae\u5148 \/new&#xff1b;\u8bb0\u5f55\u5207\u6362\u65b9\u5411&#xff1b;\u628a hit \u9aa4\u964d\u5f52\u56e0\u4e3a&#034;\u4ee3\u9645\u5207\u6362&#034;\u800c\u4e0d\u662f&#034;\u7f13\u5b58\u7b56\u7565\u9519&#034;<\/td>\n<\/tr>\n<tr>\n<td>\u540c\u4e00\u4ed3\u5e93\u4e0d\u540c Session \u4e0b\u884c\u4e3a\u4e0d\u4e00\u81f4<\/td>\n<td>repo_snapshot \u6ca1\u7ed1\u5b9a\u5386\u53f2\u9605\u8bfb\u7ed3\u679c&#xff0c;\u6a21\u578b\u8bfb\u5230\u7684\u662f\u8fc7\u671f\u6587\u4ef6<\/td>\n<td>\u8d26\u672c repo_snapshot \u5b57\u6bb5\u662f\u5426\u8bb0\u5f55 commit &#043; dirty diff &#043; \u4f9d\u8d56\u9501\u6587\u4ef6<\/td>\n<td>Harness \u5728 commit \u53d8\u5316\u6216 dirty \u6587\u4ef6\u53d8\u5316\u65f6\u5f3a\u5236\u91cd\u5efa\u4e0a\u4e0b\u6587&#xff1b;\u4e0d\u5141\u8bb8\u88f8 path \u5f15\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u8c03\u7528\u5de5\u5177\u65f6\u6536\u5230&#034;\u53c2\u6570\u4e0d\u5339\u914d&#034;\u6216&#034;\u6743\u9650\u62d2\u7edd&#034;<\/td>\n<td>Tool Schema \u6f02\u79fb&#xff0c;\u65e7\u4e0a\u4e0b\u6587\u8fd8\u5728\u7528\u65e7\u53c2\u6570 \/ \u65e7\u6743\u9650<\/td>\n<td>\u6bd4\u5bf9\u8d26\u672c tool_schema_hash \u4e0e Tool Registry \u5f53\u524d manifest<\/td>\n<td>\u5de5\u5177\u7248\u672c\/\u7aef\u70b9\/\u6743\u9650\u53d8\u5316\u65f6\u53ea\u91cd\u5efa\u7b2c\u4e00\u5c42\u7a33\u5b9a\u524d\u7f00&#xff1b;\u5e76\u628a\u53d8\u5316\u8bb0\u5165 manifest<\/td>\n<\/tr>\n<tr>\n<td>1M \u4e0a\u4e0b\u6587\u91cc\u6a21\u578b\u663e\u5f97&#034;\u5f88\u806a\u660e&#034;\u4f46\u4ecd\u8fdd\u53cd\u672c\u5730\u7ea6\u675f<\/td>\n<td>\u5bb9\u91cf\u6269\u5c55 \u2260 \u72b6\u6001\u7ba1\u7406&#xff1b;\u7ea6\u675f\u5728 compact \u4e2d\u88ab\u4e22\u5f03<\/td>\n<td>\u67e5\u8d26\u672c compact_event \u94fe&#xff1a;\u54ea\u4e00\u6b21\u538b\u7f29\u3001\u4ec0\u4e48\u89e6\u53d1\u3001\u4fdd\u7559\u6e05\u5355\u3001\u6821\u9a8c\u7ed3\u679c<\/td>\n<td>\u538b\u7f29\u524d\u751f\u6210 preserve_manifest&#xff1b;\u538b\u7f29\u540e\u8dd1\u7ea6\u675f\u6821\u9a8c&#xff1b;\u6821\u9a8c\u5931\u8d25\u5f3a\u5236\u4ece\u539f\u6587\u91cd\u5efa<\/td>\n<\/tr>\n<tr>\n<td>\u6bcf Session \u6210\u672c\u4e0b\u964d&#xff0c;\u4f46\u6bcf\u4e2a\u6210\u529f\u4efb\u52a1\u6210\u672c\u6ca1\u53d8<\/td>\n<td>\u5931\u8d25\u6210\u672c\u88ab\u65b0 Session \u9690\u85cf&#xff0c;\u6ca1\u6709\u4ee5 task_id \u5f52\u5e76<\/td>\n<td>\u8d26\u672c\u662f\u5426\u5728 task \u5c42\u628a\u540c\u4e00 task \u7684\u591a\u6b21 attempt \u5173\u8054<\/td>\n<td>\u4efb\u52a1\u5c42\u5f3a\u5236 task_id &#043; attempt_id&#xff1b;\u6309 task \u5f52\u5e76\u800c\u975e\u6309 Session \u5f52\u5e76<\/td>\n<\/tr>\n<tr>\n<td>\u56e2\u961f\u590d\u76d8\u65f6\u65e0\u6cd5\u56de\u7b54&#034;\u54ea\u6b21\u5207\u6362\u5bfc\u81f4 re-prefill&#034;<\/td>\n<td>\u8d26\u672c\u53ea\u8bb0 hit\/miss&#xff0c;\u6ca1\u8bb0\u4ee3\u9645 \/ \u5ba2\u6237\u7aef \/ \u5207\u6362\u65b9\u5411<\/td>\n<td>\u67e5\u8d26\u672c\u662f\u5426\u8bb0\u5f55 client_version\u3001model_id \u5207\u6362\u3001effort \u5207\u6362\u4e0e\u65b9\u5411<\/td>\n<td>\u589e\u52a0 context_identity &#061; hash(provider_surface &#043; model_id &#043; effort &#043; policy &#043; repo &#043; tool &#043; summary)&#xff1b;identity \u6539\u53d8\u5373\u91cd\u5efa\u8d26\u672c<\/td>\n<\/tr>\n<tr>\n<td>\u6458\u8981\u8bf4&#034;\u5df2\u5b8c\u6210\u652f\u4ed8\u6a21\u5757\u91cd\u6784&#034;&#xff0c;\u6a21\u578b\u4ee5\u4e3a\u5f53\u524d\u4efb\u52a1\u5c31\u662f\u8fd9\u4e2a<\/td>\n<td>compact \u65f6\u628a&#034;\u5f53\u524d\u76ee\u6807&#034;\u8bef\u664b\u5347\u4e3a&#034;\u5df2\u5b8c\u6210\u4e8b\u5b9e&#034;<\/td>\n<td>\u67e5 history_range \u4e0e summary_hash&#xff0c;\u5b9a\u4f4d\u6458\u8981\u751f\u6210\u65f6\u523b\u7684\u72b6\u6001<\/td>\n<td>\u6458\u8981\u91cc\u533a\u5206&#034;\u76ee\u6807&#034;\u4e0e&#034;\u5b8c\u6210\u4e8b\u5b9e&#034;&#xff1b;\u524d\u8005\u5fc5\u987b\u7ecf\u7ea6\u675f\/\u6d4b\u8bd5\/\u4eba\u5de5\u786e\u8ba4\u624d\u664b\u5347\u4e3a&#034;\u5b8c\u6210\u4e8b\u5b9e&#034;<\/td>\n<\/tr>\n<tr>\n<td>\u68c0\u7d22\u5230\u7684\u4ee3\u7801\u7247\u6bb5\u547d\u4e2d\u4f46\u5f15\u7528\u4e86\u5df2\u5220\u9664\u6587\u4ef6<\/td>\n<td>Repository Snapshot \u843d\u540e\u4e8e\u4ed3\u5e93&#xff0c;repo_snapshot \u4e0e working tree \u4e0d\u4e00\u81f4<\/td>\n<td>\u68c0\u7d22\u524d\u5f3a\u5236 rebase \u5230\u5f53\u524d repo_snapshot&#xff1b;\u68c0\u7d22\u7d22\u5f15\u843d\u540e\u65f6\u62d2\u7edd\u68c0\u7d22<\/td>\n<td>\u6bcf\u6b21 commit\u3001dirty \u6587\u4ef6\u53d8\u5316\u6216\u4f9d\u8d56\u9501\u6587\u4ef6\u53d8\u5316\u90fd\u5237\u65b0 snapshot&#xff1b;\u65e7\u6458\u8981\u6807\u6ce8 stale&#xff0c;\u7981\u6b62\u76f4\u63a5\u5582\u7ed9\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>Kimi Code \u4f1a\u5458\u989d\u5ea6\u4e0e Open Platform \u7f8e\u5143\u6210\u672c\u6df7\u7b97<\/td>\n<td>\u4e24\u4e2a\u4ea7\u54c1\u5165\u53e3\u7684 Key\/\u4f59\u989d\/\u8ba1\u8d39\u65b9\u5f0f\u4e0d\u901a\u7528<\/td>\n<td>\u67e5\u8d26\u672c provider_surface \u662f\u5426\u6b63\u786e\u533a\u5206<\/td>\n<td>Context Ledger \u5f3a\u5236\u5148\u8bb0 provider_surface \u518d\u8bb0 model_id&#xff1b;\u6210\u672c\u6309 surface \u5206\u8868\u8ba1\u7b97<\/td>\n<\/tr>\n<tr>\n<td>8 \u4e2a\u8de8\u6a21\u5757\u4efb\u52a1\u4e2d\u9891\u7e41\u8d85\u65f6\u3001TTFT \u6296\u52a8\u5927<\/td>\n<td>1M \u4e0a\u4e0b\u6587\u505a prefill \u62d6\u6162\u9996 token&#xff1b;\u4efb\u52a1\u5b9e\u9645\u4e0d\u9700\u8981 1M<\/td>\n<td>\u67e5\u8d26\u672c working-set \u4f30\u7b97&#xff1a;\u6709\u6548\u5de5\u4f5c\u96c6\u662f\u5426\u771f\u7684\u8d85\u8fc7 256K<\/td>\n<td>\u4f18\u5148\u7528 256K &#043; \u68c0\u7d22\u6ce8\u5165&#xff1b;\u53ea\u6709\u8d26\u672c\u663e\u793a working-set \u8d85\u8fc7 256K \u624d\u5347 1M<\/td>\n<\/tr>\n<tr>\n<td>\u540c\u4e00\u7ea6\u675f\u5728 5 \u8f6e compact \u540e\u88ab\u6084\u6084\u62b9\u6389<\/td>\n<td>compact \u662f\u6709\u635f\u72b6\u6001\u8fc1\u79fb&#xff0c;\u4f46\u65e5\u5fd7\u53ea\u8bb0 compacted&#061;true<\/td>\n<td>\u67e5 compaction_event \u662f\u5426\u8bb0\u5f55\u89e6\u53d1\u8005 \/ \u539f\u56e0 \/ \u6e90\u5386\u53f2 \/ \u4fdd\u7559\u6e05\u5355 \/ \u6821\u9a8c\u7ed3\u679c<\/td>\n<td>compact \u5fc5\u987b\u50cf\u6570\u636e\u5e93\u8fc1\u79fb\u4e00\u6837\u5ba1\u8ba1&#xff1b;\u4fdd\u7559\u6e05\u5355 &#043; \u6821\u9a8c &#043; \u6458\u8981\u54c8\u5e0c\u5168\u90e8\u8fdb\u8d26\u672c<\/td>\n<\/tr>\n<tr>\n<td>Harness \u5728\u4e0d\u540c\u9002\u914d\u5668\u4e4b\u95f4\u628a K3 \u90fd\u8bb0\u6210\u540c\u4e00\u4e2a<\/td>\n<td>\u6a21\u578b ID \u5728\u4e0d\u540c\u4ea7\u54c1\u5165\u53e3\u547d\u540d\u4e0d\u540c&#xff08;kimi-k3 \/ k3 \/ k3-256k \/ kimi-k3[1m]&#xff09;<\/td>\n<td>\u67e5\u8d26\u672c provider_surface \u4e0e model_id \u662f\u5426\u6210\u5bf9\u4fdd\u5b58<\/td>\n<td>\u8d26\u672c\u5b57\u6bb5\u5fc5\u987b\u6210\u5bf9&#xff1b;\u6062\u590d Session \u524d\u505a\u517c\u5bb9\u6027\u68c0\u67e5&#xff0c;\u4e0d\u76f2\u585e\u4e0a\u4e00\u6a21\u578b\u5386\u53f2<\/td>\n<\/tr>\n<tr>\n<td>\u4e00\u6b21\u4efb\u52a1\u5931\u8d25\u540e\u65b0\u5efa Session \u91cd\u8bd5&#xff0c;\u5ba1\u8ba1\u4e0a\u770b\u4e0d\u5230\u5173\u8054<\/td>\n<td>Session \u4e0e Attempt \u90fd\u88ab\u5f53\u6210\u72ec\u7acb\u4e8b\u4ef6<\/td>\n<td>\u67e5\u8d26\u672c\u662f\u5426\u4ee5 task_id \u5f52\u5e76 attempt<\/td>\n<td>\u4efb\u52a1\u5c42\u5f3a\u5236 task_id &#043; attempt_id&#xff1b;\u540c\u4e00 task \u7684\u6240\u6709 attempt \u5171\u4eab task \u7ea7\u6210\u672c\u4e0e\u7ed3\u679c\u6307\u6807<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>\u4f5c\u8005&#xff1a;\u6b66\u5b50\u5eb7\u7684\u4e2a\u4eba\u535a\u5ba2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1M Context \u4e5f\u4f1a\u5931\u5fc6&#xff1a;Coding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger<br \/>\nTL;DR<br \/>\n\u573a\u666f&#xff1a;1M Context \u89e3\u51b3\u5bb9\u91cf\u4e0a\u9650&#xff0c;\u5374\u4e0d\u80fd\u81ea\u52a8\u4fdd\u8bc1 compact \u540e\u7ea6\u675f\u4e0d\u4e22\u3001\u4ed3\u5e93\u4e0d\u6f02\u79fb\u3001prompt cache \u4ecd\u7136\u53ef\u7528\u3002\u7ed3\u8bba&#xff1a;Coding Agent \u5e94\u5efa\u7acb Context Ledger&#xff0c;\u628a Context Window\u3001Cache\u3001History\u3001Memory\u3001Reposit<\/p>\n","protected":false},"author":2,"featured_media":86277,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9097,74,3264,5058,75,2153],"topic":[],"class_list":["post-86283","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-9097","tag-agent","tag-claude","tag-codex","tag-llm","tag-openai"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/86283.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1M Context \u4e5f\u4f1a\u5931\u5fc6&#xff1a;Coding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger TL;DR \u573a\u666f&#xff1a;1M Context \u89e3\u51b3\u5bb9\u91cf\u4e0a\u9650&#xff0c;\u5374\u4e0d\u80fd\u81ea\u52a8\u4fdd\u8bc1 compact \u540e\u7ea6\u675f\u4e0d\u4e22\u3001\u4ed3\u5e93\u4e0d\u6f02\u79fb\u3001prompt cache \u4ecd\u7136\u53ef\u7528\u3002\u7ed3\u8bba&#xff1a;Coding Agent \u5e94\u5efa\u7acb Context Ledger&#xff0c;\u628a Context Window\u3001Cache\u3001History\u3001Memory\u3001Reposit\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/86283.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-28T03:56:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035636-6a68287471841.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/86283.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/86283.html\",\"name\":\"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-28T03:56:43+00:00\",\"dateModified\":\"2026-07-28T03:56:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/86283.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/86283.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/86283.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/86283.html","og_locale":"zh_CN","og_type":"article","og_title":"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1M Context \u4e5f\u4f1a\u5931\u5fc6&#xff1a;Coding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger TL;DR \u573a\u666f&#xff1a;1M Context \u89e3\u51b3\u5bb9\u91cf\u4e0a\u9650&#xff0c;\u5374\u4e0d\u80fd\u81ea\u52a8\u4fdd\u8bc1 compact \u540e\u7ea6\u675f\u4e0d\u4e22\u3001\u4ed3\u5e93\u4e0d\u6f02\u79fb\u3001prompt cache \u4ecd\u7136\u53ef\u7528\u3002\u7ed3\u8bba&#xff1a;Coding Agent \u5e94\u5efa\u7acb Context Ledger&#xff0c;\u628a Context Window\u3001Cache\u3001History\u3001Memory\u3001Reposit","og_url":"https:\/\/www.wsisp.com\/helps\/86283.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-28T03:56:43+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260728035636-6a68287471841.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/86283.html","url":"https:\/\/www.wsisp.com\/helps\/86283.html","name":"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-28T03:56:43+00:00","dateModified":"2026-07-28T03:56:43+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/86283.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/86283.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/86283.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"1M Context \u4e5f\u4f1a\u5931\u5fc6\uff1aCoding Agent \u4e3a\u4ec0\u4e48\u9700\u8981 Context Ledger"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/86283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=86283"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/86283\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/86277"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=86283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=86283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=86283"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=86283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}