metaphor
PricingBlogsModels
How coding agents use tools

November 2026 · Husain Ghadiali

A tool call analysis deep dive

An internal experiment to analyze the functioning of the tool selection and its produced results.

When less context costs more

October 2026 · Husain Ghadiali

We built a smarter compaction for Metaphor. It didn’t make it cheaper

Long horizon coding agents accumulate large amounts of context in the form of conversational history, tool call results, code chunks, and system instructions. Semantic compaction reduced the working context measurably, while it cost more to complete tasks.

Beyond the context window

June 2026 · Husain Ghadiali

The Context Window Evolution and What Comes Next

We have come a long way from a context window of ~4k tokens to 1M+. But as we look closer in the agentic coding space, it becomes apparent where the 1M+ token context window doesn't serve us in the way we thought.