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

Class ModelPricing

uncommon_route/router/types.py:420–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418
419@dataclass(frozen=True, slots=True)
420class ModelPricing:
421 input_price: float # per 1M tokens
422 output_price: float # per 1M tokens
423 cached_input_price: float | None = None # per 1M cached-read tokens
424 cache_write_price: float | None = None # per 1M cache-write / cache-create tokens
425
426
427@dataclass(frozen=True, slots=True)

Calls

no outgoing calls