Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/pricing / / LookupPriceResult

Interface: LookupPriceResult

Defined in: pricing/src/types.ts:90

Stable

Result of lookupPrice when the model is known.

Properties

PropertyModifierTypeDescriptionDefined in
cachedReadUsdPerToken?readonlynumber-pricing/src/types.ts:93
cacheWriteUsdPerToken?readonlynumber-pricing/src/types.ts:94
inputUsdPerTokenreadonlynumber-pricing/src/types.ts:91
outputUsdPerTokenreadonlynumber-pricing/src/types.ts:92
reasoningUsdPerToken?readonlynumber-pricing/src/types.ts:95
snapshotDatereadonlystring-pricing/src/types.ts:99
sourcereadonlystring-pricing/src/types.ts:96
upstreamSources?readonlyreadonly string[]Upstream pricing authorities, when the snapshot declares them.pricing/src/types.ts:98