Skip to content

ModelProfile

PromptScript API


Defined in: core/src/types/models.ts:93

A model profile in the resolved catalog.

Properties

aliases

readonly aliases: readonly string[]

Defined in: core/src/types/models.ts:107

Additional names that resolve to this profile


apiId

readonly apiId: string

Defined in: core/src/types/models.ts:105

Provider API model identifier, the pinned snapshot when one exists


displayName

readonly displayName: string

Defined in: core/src/types/models.ts:103

Human-readable name (e.g. ‘Claude Opus 5.5’)


family

readonly family: string

Defined in: core/src/types/models.ts:99

Family grouping the versions of one model line (e.g. ‘claude-opus’)


id

readonly id: string

Defined in: core/src/types/models.ts:95

Profile id, the provider’s canonical model name (e.g. ‘claude-opus-5-5’)


pricing?

readonly optional pricing?: ModelPricing

Defined in: core/src/types/models.ts:119

List price per million tokens, absent when unknown


provider

readonly provider: string

Defined in: core/src/types/models.ts:97

Model provider (e.g. ‘anthropic’, ‘openai’, ‘google’, ‘xai’)


releaseDate?

readonly optional releaseDate?: string

Defined in: core/src/types/models.ts:113

Release date in YYYY-MM-DD format


retirementDate?

readonly optional retirementDate?: string

Defined in: core/src/types/models.ts:115

Date the provider stops (or stopped) serving the model, in YYYY-MM-DD format


status

readonly status: ModelStatus

Defined in: core/src/types/models.ts:109

Lifecycle status


successor?

readonly optional successor?: string

Defined in: core/src/types/models.ts:111

Profile id of the recommended replacement


targets

readonly targets: Readonly<Record<string, string>>

Defined in: core/src/types/models.ts:117

Native model names per target, overriding the target naming scheme


version

readonly version: string

Defined in: core/src/types/models.ts:101

Version inside the family (e.g. ‘5.5’)