# FoundryModel Properties

- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Type: [FoundryModel](/reference/api/csharp/aspire.hosting.foundry/foundrymodel.md)
- Kind: `Properties`
- Members: `3`

Describes a model that can be deployed to Microsoft Foundry.

## Format

- Name: `Format`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.cs)

The format or provider of the model (e.g., OpenAI, Microsoft, xAi, Deepseek).

```csharp
public string Format { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.cs)

The name of the model.

```csharp
public string Name { get; init; }
```

## Version

- Name: `Version`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.cs)

The version of the model.

```csharp
public string Version { get; init; }
```
