swap: summarize step to gpt-5.4-mini
steps/summarize.ts
- model: "gpt-5.6",
+ model: "gpt-5.4-mini",
cheaper per token · gpt-5.6 to gpt-5.4-mini · list prices
Open source · by rightmodeler
rightmodeler agent is the maintenance loop, on a schedule. A weekly catalog and price check flags cheaper new or repriced models and projects what a replay would cost. On your word, it replays the candidate on your production traces and, once the swap clears every gate, opens a draft pull request with the evidence attached. A person says go, and a person merges. Self-host it today from the MIT-licensed repo; the hosted version has a waitlist.
Join the hosted version waitlist. One note when it opens, no spam.
swap: summarize step to gpt-5.4-mini
steps/summarize.ts
- model: "gpt-5.6",
+ model: "gpt-5.4-mini",
cheaper per token · gpt-5.6 to gpt-5.4-mini · list prices
The deliverable
A diff that changes only model identifiers, with the receipts attached.
TL;DR
rightmodeler agent rechecks the provider catalog every week for cheaper models. On your word, it does the validation work unattended, and when a swap clears every gate, it opens the evidence and the model edit as a draft pull request in your repo. Today, the final yes stays yours.
The loop
Notice, replay, judge, open the PR. On a schedule and on your word, inside the policy you set.
A weekly schedule rechecks catalog prices and rebuilds the shortlist, so a cheaper model released in the last 90 days gets flagged per step.
On your word, candidates replay your recorded calls, and swaps that feed later model steps are confirmed end to end in a sandbox.
A judge from a different vendor, or your own evaluator, grades each output against the one you accepted, with your quality floor as the bar.
A draft pull request that changes only model identifiers, evidence attached, for your review. Thin evidence means no PR.
The agent works only inside the policy you set: how closely a cheaper model must match the outputs you accepted, which models it may propose, which evaluator grades the replays, and how much a run may spend. There is no merge setting: the agent opens draft pull requests, and it will never auto-merge.
illustrative config
Nothing sits in your request path. The agent wakes on a schedule, does its work offline, reports back, and goes back to sleep.
Receipts on every PR.
Each draft pull request carries its evidence: the worst-case lower bound, cost per case before and after, the winning candidate’s p50 latency, the sample size and caps, and the replayed case IDs. When a reviewer asks why, the answer is already attached.
It abstains.
Thin evidence means abstain, and no candidate at your floor means no PR. A tool that always finds a swap is not measuring anything.
Rollback is one command.
Each applied change records the exact files it touched, before and after. One command, run by a person on a merged swap, opens the pull request that restores the exact pre-swap files, and it refuses if those files have moved on since.
The validation engine behind the agent is the rightmodeler CLI, and you can run it on the traces you already have today with npx rightmodeler init.