MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _get_stats_pricing

Function _get_stats_pricing

uncommon_route/stats.py:243–246  ·  view source on GitHub ↗

Use dynamic pricing if available, otherwise static fallback.

()

Source from the content-addressed store, hash-verified

241
242
243def _get_stats_pricing() -> dict[str, ModelPricing]:
244 """Use dynamic pricing if available, otherwise static fallback."""
245 from uncommon_route.proxy import _active_pricing
246 return _active_pricing or DEFAULT_MODEL_PRICING
247
248
249def _cache_savings(r: RouteRecord) -> float:

Callers 2

_cache_savingsFunction · 0.85
_compaction_savingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected