# 29.4 The binding constraint, and writing the justification (/building-ai-workers/model-selection-and-cost/the-binding-constraint)

---
type: Document
title: "29.4 The binding constraint, and writing the justification"
description: "The one requirement a cheaper choice must still meet for each step, and the one line per step that records the choice and its evidence."
status: stable
order: 329.04
ksor:
  owner: team:panaversity
  audience:
    - public
  approval:
    by: process:panaversity
    at: 2026-11-30T10:58:07Z
chapter: '29'
part: III
expert_status: manager
concepts: [ "29.4" ]
last_verified: '2026-11-30'

sources:
  - id: anthropic-cost-and-intelligence
    title: Optimizing for cost and intelligence, Anthropic (verified 2026-11-30)
    resource: https://platform.claude.com/docs/en/about-claude/models/optimizing-for-cost-and-intelligence
generated:
  at: 2026-11-30T10:58:07Z
  by: esl-rewrite/1.2.0+ksor.1
trust_tier: unverified
build_id: sha256:d6ce3f28a2cf8e492a60bae1b426b7cc6466e35e83d70c3b9763db2c55009f4b
dirty: true
ksor_version: 0.0.60
---

**In everyday life.** You travel to a cousin's wedding in another city. You want the trip to be cheap, short and comfortable. But one wish decides. You must arrive before the ceremony at 4:00 p.m. A bus that costs half and arrives at 5:00 is no saving at all. Once the 4:00 arrival is safe, you take the cheapest way that still makes it. In this section, the 4:00 arrival is the binding constraint. The note you leave for your family is the justification. It says "the 9:00 train, because the bus arrives too late".

**What you will learn.** You practice this in Lab 29, Task 4, when you write the extraction's line, and in Task 1, for the other steps.

- What is a binding constraint?
- What binds each of Brightline's steps?
- How do you write the choice down?
- When does a line change?

**Why it matters.** Every step wants to be cheap, fast and right. A choice that tries to serve all three serves none of them clearly. Name the one requirement the cheaper choice must still meet, and the choice becomes a test that anyone can repeat.

**At work.** Tuesday, May 11, 2027, 2:30 p.m. Dave Kowalski will ask why each step runs on the model it does. "It is the smart one" is not an answer he can check. You open `docs/cost-report.md` and add a table, one line per step.

### What is a binding constraint?

**It is the one requirement a cheaper choice must still meet, the one that stops you from going cheaper.** A step has many wishes. Most of them can give a little. One cannot, and that one decides. Once it is met, the cheapest choice that still meets it wins. If every choice meets a requirement easily, that requirement does not bind. It decides nothing.

The constraint belongs to the step and the kind of change. A change to the output, such as a tier, can break quality. A change to the timing, such as a batch, cannot change the answers, but it can make them late. So it is checked against the deadline, never sent to the suite.

### What binds each of Brightline's steps?

**Quality for the extraction, the 7:10 deadline for its batch, and a dollar budget for the triage.**

| Step | Binding constraint | How it is checked |
| --- | --- | --- |
| The extraction | Quality: its 16 suite cases, and the week's gate counts | The keep rule of [29.3](tiers.md), then the next week's 7:10 reports |
| The extraction, sent as a batch | The deadline: every result by 7:10 | The batch's measured delay, and the 6:45 rule of [29.8](realtime-or-batch.md) |
| The morning triage | The budget: $0.50 a session | The session's reported usage, and the check by code of [23.16](../hosted-agents/loops-check-feedback-and-stop.md) |
| The month-end review | The budget: $1.00 a review | Its reported usage, and Lab 26's check |
| Ana's portal questions | Quality: the suite's 26 question cases | The suite alone, because no live check marks her answers |

The triage shows why a budget can bind. Its session has a hard dollar cap. At the cap the session pauses with the stop reason `budget_reached`,[^anthropic-cost-and-intelligence] and the morning report is not finished ([23.5](../hosted-agents/a-budget-on-every-run.md)). A higher tier or a higher effort that pushes a normal morning past $0.50 fails, whatever it does to quality.

<!-- EDITOR: the brief names three constraints (the extraction, the batch, the triage). This section adds rows for the month-end review (its $1.00 budget) and Ana's portal questions (quality on the 26 question cases, from appendix point 5). The other option for the portal row: latency, since Ana waits for each answer. -->

### How do you write the choice down?

**One line per step, in a "Model choices" table in `docs/cost-report.md`: the model and its settings, the constraint, the evidence, and the date.** Each line answers Dave's question before he asks it:

```markdown
## Model choices

| Step | Model, effort, max_tokens | Binding constraint | Evidence | Prices and date |
| --- | --- | --- | --- | --- |
| Extraction | claude-sonnet-5-5, high, <max_tokens> | Quality: 16 suite cases | Haiku 5.5 lowest trial <n> of 16, Sonnet 5.5 <n> of 16, batch of May 11, 2027 | $2 / $10, May 11, 2027 |
| Morning triage | <model id>, <effort> | Budget: $0.50 a session | Week of May 3: <n> sessions, the most expensive $<n> | <prices>, May 11, 2027 |
```

<!-- OPEN: recorded run. The extraction's max_tokens, the trial counts, and the triage's model, effort and most expensive session in the week of May 3 to 9, 2027. -->

A good line names a tier, a constraint and a measurement. "Haiku is cheap" names only a price. "Sonnet is smarter" names no test at all. Neither can be checked next month.

This table holds one line per step: what each step runs on, and why. Section [29.9](token-budgets-and-a-saving.md) adds the other kind of line, one per change, with its saving in dollars a week.

### When does a line change?

**When its evidence goes out of date.** That happens when a price changes, or when a new model comes out ([29.5](release-planning.md)). It also happens when the step's prompt gets a new version, or when a week's gate counts disagree with the suite. Each of these reopens one line, not the whole table.

**The operating rule:** for each step, name the one requirement a cheaper choice must still meet. Write the choice as one line that gives that constraint and the measurement behind it.

[^anthropic-cost-and-intelligence]: Optimizing for cost and intelligence, Anthropic, read November 30, 2026.
