ModelProfileInput
Defined in: core/src/types/models.ts:52
Model profile declared in promptscript.yaml.
A key of models.profiles that matches a built-in profile id overrides only
the fields it sets. Any other key adds a new profile, so a team can use a
model before PromptScript ships it in the built-in catalog.
Example
models: profiles: claude-opus-9: provider: anthropic family: claude-opus version: '9' displayName: Claude Opus 9 apiId: claude-opus-9 releaseDate: '2027-01-15'Properties
aliases?
optionalaliases?:string[]
Defined in: core/src/types/models.ts:67
Additional names that resolve to this profile
apiId?
optionalapiId?:string
Defined in: core/src/types/models.ts:65
Provider API model identifier
displayName?
optionaldisplayName?:string
Defined in: core/src/types/models.ts:63
Human-readable name (e.g. ‘Claude Opus 4.5’)
family?
optionalfamily?:string
Defined in: core/src/types/models.ts:59
Family grouping the versions of one model line (e.g. ‘claude-opus’). The newest non-retired release of a family backs its floating alias.
pricing?
optionalpricing?:ModelPricing
Defined in: core/src/types/models.ts:87
List price per million tokens, for cost estimates
provider?
optionalprovider?:string
Defined in: core/src/types/models.ts:54
Model provider (e.g. ‘anthropic’, ‘openai’, ‘google’, ‘xai’)
releaseDate?
optionalreleaseDate?:string
Defined in: core/src/types/models.ts:73
Release date in YYYY-MM-DD format
retirementDate?
optionalretirementDate?:string
Defined in: core/src/types/models.ts:75
Date the provider stops (or stopped) serving the model, in YYYY-MM-DD format
status?
optionalstatus?:ModelStatus
Defined in: core/src/types/models.ts:69
Lifecycle status
successor?
optionalsuccessor?:string
Defined in: core/src/types/models.ts:71
Profile id of the recommended replacement
targets?
optionaltargets?:Record<string,string>
Defined in: core/src/types/models.ts:85
Native model names per target. A target listed here always receives this name, even when its naming scheme or provider list would not map the model. Keys are target names, matched case-insensitively. Only targets that write a native model field use them; validation reports other keys.
Example
targets: github: Claude Opus 9 (Preview)version?
optionalversion?:string
Defined in: core/src/types/models.ts:61
Version inside the family (e.g. ‘4.5’)