Skip to content

five-on-it / apps/creator/src/claude / claudePrice

Function: claudePrice() ​

claudePrice(models, set?): Price

Defined in: apps/creator/src/claude.ts:109

What a call costs at most on any of the models (USD a token): every token read as a cache write, at the long-prompt price where a model has one. Throws on a model with no price.

Parameters ​

models ​

readonly string[]

set? ​

SetPrice

Returns ​

Price