mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 03:03:13 +00:00
23 lines
916 B
Markdown
23 lines
916 B
Markdown
# Changelog
|
|
|
|
## [Unreleased]
|
|
|
|
## [0.12.10] - 2025-12-04
|
|
|
|
### Added
|
|
|
|
- Added `gpt-5.1-codex-max` model support
|
|
|
|
### Fixed
|
|
|
|
- **OpenAI Token Counting**: Fixed `usage.input` to exclude cached tokens for OpenAI providers. Previously, `input` included cached tokens, causing double-counting when calculating total context size via `input + cacheRead`. Now `input` represents non-cached input tokens across all providers, making `input + output + cacheRead + cacheWrite` the correct formula for total context size.
|
|
|
|
- **Fixed Claude Opus 4.5 cache pricing** (was 3x too expensive)
|
|
- Corrected cache_read: $1.50 → $0.50 per MTok
|
|
- Corrected cache_write: $18.75 → $6.25 per MTok
|
|
- Added manual override in `scripts/generate-models.ts` until upstream fix is merged
|
|
- Submitted PR to models.dev: https://github.com/sst/models.dev/pull/439
|
|
|
|
## [0.9.4] - 2025-11-26
|
|
|
|
Initial release with multi-provider LLM support.
|