Skip to content

Model routing: route Ponytail Reviewer instead of pinning gpt-5.6-terra #74189

Done

Description

@rabeckett

Estimated saving: about 1,900-2,030 AIC/week, from roughly 2,580 to 550-680 modeled AIC/week.

Use economy: reviews are advisory comments, not approvals or automatic code changes. At about 177 runs/week, this adds high-volume PR- and slash-command-triggered Codex coverage.

Replace pinned openai/gpt-5.6-terra with routing. Likely explain/multi_file/medium and plan/unknown/medium cells select gpt-5.6-luna:xhigh or max, at about 23-31% of the modeled agent cost. The original pin came from model-distribution testing (#65350).

Change

In .github/workflows/ponytail-reviewer.md, remove model: openai/gpt-5.6-terra and set:

engine:
  id: codex
  model-provider: github
  model-routing:
    goal: cost
    mode: economy

This moves inference billing from the OpenAI key to Copilot; copilot-requests: write is already present. Preserve the prompt, triggers, timeout, evals and comment-only outputs. Do not pin the predicted model or add model restrictions.

Run make recompile; include only this workflow and its matching lock file. Verify routing is enabled, OpenAI inference credentials are removed from the generated workflow, and detection uses its default model.

Check

Audit initial runs with gh aw audit <run> against the roughly 14-AIC/run baseline. Compare review usefulness and verify completion within the existing 10-minute timeout. If quality regresses, try balanced; its likely Luna max pick costs up to about 130 AIC/week more.

Estimates use 19/26 October usage, 22 October routing tables and 2 November fitted cost ratios. They assume unchanged workload and about 1 AIC/run for detection/evals after unpinning. Classification and org model availability can change the pick and saving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions