liveBook · Manning

Context ballast

As explained in Vibe Engineering

Context ballast is irrelevant, redundant, or excessively broad information included in a model request that increases token use without helping the task.

Context ballast is irrelevant, redundant, or excessively broad information included in a model request. It consumes tokens without improving the result, turning many small, reasonable-looking choices into hidden production cost. section 9.1

Common forms of context ballast include:

  • Duplicating project structure and conventions already available in a README or codebase. section 9.1
  • Including an entire repository when a single file would answer the request. section 9.1
  • Allowing repeated overbroad requests to accumulate meaningful API cost. section 9.1

A small fix with oversized context

A CSS alignment question included 180,000 tokens of context and produced a three-line fix. The individual request cost little, but similar queries repeated throughout the day created substantial waste. section 9.1

Figure 9.1 The Cost Iceberg - visible subscriptions and API spend vs. hidden costs in AI-assisted development.

The cost iceberg places context ballast below visible subscriptions and direct API overage, alongside other hidden costs of AI-assisted development. section 9.1

How Vibe Engineering covers it

How deep it goes
Explains redundant and overbroad context with a concrete token example, but does not develop a reduction procedure.
Examples
Uses duplicated instructions, whole-repository prompts, and a 180,000-token CSS alignment request producing a three-line fix.
What you can do after
Diagnose unnecessary request tokens by comparing supplied context with the information the task actually requires.
How it connects
Connects context ballast to coding agents, API overage, developer wait time, and AI-assisted development.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Vibe Engineering. The section links point to the parts of the book it draws on.