List Barndoor's default pricing
The default pricing catalog Barndoor maintains. Use as a starting
point for import-defaults and sync-defaults.
Authorizations
JWT obtained through Barndoor's authentication flow. Pass the token
verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's
loginInteractive() helper to obtain a token in scripts and notebooks.
Response
List of default pricing entries
Stable identifier for this default row. Pass in ids to import or sync a subset.
Catalog slug of the provider this pricing applies to.
"openai"
Human-readable model identifier.
"gpt-4o-mini"
Pattern matched against the upstream model name when billing.
Usually the same as model_name; may be a * wildcard for
providers that bill all variants at one rate.
"gpt-4o-mini"
USD (or currency) cost per 1M input tokens.
0.15
USD (or currency) cost per 1M output tokens.
0.6
ISO-4217 currency code. Barndoor publishes its managed defaults in USD.
"USD"
Provenance label for this row (e.g. provider YAML name, vendor price-sheet snapshot). Surfaced in the admin UI so operators can tell where a default came from.
Barndoor's managed prompt-cache read rate. Omitted when the
provider/model doesn't support caching (embeddings, vision, classic
text-completion, etc.) — the field is absent from the JSON rather
than sent as 0 so the admin UI hides the cache row entirely
instead of rendering a misleading "$0.00".
Barndoor's managed prompt-cache write rate. Same omission semantics
as cache_read_cost_per_million_tokens.
