calculate_gemini_cost
calculate_gemini_cost(
use_vertexai: bool,
input_tokens: int,
output_tokens: int,
model_name: str
) -> float
| Name | Description |
|---|---|
use_vertexai | Type: bool |
input_tokens | Type: int |
output_tokens | Type: int |
model_name | Type: str |