Skip to content

Add Opus 4.6 support#110

Merged
bl-ue merged 2 commits intomainfrom
feat/opus-4-6
Feb 5, 2026
Merged

Add Opus 4.6 support#110
bl-ue merged 2 commits intomainfrom
feat/opus-4-6

Conversation

@mike1858
Copy link
Copy Markdown
Member

@mike1858 mike1858 commented Feb 5, 2026

Summary by CodeRabbit

  • New Features
    • Added support for Claude Opus 4.6 model.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 5, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
📝 Walkthrough

Walkthrough

A new Anthropic model entry claude-opus-4-6 is added to the MODEL_INDEX with flat-rate pricing (input: 5.0, output: 25.0 per 1M tokens) and Anthropic-style caching support, along with a corresponding alias mapping.

Changes

Cohort / File(s) Summary
Model Configuration
src/models.rs
Added new claude-opus-4-6 model entry to MODEL_INDEX with flat pricing structure and Anthropic caching support (cache_write: 6.25, cache_read: 0.5 per 1M tokens). Added corresponding alias in MODEL_ALIASES mapping the model name to itself.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A new Claude hops into the fold,
With pricing precise and caching bold,
Opus-4-6 joins the stable so fine,
Flat rates and aliases align,
More models to serve, more paths to explore! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add Opus 4.6 support' clearly and concisely describes the main change: adding support for a new Anthropic model (claude-opus-4-6) with its pricing and caching configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/opus-4-6

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bl-ue bl-ue merged commit 32cb570 into main Feb 5, 2026
6 checks passed
@bl-ue bl-ue deleted the feat/opus-4-6 branch February 5, 2026 18:29
This was referenced Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants