* @file Feature-level pricing constants and modifier math, centralized so the cost calculator stays readable and every rate has one source of truth. These mirror Anthropic's published pricing page. Per-model token rates live in the editable `model_pricing` table; the values here
// Source: https://github.com/hoangsonww/Claude-Code-Agent-Monitor | License: MIT | Copyright 2026 - Now, Son Nguyen // Provided via justclaw.it.com; keep this notice with the code. /** * @file Feature-level pricing constants and modifier math, centralized so the * cost calculator stays readable and every rate has one source of truth. These * mirror Anthropic's published pricing page. Per-model token rates live in the * editable `model_pricing` table; the values here are feature/modifier rates * that are uniform across models and therefore kept as code constants. * @author Son Nguyen <hoangson091104@gmail.com> */ // ── Prompt-caching multipliers (relative to base input price) ─────────────── // Stored model rates already encode these for the standard tier, but fast-mode // cache ra ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key