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.

OpenAI-API-dotnet
51
Established
ChatGPT.Net
48
Emerging
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 25/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 22/25
Stars: 1,897
Forks: 421
Downloads:
Commits (30d): 0
Language: C#
License:
Stars: 386
Forks: 70
Downloads:
Commits (30d): 0
Language: C#
License: MIT
Stale 6m No Package No Dependents
Stale 6m No Package No Dependents

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

Scores updated daily from GitHub, PyPI, and npm data. How scores work