mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8699] [MERGED] docs(packages): cache prices vary by model; name which providers cache on their own #8753
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8753
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8699
Author: @SpicyMarinara
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:docs/package-cache-pricing📝 Commits (1)
6366b1fdocs(packages): cache prices vary by model; name which providers cache on their own📊 Changes
2 files changed (+7 additions, -4 deletions)
View changed files
📝
docs/development/optional-agent-packages.md(+3 -2)📝
packages/shared/src/types/capability-runtime.ts(+4 -2)📄 Description
Linked issue
Closes #8695
Why this change
#8698 merged a few seconds before this commit was pushed, so two corrections that local CodeRabbit raised on it are not on staging:
cacheBreakpointtype comment said "others cache identical prefixes on their own". That includes OpenRouter and custom endpoints, which do not take the marker.What changed
docs/development/optional-agent-packages.md: a cache write costs more than the input price once, and a read costs a fraction of it. The exact rates depend on the model, so the section points to Anthropic's model pricing.packages/shared/src/types/capability-runtime.ts: the comment names OpenAI, Gemini, xAI and DeepSeek as the providers that cache on their own. It also says OpenRouter and custom OpenAI-compatible endpoints do not take the marker yet, so Claude reached through them is not cached.There is no code change.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Comments and docs only. Prettier passes on the changed type file.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The English doc changes; the translations are covered by #8697.
UI evidence (if applicable)
No UI change.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.