{"uid":"cap_xMa4HWfKj8IpJYUXUR2Ch","slug":"agentdiet-llms-generator-context-window-distiller-83288a42","name":"AgentDiet LLMs Generator — Context Window Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/llms-generator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YR6MqydtdBnZmGSuAdeFW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses and distills LLM context windows by stripping bloat, reducing token usage by up to 85-91% while preserving semantic content","exampleAgentPrompt":"Compress this context window content using AgentDiet — I want to cut my token usage down as much as possible before sending it to my LLM, use a GET request with the URL pointing to my content.","exampleUseCases":[{"title":"Slash LLM API costs for long conversations","prompt":"My chat history is getting really long and my GPT-4 API costs are exploding — can you use AgentDiet to distill the context window so I'm only sending the essential tokens?"},{"title":"Fit oversized prompt into model context limit","prompt":"This document is too big for Claude's context window — can you run it through the AgentDiet context distiller to compress it until it fits, targeting maximum token reduction?"},{"title":"Reduce agent memory footprint before inference","prompt":"Before my AI agent makes its next call, I want to slim down its working memory context — use AgentDiet to strip the bloat and show me what compression ratio we achieved."}],"resultDescription":"A JSON response containing compressed/distilled context data under 'data', a status field ('ok'), and an 'roi_proof' object with a 'compression_ratio_pct' value (e.g. 91.4%) showing how much the context was reduced.","failureModes":["Missing or invalid 'input' object returns validation error","Invalid or unreachable URL in queryParams causes fetch failure","Unsupported HTTP method (not GET/POST) causes schema rejection","Payment not settled in USDC on Base results in 402 payment required","Empty or trivially small content may return minimal or no compression gain"],"whenToPreferThis":"Choose this endpoint when an AI agent or developer needs to reduce token count in LLM context windows before inference — especially when approaching model context limits, managing high-volume API costs, or operating in agent-to-agent (A2A) pipelines where context bloat accumulates. It is particularly suited for x402/L402 micropayment-native workflows settling in USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:03.905Z","isFirstParty":false,"canonicalSlug":"agentdiet-llms-generator-context-window-distiller-83288a42"}