OpenAI-API-dotnet and ChatGPT.Net
These are competitors—both provide C#/.NET wrappers for OpenAI's API, with the first targeting GPT-3 and the second targeting ChatGPT, but they serve the same purpose of enabling .NET developers to integrate OpenAI models and should be evaluated on their respective API coverage, maturity, and maintenance status rather than used together.
About OpenAI-API-dotnet
OkGoDoIt/OpenAI-API-dotnet
An unofficial C#/.NET SDK for accessing the OpenAI GPT-3 API
Provides comprehensive OpenAI API coverage including Chat (with streaming and vision), audio transcription/translation, embeddings, image generation (DALL-E), and moderation endpoints, with built-in conversation state management and context length handling. Built on .NET Standard 2.0 with minimal dependencies, supporting everything from console apps to ASP.NET and Unity across Windows, Linux, and Mac. Offers flexible authentication via direct API keys, environment variables, or config files, with optional organization-level quota tracking.
About ChatGPT.Net
PawanOsman/ChatGPT.Net
C# library for ChatGPT using official OpenAI API
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work