Scale Intelligence■ Docs
Docs / The model / ModelCall

ModelCall.

One call of a model, metered against the unit it served

Figure 1ModelCallspecified
MODELCALLfact at follows scopemodelModelunitidtokenscountoptionalsizebytesoptionalcostCostoutcomeenum:answered|refused|failedrunidMODELthrough modelCOSTthrough cost
ModelCall is a fact at follows scope. The drawing shows its fields and the objects that they point at.
kind
fact
scope
follows
key
the model, the unit and the moment
store
postgres+lake
family
models

Fields#

fieldtyperequirednote
modelModelyes
unitidyes
tokenscountno
sizebytesno
costCostyes
outcomeone of answered | refused | failedyes
runidyes

Routes that use it#

No route takes or returns ModelCall directly. The record holds it, and the objects that point at it reach it.