Skip to main content
GET
List Barndoor's default pricing

Authorizations

Authorization
string
header
required

An access token from Barndoor's identity provider, sent as Authorization: Bearer <token>. Use a service-account token from the OAuth 2.0 client-credentials grant for scripts and CI, or a signed-in user's token. The caller needs the admin role in the organization. Gateway API keys (bd-...) are not accepted here.

Response

OK

currency
string
required
id
string<uuid>
required
input_cost_per_million_tokens
number<double>
required
model_name
string
required
model_pattern
string
required
output_cost_per_million_tokens
number<double>
required
provider_slug
string
required
source
string
required
cache_read_cost_per_million_tokens
number<double> | null

Default prompt-cache read rate; null when the model has no caching.

cache_write_cost_per_million_tokens
number<double> | null
long_context
null | object

Default long-context rate set, for the few models that have one.