{
  "tool_id": "art-704-ai-token-spend",
  "kernel_id": "art-704-ai-token-spend",
  "display_name": "AI Token Spend",
  "tool_version": "1.0.0",
  "mandate_type": "compliance_control",
  "purpose": "Monthly AI token spend estimator and cross-model comparator. The caller supplies an as_of date (the node never reads a clock), a usage profile (requests per month, input tokens per request, a cached-input share in basis points, cache-write tokens with a 5-minute or 1-hour TTL, output tokens per request, a batch share and a long-context share), a dated price_table whose entries carry tier, effective_from/effective_through bounds and integer USD micros per million tokens, and the model names to compare. A price entry applies at as_of when effective_from <= as_of <= effective_through; two applicable entries for a compared model are an AMBIGUOUS_PRICE refusal, never a silent pick, and none is NO_PRICE_FOR_DATE. Each component's tokens are split into disjoint plain, batch and long-context slices priced from the matching block; a slice needing a combined batch+long-context block the entry does not list is NO_PRICE_FOR_COMBINATION, and a missing component price is a refusal naming the model and the component. The cost of T tokens at price P is floor(T/1e6)*P + floor((T mod 1e6)*P/1e6), overflow-safe for the validated caps (monthly tokens per component at most 1e12, refused above; prices at most 1e9). Output carries per-model monthly and per-request cost in integer micros, the four-component breakdown, a cheapest-first ranking with ties broken by the model string, per-model refusals, the snapshot age in days, and a scope note: no taxes or regional uplift, no image, audio or video tokens, no tool-use surcharges, no tiered volume discounts, and no subscription or committed-spend deals. Prices are an input, never kernel constants: the default snapshot is a dated capture of the official provider price pages, inlined in the page and manifest, and refreshing it never changes kernel bytes.",
  "control_description": "Monthly AI token spend estimator and cross-model comparator. The caller supplies an as_of date (the node never reads a clock), a usage profile (requests per month, input tokens per request, a cached-input share in basis points, cache-write tokens with a 5-minute or 1-hour TTL, output tokens per request, a batch share and a long-context share), a dated price_table whose entries carry tier, effective_from/effective_through bounds and integer USD micros per million tokens, and the model names to compare. A price entry applies at as_of when effective_from <= as_of <= effective_through; two applicable entries for a compared model are an AMBIGUOUS_PRICE refusal, never a silent pick, and none is NO_PRICE_FOR_DATE. Each component's tokens are split into disjoint plain, batch and long-context slices priced from the matching block; a slice needing a combined batch+long-context block the entry does not list is NO_PRICE_FOR_COMBINATION, and a missing component price is a refusal naming the model and the component. The cost of T tokens at price P is floor(T/1e6)*P + floor((T mod 1e6)*P/1e6), overflow-safe for the validated caps (monthly tokens per component at most 1e12, refused above; prices at most 1e9). Output carries per-model monthly and per-request cost in integer micros, the four-component breakdown, a cheapest-first ranking with ties broken by the model string, per-model refusals, the snapshot age in days, and a scope note: no taxes or regional uplift, no image, audio or video tokens, no tool-use surcharges, no tiered volume discounts, and no subscription or committed-spend deals. Prices are an input, never kernel constants: the default snapshot is a dated capture of the official provider price pages, inlined in the page and manifest, and refreshing it never changes kernel bytes.",
  "declared_inputs": [],
  "declared_outputs": [],
  "kernel_digest": "sha256:1c2518f6e01085420d06609b2ae4d1354d5832d04729e000d4cf0bfba9460b15",
  "trust_label": "independently verified: zkVM execution proof (risc0/groth16-bn254)",
  "data_vintage": "2026-10-06",
  "last_validated": "2026-10-06",
  "conformance_fixtures_vendored": true,
  "compute_proof_ready": "ready",
  "wave": 122,
  "source_url": "https://ainumbers.co/chaingraph/art-704-ai-token-spend.html",
  "generated_at": "2026-10-06T20:18:39.135Z"
}
