Skip to content

AgentTokenUsage.cacheWriteTokens, from LLMProviderKit alpha.43 - #136

Merged
ayman3000 merged 1 commit into
mainfrom
usage-cache-writes
Oct 9, 2026
Merged

ayman3000 merged 1 commit into
mainfrom
usage-cache-writes

Conversation

@ayman3000

Copy link
Copy Markdown
Owner

Passes Anthropic cache-write tokens through to the host (optional field, source-compatible). Requires LLMProviderKit 0.1.0-alpha.43. swift test: 663 passed (1 pre-existing known issue).

🤖 Generated with Claude Code

Hosts price cache writes (1.25x on Anthropic) apart from reads; the agent
now passes the provider's figure through.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ayman3000
ayman3000 merged commit 531cc40 into main Oct 9, 2026
1 of 2 checks passed
@ayman3000
ayman3000 deleted the usage-cache-writes branch October 9, 2026 21:52
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.

1 participant