Skip to content

feat(ai-gateway): add discounted Claude Opus 4.8 stealth model#3592

Merged
chrarnoldus merged 1 commit into
mainfrom
feat/opus-4-8-discounted-model
May 29, 2026
Merged

feat(ai-gateway): add discounted Claude Opus 4.8 stealth model#3592
chrarnoldus merged 1 commit into
mainfrom
feat/opus-4-8-discounted-model

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot Bot commented May 29, 2026

Summary

  • Adds a discounted (stealth) Claude Opus 4.8 model mirroring the existing Opus 4.7 stealth model, offered at 20% off standard Opus 4.8 pricing via the martian gateway.
  • Registers the new model in kiloExclusiveModels and preferredModels.

Verification

  • Reviewed that the new claude_opus_4_8_stealth_model follows the same shape/flags/pricing as claude_opus_4_7_stealth_model.

Visual Changes

N/A

Reviewer Notes

  • Pricing reuses CLAUDE_OPUS_STEALTH_PRICING (4 / 20 / 0.4 / 5), same as the 4.7 variant. Adjust if Opus 4.8 discounted pricing should differ.
  • internal_id set to anthropic/claude-opus-4-8:optimized; confirm this matches the gateway's expected upstream id.

@kilo-code-bot
Copy link
Copy Markdown
Contributor Author

kilo-code-bot Bot commented May 29, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

The PR cleanly adds a new claude_opus_4_8_stealth_model entry following the exact same pattern as the existing claude_opus_4_7_stealth_model, with consistent internal_id formatting, correct placement in preferredModels and kiloExclusiveModels, and appropriate flags.

Files Reviewed (2 files)
  • apps/web/src/lib/ai-gateway/providers/anthropic.constants.ts
  • apps/web/src/lib/ai-gateway/models.ts

Fix issues in Kilo Cloud


Reviewed by claude-sonnet-4.6 · 309,254 tokens

Review guidance: REVIEW.md from base branch main

@chrarnoldus chrarnoldus marked this pull request as draft May 29, 2026 12:15
@chrarnoldus chrarnoldus marked this pull request as ready for review May 29, 2026 19:05
@chrarnoldus chrarnoldus merged commit 33f392d into main May 29, 2026
13 checks passed
@chrarnoldus chrarnoldus deleted the feat/opus-4-8-discounted-model branch May 29, 2026 19:05
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