Skip to main content

supercode_harness/
pricing_ref.rs

1//! Reference pricing constants used only to translate measured byte/token
2//! savings into a dollar figure in test logs and docs (D15). These are stated
3//! constants for one Opus-class API list price (July 2026) — not a live
4//! lookup, and not used anywhere on the request path.
5//!
6//! Standalone module (not nested under a `reduce` module) to avoid colliding
7//! with the `reduce` module other in-flight work is adding.
8
9/// Reference input-token price, dollars per million tokens.
10pub const REF_INPUT_PER_MTOK: f64 = 15.00;
11
12/// Reference output-token price, dollars per million tokens.
13pub const REF_OUTPUT_PER_MTOK: f64 = 75.00;