CallUsage

org.llm4s.agent.events.CallUsage
See theCallUsage companion object
final case class CallUsage(promptTokens: Int, completionTokens: Int, totalTokens: Int, thinkingTokens: Option[Int])

A model call's token usage, as plain numbers.

Attributes

Companion
object
Source
AgentEventPayloads.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product