<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>提示缓存 on Text Matrix</title><link>https://txtmix.com/tags/%E6%8F%90%E7%A4%BA%E7%BC%93%E5%AD%98/</link><description>Recent content in 提示缓存 on Text Matrix</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 21 Jul 2026 20:06:14 +0800</lastBuildDate><atom:link href="https://txtmix.com/tags/%E6%8F%90%E7%A4%BA%E7%BC%93%E5%AD%98/index.xml" rel="self" type="application/rss+xml"/><item><title>teamchong/pxpipe：把 Claude Code 上下文塞进 PNG，省下 70% token</title><link>https://txtmix.com/posts/tech/teamchong-pxpipe-png-image-context-compression/</link><pubDate>Wed, 08 Jul 2026 19:25:00 +0800</pubDate><guid>https://txtmix.com/posts/tech/teamchong-pxpipe-png-image-context-compression/</guid><description>&lt;h1 id="teamchongpxpipe把-claude-code-上下文塞进-png省下-70-token">teamchong/pxpipe：把 Claude Code 上下文塞进 PNG，省下 70% token&lt;/h1>
&lt;blockquote>
&lt;p>&lt;strong>GitHub&lt;/strong>: &lt;a href="https://github.com/teamchong/pxpipe" target="_blank" rel="noopener noreffer ">teamchong/pxpipe&lt;/a>
&lt;strong>Stars&lt;/strong>: 4,931 ⭐
&lt;strong>Forks&lt;/strong>: 391
&lt;strong>License&lt;/strong>: MIT
&lt;strong>核心语言&lt;/strong>: TypeScript
&lt;strong>首次提交&lt;/strong>: 2026-05-20&lt;/p>&lt;/blockquote>
&lt;p>第一眼看上去反直觉：把文字渲染成图片，再让视觉通道读回去。但 vision token 按像素面积计费，不按字符数——一张 1928×1928 的 PNG 装下 9.2 万字符、只收 4761 个 token；同样的字符按 text 走要 2.5 万 token。压缩比约 5×。&lt;/p></description></item></channel></rss>