Skip to main content

Documentation Index

Fetch the complete documentation index at: https://private-04b27de1.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

calculate_together_cost

calculate_together_cost(
    input_tokens: int,
    output_tokens: int,
    model_name: str
) -> float
Cost calculation for inference Parameters:
NameDescription
input_tokensType: int
output_tokensType: int
model_nameType: str