{"id":98898,"title":"FlashCompact: A specialized model for context compaction","tagline":"33k tok/sec context compaction for coding agents","body":"We built **FlashCompact** because context compaction is one of the most broken parts of modern coding agents.\n\nRight now, compaction is:\n\n* slow (often 2+ minutes)\n* lossy (kills useful context)\n* expensive (wastes tokens and steps)\n\nSo people avoid it… and agents degrade over time.\n\n---\n\n![uploaded image](/media/?type=post\u0026id=98898\u0026key=user_uploads/405977/77e4cb4f-c326-4f2b-8602-2aca1e0fa9c3)\n\n\n### What we built\n\nA **specialized model for context compaction**:\n\n* **33,000 tokens/sec throughput**\n* **200k → 50k tokens in \\~1.5s**\n* Designed specifically for agent workflows, not general summarization\n\nCompaction should feel invisible. This actually does.\n\n---\n\n### Why this matters\n\nWe analyzed **200+ real agent sessions** across **40+ top coding agent harnesses**.\n\nThe core insight:\n\n\u003e Most context bloat comes from tool responses, not model generation.\n\nThat means naive summarization fails, because it compresses the wrong things.\n\nFlashCompact:\n\n* removes redundant tool output\n* preserves execution-relevant state\n* reduces context without hurting task performance\n\nResult:\n\n* no performance drop\n* fewer tokens\n* fewer steps\n\n---\n\n### The deeper point\n\nAgents don’t fail because models are weak.\n\nThey fail because their **context degrades over time**.\n\nIf you want agents to:\n\n* run longer\n* take more steps\n* stay coherent across complex tasks\n\nYou need **clean, compressed context**.\n\n\u003chttps://docs.morphllm.com/sdk/components/compact\u003e","slug":"Pj8-flashcompact-a-specialized-model-for-context-compaction","created_at":"2026-03-18T14:42:28.223Z","updated_at":"2026-05-24T19:39:17.604Z","total_vote_count":6,"url":"https://www.ycombinator.com/launches/Pj8-flashcompact-a-specialized-model-for-context-compaction","share_image_url":"//bookface-static.ycombinator.com/assets/ycdc/yc-og-image-c440a0ad1dacfb86eeeb343717479cc54d256614449b4ef719977a0a451f8bc8.png","company":{"id":29120,"name":"Morph","slug":"morph","url":"https://morphllm.com","logo":"https://bookface-images.s3.amazonaws.com/small_logos/dedc5ca68422aae62a4f58f3a0823d0903b71997.png","batch":"Summer 2023","industry":"B2B","tags":["Artificial Intelligence","Developer Tools","Generative AI","API","AI"],"search_path":"https://bookface.ycombinator.com/company/29120"}}