Switch desktop agent from Opus to Sonnet 4.6#6276
Merged
Merged
Conversation
Contributor
Greptile SummaryThis PR swaps the Key changes:
Issues found:
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Query arrives from Swift] --> B{msg.model set?}
B -- Yes --> C[Use msg.model\ne.g. claude-opus-4-6]
B -- No --> D[Use DEFAULT_MODEL\nclaude-sonnet-4-6]
C --> E[resolveSession / session/new]
D --> E
E --> F[session/set_model]
F --> G[session/prompt]
H[preWarmSession called] --> I{sessionConfigs provided?}
I -- Yes --> J[Warm configured sessions]
I -- No --> K[Warm DEFAULT_MODEL only\nclaude-sonnet-4-6]
J --> L[session/new + session/set_model]
K --> L
Reviews (2): Last reviewed commit: "Fix Greptile: remove duplicate SONNET_MO..." | Re-trigger Greptile |
Saves ~$4.2K/month on Anthropic costs. The ACP bridge already had SONNET_MODEL defined — just changing the default. 16 desktop agent users were burning $291/user/month on Opus. Sonnet 4.6 handles agentic tool use equally well at 5x lower cost. Co-authored-by: Aarav Garg <aaravgarg@users.noreply.github.com>
Author
|
/review |
- SONNET_MODEL was identical to DEFAULT_MODEL after Opus→Sonnet switch - Pre-warm list was warming same model twice: [sonnet, sonnet] - Now just [DEFAULT_MODEL] — single session, no orphaned duplicates Co-authored-by: Aarav Garg <aaravgarg@users.noreply.github.com>
7fd2181 to
66e9b2a
Compare
Author
Glucksberg
pushed a commit
to Glucksberg/omi-local
that referenced
this pull request
Apr 28, 2026
One-line change: `DEFAULT_MODEL` in ACP bridge from `claude-opus-4-6` → `claude-sonnet-4-6`. **Why:** 16 desktop agent users burning $291/user/month on Opus. Projected $4.6K/month. Sonnet handles agentic tool use equally well. **Savings:** ~$4.2K/month (~70% reduction on this key).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One-line change:
DEFAULT_MODELin ACP bridge fromclaude-opus-4-6→claude-sonnet-4-6.Why: 16 desktop agent users burning $291/user/month on Opus. Projected $4.6K/month. Sonnet handles agentic tool use equally well.
Savings: ~$4.2K/month (~70% reduction on this key).