TieredPricingTier
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| Schema schemez.schema Base class for configuration models. |
⋔ Inheritance diagram¶
graph TD
3686787324["data_models.TieredPricingTier"]
330168112["schema.Schema"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
330168112 --> 3686787324
3879467795 --> 330168112
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: Schema
Single tier in a tiered pricing structure.
Source code in src/tokonomics/data_models.py
cache_read_input_token_cost
class-attribute
instance-attribute
¶
Cache read input token cost for this tier.
input_cost_per_token
class-attribute
instance-attribute
¶
Input token cost for this tier.
output_cost_per_reasoning_token
class-attribute
instance-attribute
¶
Output cost per reasoning token for this tier.
output_cost_per_token
class-attribute
instance-attribute
¶
Output token cost for this tier.