# ModelsConfig

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Interface: ModelsConfig

Defined in: [core/src/types/models.ts:125](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/types/models.ts#L125)

Model catalog configuration (`models` in promptscript.yaml).

## Properties

### profiles?

> `optional` **profiles?**: `Record`\<`string`, [`ModelProfileInput`](https://getpromptscript.dev/api-reference/core/src/interfaces/ModelProfileInput/index.md)\>

Defined in: [core/src/types/models.ts:137](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/types/models.ts#L137)

Custom model profiles, or overrides of built-in profiles, keyed by profile id.

***

### supported?

> `optional` **supported?**: `string`[]

Defined in: [core/src/types/models.ts:132](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/types/models.ts#L132)

Model set the instructions are written and tested for.
Entries are profile ids, aliases, or provider model identifiers.
Validation reports agents and skills pinned outside this set.

#### Example

```ts
['claude-opus-5-5', 'gpt-6-sol']
```