Class Usage
java.lang.Object
com.langfuse.client.resources.commons.types.Usage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getInput
public int getInput()- Returns:
- Number of input units (e.g. tokens)
-
getOutput
public int getOutput()- Returns:
- Number of output units (e.g. tokens)
-
getTotal
public int getTotal()- Returns:
- Defaults to input+output if not set
-
getUnit
- Returns:
- Unit of measurement
-
getInputCost
- Returns:
- USD input cost
-
getOutputCost
- Returns:
- USD output cost
-
getTotalCost
- Returns:
- USD total cost, defaults to input+output
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-