Skip to content

openai/openai-dotnet

Official

The official .NET library for the OpenAI API

2,622 stars397 forksC#Updated June 2026
✅ Reviewed by My AI Guide

Our Review

  • Comprehensive API coverage with examples
  • Async and DI support
  • Azure OpenAI compatible

Our Verdict

The official .NET library for the OpenAI API. Best for C# developers integrating OpenAI models into applications. Key advantage is direct maintenance by OpenAI for reliable compatibility and updates over community alternatives.

Frequently Asked Questions

Is openai/openai-dotnet the official OpenAI library for .NET?

Yes, openai/openai-dotnet is the official .NET library for the OpenAI API, written in C# with 2585 GitHub stars. It provides the most reliable way for .NET developers to access OpenAI services.

What is openai-dotnet?

The official .NET library for the OpenAI API

How do I install openai-dotnet?

Visit the GitHub repository at https://github.com/openai/openai-dotnet for installation instructions.

What license does openai-dotnet use?

openai-dotnet uses the MIT license.

What are alternatives to openai-dotnet?

Search My AI Guide for similar tools in this category.

🔒

Open source & community-verified

MIT licensed: free to use in any project, no strings attached. 2,622 developers have starred this, meaning the community has reviewed and trusted it.

Reviewed by My AI Guide for relevance, quality, and active maintenance before listing.