token-pricing schema
pricing/token.json: where the run’s copy of the pricing datasheet (pricing/datasheet.json, stored byte for byte) came from. The datasheet itself is not committed anywhere: its terms are not reviewed.
Schema file: schema/json/bundle/token-pricing.schema.json. Generated from servtuner commit 5b46cdad0e5c.
Top level
Section titled “Top level”| Field | Type | Required | Description |
|---|---|---|---|
url |
string |
Yes | |
url_basis |
"runspec", "price_book", "bifrost_config", "default" |
Yes | Why this URL: the RunSpec’s token_pricing.url, the install’s price book (token_pricing.from_price_book), the Bifrost target’s framework_config.pricing_url, or Bifrost’s default. |
fetched_at |
utcTimestamp | Yes | |
sha256 |
string |
Yes | pattern ^[0-9a-f]{64}$ |
bytes |
integer |
Yes | ≥ 1 |
entries |
integer |
Yes | Model entries in the datasheet. ≥ 0 |