# FoundryModel

- Kind: `class`
- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Version: `13.4.0-preview.1.26281.18`
- Namespace: `Aspire.Hosting.Foundry`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.cs)

Describes a model that can be deployed to Microsoft Foundry.

## Definition

```csharp
namespace Aspire.Hosting.Foundry;

public class FoundryModel
{
    // ...
}
```

## ATS metadata

### ATS DTO

- Serialized as a plain JSON object without a `$type` discriminator.

## Constructors

- [FoundryModel](/reference/api/csharp/aspire.hosting.foundry/foundrymodel/constructors.md#constructor)

## Properties

- [Format](/reference/api/csharp/aspire.hosting.foundry/foundrymodel/properties.md#format) : `string` `get; init` -- The format or provider of the model (e.g., OpenAI, Microsoft, xAi, Deepseek).
- [Name](/reference/api/csharp/aspire.hosting.foundry/foundrymodel/properties.md#name) : `string` `get; init` -- The name of the model.
- [Version](/reference/api/csharp/aspire.hosting.foundry/foundrymodel/properties.md#version) : `string` `get; init` -- The version of the model.

## Nested Types

- [Anthropic](/reference/api/csharp/aspire.hosting.foundry/anthropic.md) -- Models published by Anthropic.
- [BlackForestLabs](/reference/api/csharp/aspire.hosting.foundry/blackforestlabs.md) -- Models published by Black Forest Labs.
- [Cohere](/reference/api/csharp/aspire.hosting.foundry/cohere.md) -- Models published by Cohere.
- [Core42](/reference/api/csharp/aspire.hosting.foundry/core42.md) -- Models published by Core42.
- [DeepSeek](/reference/api/csharp/aspire.hosting.foundry/deepseek.md) -- Models published by DeepSeek.
- [Local](/reference/api/csharp/aspire.hosting.foundry/local.md) -- Models available on Foundry Local.
- [Meta](/reference/api/csharp/aspire.hosting.foundry/meta.md) -- Models published by Meta.
- [Microsoft](/reference/api/csharp/aspire.hosting.foundry/microsoft.md) -- Models published by Microsoft.
- [MistralAI](/reference/api/csharp/aspire.hosting.foundry/mistralai.md) -- Models published by Mistral AI.
- [OpenAI](/reference/api/csharp/aspire.hosting.foundry/openai.md) -- Models published by OpenAI.
- [StabilityAI](/reference/api/csharp/aspire.hosting.foundry/stabilityai.md) -- Models published by StabilityAI.
- [XAI](/reference/api/csharp/aspire.hosting.foundry/xai.md) -- Models published by xAI.
