VocalDocscontracts 1.65.0

PromptEvalCostLine

One model quantity of a run, marked evaluation (1.55.0; section 13): rated as a Call cost line is, and never billed, because evaluation runs in test.

An object with 10 fields.

Fields

FieldTypeRequiredDescription
amount_microsinteger or nullyesThe line amount in whole micro-USD; null when unit_price_micros is null.
laneCostLanenoThe lane the line was spent in (1.57.0), on a Turn of a trace whose cost_basis is usage_events. Absent from an api older than 1.57.0 and on an estimate; a reader treats its absence as speaker.
modelstring or nullyesThe model or plan item priced; null when the price does not depend on one.
providerCostProvideryes
purpose"evaluation"yesMarks the line as evaluation usage.
quantitynumberyesHow many units were used; minutes and audio minutes may be fractional. On a Turn, the share allocated to it.
rolePromptEvalUsageRoleyes
stageCostStageyes
unitCostUnityes
unit_price_microsnumber or nullyesThe price of one unit in micro-USD, fractional for tokens; null when the price list has no price.