Interface: ModelRates
Defined in: packages/orchestration/src/cost/cost-tracker.ts:8
One model's rates in USD per 1M tokens. cacheRead / cacheWrite price
the prompt-cache token classes; when absent, core's defaultCacheRates fills them.
Properties
cacheRead?
optionalcacheRead?:number
Defined in: packages/orchestration/src/cost/cost-tracker.ts:11
cacheWrite?
optionalcacheWrite?:number
Defined in: packages/orchestration/src/cost/cost-tracker.ts:13
Tokens written to the prompt cache (Anthropic: the 5-minute rate).
input
input:
number
Defined in: packages/orchestration/src/cost/cost-tracker.ts:9
output
output:
number
Defined in: packages/orchestration/src/cost/cost-tracker.ts:10