[PR #10735] feat(opencode): Handle Venice cache creation tokens #13547

Closed
opened 2026-02-16 18:18:23 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10735

State: closed
Merged: Yes


Closes #10733

What does this PR do?

  • Extracts Venice cacheCreationInputTokens to cacheWriteInputTokens
  • Dicounts the cache.write tokens from the input tokens

How did you verify your code works?

Ran Opencode local version and verified that the cost and that each value of the usage matches the billing history.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10735 **State:** closed **Merged:** Yes --- Closes #10733 ### What does this PR do? - Extracts Venice `cacheCreationInputTokens` to `cacheWriteInputTokens` - Dicounts the `cache.write` tokens from the input tokens ### How did you verify your code works? Ran Opencode local version and verified that the cost and that each value of the usage matches the billing history.
yindo added the pull-request label 2026-02-16 18:18:23 -05:00
yindo closed this issue 2026-02-16 18:18:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13547