Skip to content

PromptReleasePricingV1

PromptScript API


Defined in: core/src/types/prompt-pricing.ts:40

List prices of the models that the bundles of a release use, version 1. Outside every content hash: a price update never changes a bundle. The prices are estimates, cache, batch and tier discounts are ignored.

Properties

$schema

$schema: "https://getpromptscript.dev/schema/prompt-release-pricing/v1.json"

Defined in: core/src/types/prompt-pricing.ts:45

Schema URL, the version tag of the file.

Example

"https://getpromptscript.dev/schema/prompt-release-pricing/v1.json"

models

models: PromptReleasePricingModel[]

Defined in: core/src/types/prompt-pricing.ts:47

Priced models sorted by ref. Models without a known price are left out.