groq
autogen.oai.groq.calculate_groq_cost
calculate_groq_cost
Calculate the cost of the completion using the Groq pricing.
Parameters:Name | Description |
---|---|
input_tokens | Type: int |
output_tokens | Type: int |
model | Type: str |
Calculate the cost of the completion using the Groq pricing.
Parameters:Name | Description |
---|---|
input_tokens | Type: int |
output_tokens | Type: int |
model | Type: str |