Agent Cost and Latency Budget

A per-step cost and latency budget with model routing recommendations.

Intermediate · Works with ChatGPT, Claude, Gemini, Copilot

The prompt

Build a cost and latency budget for this agent workflow.

Steps in the workflow and roughly what each does:
{{WORKFLOW_STEPS}}

Target total latency and/or cost per run:
{{TARGET_BUDGET}}

For each step, estimate its share of the budget and recommend a model tier (small/large) based on how much reasoning that step actually requires — not by default routing everything to the biggest model. Flag any step that will blow the budget and what to trade off to fix it.

Why this prompt works

Routing by how much reasoning a step actually needs, rather than uniformly using the largest model, is where most agent cost savings actually come from.

How to customize it

  • Give a real target number, not 'as cheap as possible'
  • Identify which steps are simple classification versus open-ended generation

Common mistakes

  • Routing every step to the most capable model by default
  • Setting a budget target without specifying which dimension (cost or latency) matters more

Example

Input

Workflow steps: 1) classify intent 2) fetch account data 3) draft a response 4) review tone

What a good answer looks like

A per-step table with estimated cost/latency, recommended model tier, and any budget risk flagged.

Make this prompt fit your work

ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.

Related prompts