Skip to content

infra-pricing schema

pricing/infra.json: the infrastructure prices a run resolved, so servtuner analyze prices from this copy and never from a live source. The manifest’s checksum covers it.

Schema file: schema/json/bundle/infra-pricing.schema.json. Generated from servtuner commit 5b46cdad0e5c.

Field Type Required Description
source "static", "aws" Yes
resolved_at utcTimestamp Yes
discount number Yes Applied by the analysis, not folded into the prices below. > 0; ≤ 1
query array of string No For aws: the Price List filters used, one per instance type.
nodes map of nodePrice Yes Keyed by instance type.
gpus map of gpuPrice Yes Keyed by GPU model: per-GPU prices from the static table.
problems array of string No Instance types or models the source could not price, and why.
Field Type Required Description
usd_per_hour number Yes ≥ 0
cores number Yes > 0
memory_gib number Yes > 0
gpus integer Yes ≥ 0
gpu_model string No From the source when it names one (aws: the gpu attribute’s family).
Field Type Required Description
usd_per_hour number Yes ≥ 0
basis string Yes How the price was set: given, or the owned-hardware helper with its values.