calculate_cost
Name | Description |
---|---|
input_tokens | Type: int |
output_tokens | Type: int |
model_id | Type: str |
calculate_cost(
input_tokens: int,
output_tokens: int,
model_id: str
) -> float
Name | Description |
---|---|
input_tokens | Type: int |
output_tokens | Type: int |
model_id | Type: str |