{"slug": "agent-token-spend-distribution-coding-versus-legal-work", "title": "Agent token spend distribution: coding versus legal work", "summary": "A token-spend breakdown comparing Cursor's coding agents with Lexifina's legal agents shows system and tool definitions consume 34.4% of Lexifina's spend versus 17% for Cursor, while Cursor allocates 20% to read-tool outputs and 18% to other tool outputs against Lexifina's 9.0% and 5.3%. Lexifina attributes its higher system-instruction share to more exhaustive user steering and cloud-based agents, and reports reasoning at 24.8% of spend versus Cursor's 10%. Lexifina says it keeps recurring instructions and tool descriptions in consistent order and uses cache boundaries to separate stable blocks from growing conversation to make context reusable.", "body_md": "# Agent token spend distribution: coding versus legal work\n\nCoding agents and legal agents work on documents with a very different composition. Coding functions can span multiple pages, have adverse effects, and complex dependencies. So can legal clauses and sections, but often in a very different way. For these tasks, we present some aggregate token consumptions, approximated by various usage bins.\n\n## Where agent spending goes\n\n| Source | Cursor | Lexifina | \n|---|---|---|\n| System & tool defs | 17% | 34.4% | \n| Read tool outputs | 20% | 9.0% | \n| Other tool outputs | 18% | 5.3% | \n| Tool call arguments | 21% | 17.6% | \n| Reasoning | 10% | 24.8% | \n| Skills & plugins | 8% | 7.1% | \n| Assistant text | 4% | 1.6% | \n| User text | 3% | 0.37% | \n\n## Some insights into this utilisation\n\nSystem instructions explain how the agent should work. Tool definitions describe the actions it can take and the information each action needs. Lexifina spends more on this, presumably to provide more exhaustive user steering, and because our agents are primarily cloud-based.\n\nLexifina loads some tool definitions on demand. Definitions available to the model still occupy space in its request, alongside system instructions. Caching can reduce the cost of reading that text again, but it also puts pressure on the active context width. Rather, many secondary and tertiary tool calls are \"delegated\", advertised and discoverable to the agent but not actively loaded into context.\n\nTool outputs include the information returned by an agent after an action. Cursor assigns 20% of spending to read-tool outputs and 18% to other tool outputs. Lexifina's corresponding shares here are 9.0% and 5.3%. The primary user action involves redlining (marking up a paragraph) rather than raw document generation, and coding also generally consumes more context outside of complex legal work.\n\nSkills and plugins account for 7.1% of spending here. A skill that is hard to discover can cause retries, so large definitions help the agent find the right action.\n\nFor Lexifina, useful efficiency means lower total cost across drafting, review, research, and matter summaries while preserving source coverage and reducing the corrections a lawyer must make. Time spent, failed actions, retries, and all delegated work belong in that assessment. A shorter request that leads to repeated repairs can cost more overall. In terms of raw token optimisation, we strive to make context reusable by keeping recurring instructions and tool descriptions in a consistent order, and by using cache boundaries to separate stable blocks from a growing conversation.", "url": "https://wpnews.pro/news/agent-token-spend-distribution-coding-versus-legal-work", "canonical_source": "https://lexifina.com/blog/agent-token-spend-distribution-coding-versus-legal-work", "published_at": "2026-09-28 23:24:25+00:00", "updated_at": "2026-09-28 23:47:38.278942+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "large-language-models", "ai-infrastructure"], "entities": ["Cursor", "Lexifina"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/agent-token-spend-distribution-coding-versus-legal-work", "markdown": "https://wpnews.pro/news/agent-token-spend-distribution-coding-versus-legal-work.md", "text": "https://wpnews.pro/news/agent-token-spend-distribution-coding-versus-legal-work.txt", "jsonld": "https://wpnews.pro/news/agent-token-spend-distribution-coding-versus-legal-work.jsonld"}}