[{"data":1,"prerenderedAt":290},["ShallowReactive",2],{"navigation":3,"\u002Fproviders\u002Fclaude":99,"\u002Fproviders\u002Fclaude-surround":285},[4,23,44,78],{"title":5,"path":6,"stem":7,"children":8,"icon":22},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"MCP Setup","\u002Fgetting-started\u002Fmcp-setup","1.getting-started\u002F3.mcp-setup","i-lucide-plug","i-lucide-rocket",{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":43},"CLI","i-lucide-terminal","\u002Fcli","2.cli",[29,33,38],{"title":30,"path":31,"stem":32,"icon":25},"Usage","\u002Fcli\u002Fusage","2.cli\u002F1.usage",{"title":34,"path":35,"stem":36,"icon":37},"Options","\u002Fcli\u002Foptions","2.cli\u002F2.options","i-lucide-sliders-horizontal",{"title":39,"path":40,"stem":41,"icon":42},"Batch & JSON","\u002Fcli\u002Fbatch-json","2.cli\u002F3.batch-json","i-lucide-package",false,{"title":45,"icon":46,"path":47,"stem":48,"children":49,"page":43},"Providers","i-lucide-cpu","\u002Fproviders","3.providers",[50,55,60,65,70,74],{"title":51,"path":52,"stem":53,"icon":54},"Claude (Area-Based)","\u002Fproviders\u002Fclaude","3.providers\u002F1.claude","i-lucide-square",{"title":56,"path":57,"stem":58,"icon":59},"GPT-4o & GPT-5 (Tiling)","\u002Fproviders\u002Fgpt","3.providers\u002F2.gpt","i-lucide-grid-2x2",{"title":61,"path":62,"stem":63,"icon":64},"Gemini (Large Tiles)","\u002Fproviders\u002Fgemini","3.providers\u002F3.gemini","i-lucide-grid-3x3",{"title":66,"path":67,"stem":68,"icon":69},"Llama Vision (Tiles)","\u002Fproviders\u002Fllama","3.providers\u002F4.llama","i-simple-icons-meta",{"title":71,"path":72,"stem":73,"icon":64},"Qwen-VL (Patch Grid)","\u002Fproviders\u002Fqwen","3.providers\u002F5.qwen",{"title":75,"path":76,"stem":77,"icon":59},"DeepSeek-VL (Open Weights)","\u002Fproviders\u002Fdeepseek","3.providers\u002F6.deepseek",{"title":79,"icon":80,"path":81,"stem":82,"children":83,"page":43},"Guides","i-lucide-book-open","\u002Fguides","4.guides",[84,89,94],{"title":85,"path":86,"stem":87,"icon":88},"Python Bindings","\u002Fguides\u002Fpython-bindings","4.guides\u002F1.python-bindings","i-lucide-file-code",{"title":90,"path":91,"stem":92,"icon":93},"Sandbox (Think in Code)","\u002Fguides\u002Fsandbox","4.guides\u002F2.sandbox","i-lucide-flask-conical",{"title":95,"path":96,"stem":97,"icon":98},"Crawler Integration","\u002Fguides\u002Fcrawler-integration","4.guides\u002F3.crawler-integration","i-lucide-globe",{"id":100,"title":51,"body":101,"description":278,"extension":279,"links":280,"meta":281,"navigation":282,"path":52,"seo":283,"stem":53,"__hash__":284},"docs\u002F3.providers\u002F1.claude.md",{"type":102,"value":103,"toc":272},"minimark",[104,109,118,129,132,136,143,159,162,189,193,196,254,257,268],[105,106,108],"h2",{"id":107},"how-claude-bills-images","How Claude bills images",[110,111,112,113,117],"p",{},"Claude (Anthropic) bills images by ",[114,115,116],"strong",{},"pixel area",", not tiles:",[119,120,125],"pre",{"className":121,"code":123,"language":124},[122],"language-text","tokens ≈ (Width × Height) \u002F 750\n","text",[126,127,123],"code",{"__ignoreMap":128},"",[110,130,131],{},"There is no tile grid to snap to — every single pixel of the image, including solid-color padding, contributes directly to the token count.",[105,133,135],{"id":134},"optimization-strategy","Optimization strategy",[110,137,138,139,142],{},"Because cost scales with raw area, the winning move is to ",[114,140,141],{},"maximize useful resolution while minimizing pixel count",":",[144,145,146,153],"ol",{},[147,148,149,152],"li",{},[114,150,151],{},"Strip all non-essential padding."," Solid borders are pure waste under area billing.",[147,154,155,158],{},[114,156,157],{},"Snap-down resize"," only when the image exceeds what the task needs.",[110,160,161],{},"VisionSqueezer aggressively crops solid borders and preserves the high-information region, shaving thousands of tokens without downscaling the content that matters.",[119,163,168],{"className":164,"code":165,"filename":166,"language":167,"meta":128,"style":128},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","vision-squeezer screenshot.png --model claude\n","Terminal","bash",[126,169,170],{"__ignoreMap":128},[171,172,175,179,183,186],"span",{"class":173,"line":174},"line",1,[171,176,178],{"class":177},"sBMFI","vision-squeezer",[171,180,182],{"class":181},"sfazB"," screenshot.png",[171,184,185],{"class":181}," --model",[171,187,188],{"class":181}," claude\n",[105,190,192],{"id":191},"example","Example",[110,194,195],{},"A standard 2400×1670 screenshot targeted at Claude:",[197,198,199,215],"table",{},[200,201,202],"thead",{},[203,204,205,209,212],"tr",{},[206,207,208],"th",{},"Metric",[206,210,211],{},"Before",[206,213,214],{},"After",[216,217,218,230,241],"tbody",{},[203,219,220,224,227],{},[221,222,223],"td",{},"Resolution",[221,225,226],{},"2400×1670",[221,228,229],{},"2304×1536",[203,231,232,235,238],{},[221,233,234],{},"Tokens",[221,236,237],{},"5,344",[221,239,240],{},"4,718",[203,242,243,246,249],{},[221,244,245],{},"Savings",[221,247,248],{},"—",[221,250,251],{},[114,252,253],{},"626 tokens (-11.7%)",[110,255,256],{},"By targeting Claude, Squeezer preserves the massive 2304×1536 resolution and solely trims solid padding — minimizing token cost via the area-based formula rather than throwing away detail.",[258,259,261],"callout",{"icon":260},"i-lucide-lightbulb",[110,262,263,264,267],{},"For screenshots with solid borders, the default corner-tolerance crop is ideal. For photographic content, add ",[126,265,266],{},"--smart-crop",".",[269,270,271],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":128,"searchDepth":174,"depth":273,"links":274},2,[275,276,277],{"id":107,"depth":273,"text":108},{"id":134,"depth":273,"text":135},{"id":191,"depth":273,"text":192},"How Anthropic Claude bills image tokens and how VisionSqueezer minimizes area cost.","md",null,{},{"icon":54},{"title":51,"description":278},"BXegOSssxDmkiAbK4YQow-c3p_717tQtjtNjEKn_EAM",[286,288],{"title":39,"path":40,"stem":41,"description":287,"icon":42,"children":-1},"Squeeze whole directory trees and emit structured output for pipelines.",{"title":56,"path":57,"stem":58,"description":289,"icon":59,"children":-1},"How OpenAI tiles images and how VisionSqueezer avoids spill-over tiles.",1782053692263]