check_context_cliff
Check one LLM request's token counts against a pricing snapshot and return a deterministic decision: allow, pre-cliff warning, hard-cliff reroute, or budget-gate block, with estimated costs and a cheaper fallback model where one exists. Estimates only, not billing. Receives model name and token counts only, never prompt content.
model必填pass_raterequest_idretry_rateprompt_tokens必填cache_hit_ratebudget_gate_usdallow_async_batchcompletion_tokens必填routed_cache_hit_ratecold_start_cache_write