From ab5e5456869d17c81484e9e9bb5367100e0d0f85 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Oct 2026 19:03:58 +0000 Subject: [PATCH] Document crush price flags in the casper cheatsheet crush computes session cost purely from per-model cost_per_1m_* rates in config; a custom provider like casper with none set shows $0.00 forever. The `model add` example now carries the four --price-* flags as placeholders so the sidebar figure can be made meaningful. The real numbers deliberately stay in the hand-managed crushrc. If they are casper's internal rates they are employer-confidential, and the existing rule for casper (the API key is never committed, not even encrypted) applies: a public ciphertext is permanent, and agenix decrypts at activation while crush.json is built at eval time, so it would not fit mechanically either. Also records crush's misleading cached-cost names: --price-cache-create writes cost_per_1m_in_cached and --price-cache-hit writes cost_per_1m_out_cached, which is billed against cache-read tokens, not output (internal/agent/agent.go updateSessionUsage, crush main 76cc5c5). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016D2WAsAGBJZHkbWegd613b --- tools/cheat/cheatsheets/personal/crush/casper | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tools/cheat/cheatsheets/personal/crush/casper b/tools/cheat/cheatsheets/personal/crush/casper index 2df0a365..8e0b9dae 100644 --- a/tools/cheat/cheatsheets/personal/crush/casper +++ b/tools/cheat/cheatsheets/personal/crush/casper @@ -10,7 +10,18 @@ # model add casper/ \ # --name "" \ # --context-window \ -# --default-max-tokens +# --default-max-tokens \ +# --price-input <$/1M input> \ +# --price-output <$/1M output> \ +# --price-cache-create <$/1M cache write> \ +# --price-cache-hit <$/1M cache read> +# +# Prices drive the sidebar's $ figure; omitted, it reads $0.00. They stay +# in the local crushrc only - never in this repo, plaintext or agenix, if +# they are casper's internal rates rather than the vendor's list price. +# Mind the JSON names these write: --price-cache-create sets +# cost_per_1m_in_cached and --price-cache-hit sets cost_per_1m_out_cached; +# the "out" there means cache *reads*, not output tokens. # To see which model ids casper offers (GPT-class models only if the # roster proxies them - check here first):