Skip to main content
Microsoft.Extensions.AI.OpenAI package icon

Microsoft.Extensions.AI.OpenAI

Implementation of generative AI abstractions for OpenAI-compatible endpoints.

Total Downloads
16.5M
16,501,590
Published
May 2, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Extensions.AI.OpenAI --version 10.5.1
Package Manager Console
Install-Package Microsoft.Extensions.AI.OpenAI -Version 10.5.1
PackageReference
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="10.5.1" />

Frameworks

.NETFramework4.6.2 net8.0 net9.0 net10.0 .NETStandard2.0

Dependencies

[10.5.1, )
OpenAI
.NETFramework4.6.2
[2.10.0, )
System.Text.Json
.NETFramework4.6.2
[10.0.6, )
OpenAI
net8.0
[2.10.0, )
[10.0.6, )
OpenAI
net9.0
[2.10.0, )
[10.0.6, )
OpenAI
net10.0
[2.10.0, )
[10.5.1, )
OpenAI
.NETStandard2.0
[2.10.0, )
System.Text.Json
.NETStandard2.0
[10.0.6, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

The published metadata declares 14 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.