feat(ai): support Gemini 4 Argon reasoning model #4291
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 222 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.323
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #4291"
general
weight: 0.35
jjmata
Overview
Adds support, pricing estimation, and documentation for Google's flagship reasoning model Gemini 4 Argon (
gemini-4-argon).Key Specifications & Pricing
gemini-4-argon,google/gemini-4-argon- Promotional rate (through November 30, 2026): $2.00 / 1M prompt tokens, $10.00 / 1M completion/thinking tokens
- Standard rate (effective December 1, 2026): $4.00 / 1M prompt tokens, $20.00 / 1M completion/thinking tokens
Changes
1.
app/models/llm_usage.rb: Addedgemini-4-argontoPRICING["google"].2.
docs/hosting/ai.md: Addedgemini-4-argonto recommended Gemini models and updated pricing tables/context tier documentation.3.
test/models/llm_usage_test.rb: Added test coverage for provider inference and pricing calculations.Verification
test/models/llm_usage_test.rb: 41 runs, 82 assertions, 0 failures, 0 errors, 0 skips<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added Gemini 4 Argon to the recommended Google models, with a 1,048,576-token context window.
Listed promotional pricing of $2 per million prompt tokens and $10 per million completion tokens through November 30, 2026. Standard pricing begins December 1, 2026, at $4 and $20 per million tokens, respectively.
Documentation
* Updated the pricing verification date to October 17, 2026, and added Google’s pricing documentation as a source.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->