Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 2026-08-29

### Changes

- [Provider] Groq prompt cache hits are counted again. Groq reports how much of a prompt it served
from cache, but the pinned `@ai-sdk/groq` build read that number out of the response and then
dropped it, so every Groq request was recorded as a full-price miss and the cache hit rate showed
as zero no matter how much of the prompt was actually reused. Upgrading the provider carries the
number through to the run stats and to Langfuse, which records it as `cache_read.input_tokens`.
Groq's cache lives on the node that served the request, so expect an uneven rate — a hit covers
almost the whole prompt, but only some requests get one.

## 2026-08-28

### Changes
Expand Down
11 changes: 9 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"dependencies": {
"@ai-sdk/anthropic": "^4.0",
"@ai-sdk/google": "^4.0.18",
"@ai-sdk/groq": "^4.0",
"@ai-sdk/groq": "^4.0.34",
"@ai-sdk/mistral": "^4.0.13",
"@ai-sdk/openai": "^4.0",
"@ai-sdk/otel": "^1.0.2",
Expand Down
Loading