ccflare icon indicating copy to clipboard operation
ccflare copied to clipboard

Add support for Claude Sonnet 4.5 model

Open krzemienski opened this issue 1 year ago • 1 comments

Summary

The ccflare load balancer is missing support for the newly released Claude Sonnet 4.5 model (claude-sonnet-4-5-20250929).

Current State

The following Claude 4 models are currently supported:

  • Claude Opus 4 (claude-opus-4-20250514)
  • Claude Opus 4.1 (claude-opus-4-1-20250805)
  • Claude Sonnet 4 (claude-sonnet-4-20250514)

Requested Feature

Add full support for Claude Sonnet 4.5 including:

  • Model ID definition in CLAUDE_MODEL_IDS
  • Display name and short name mappings
  • Addition to ALLOWED_MODELS for agent usage
  • Pricing configuration
  • CLI shorthand mapping (--set-model sonnet-4.5)

Implementation

This follows the same pattern as the Opus 4.1 implementation (commit 98556ae), requiring updates to:

  • packages/core/src/models.ts
  • packages/types/src/agent.ts
  • packages/core/src/pricing.ts
  • apps/tui/src/main.ts

Model Details

  • Model ID: claude-sonnet-4-5-20250929
  • Display Name: Claude Sonnet 4.5
  • Short Name: claude-sonnet-4.5
  • Pricing: Same as Sonnet 4 ($3 input, $15 output per 1M tokens)

krzemienski avatar Sep 30 '25 00:09 krzemienski

https://github.com/tombii/better-ccflare

anonym-uz avatar Oct 22 '25 09:10 anonym-uz