Register custom model pricing (per 1M tokens).
Examples
# Register a custom model's pricing
add_model_cost("my-local-model", input_price = 0, output_price = 0)
calculate_cost("my-local-model", 1000, 500)
#> [1] 0
Register custom model pricing (per 1M tokens).
# Register a custom model's pricing
add_model_cost("my-local-model", input_price = 0, output_price = 0)
calculate_cost("my-local-model", 1000, 500)
#> [1] 0