Skip to main content

Module pricing_ref

Module pricing_ref 

Source
Expand description

Reference pricing constants used only to translate measured byte/token savings into a dollar figure in test logs and docs (D15). These are stated constants for one Opus-class API list price (July 2026) — not a live lookup, and not used anywhere on the request path.

Standalone module (not nested under a reduce module) to avoid colliding with the reduce module other in-flight work is adding.

Constants§

REF_INPUT_PER_MTOK
Reference input-token price, dollars per million tokens.
REF_OUTPUT_PER_MTOK
Reference output-token price, dollars per million tokens.