Skip to content

openai/openai-dotnet

Official

The official .NET library for the OpenAI API

2,570 stars386 forksC#Updated April 2026

Best for

Developer
✅ Reviewed by My AI Guide — vetted for vibe builders

Our Review

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

Cons

  • Generated, may have quirks
  • NuGet dependency
  • Advanced scenarios in docs

Our Verdict

Robust .NET SDK for OpenAI; excellent docs and features.

Frequently Asked Questions

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.

Great for: Pro Vibe Builders

Skip if: You need something more beginner-friendly or guided

🔒

Open source & community-verified

MIT licensed — free to use in any project, no strings attached. 2,570 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.