Skip to content

PromptReleasePricingModel

PromptScript API


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

One priced model of a release, as prs release build writes it.

Properties

apiId

apiId: string

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

Provider API model identifier, as the bundles carry it.

Example

"claude-sonnet-5-5"

checkedOn

checkedOn: string

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

Date the price was checked against the provider, YYYY-MM-DD.

Pattern

^\d{4}-\d{2}-\d{2}$


inputUsdPerMillion

inputUsdPerMillion: number

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

Price of one million input tokens in USD.

Minimum

0


outputUsdPerMillion

outputUsdPerMillion: number

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

Price of one million output tokens in USD.

Minimum

0


provider

provider: string

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

Model provider.

Example

"anthropic"

ref

ref: string

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

Catalog profile id of the model.

Example

"claude-sonnet-5-5"