openai and OpenAI-API-dotnet

These are competitors offering overlapping functionality—both are .NET wrappers for the OpenAI API that serve the same purpose, so developers would typically choose one based on factors like API coverage, maintenance status, and community preference rather than using both together.

openai
56
Established
OpenAI-API-dotnet
51
Established
Maintenance 6/25
Adoption 10/25
Maturity 16/25
Community 24/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 25/25
Stars: 2,998
Forks: 539
Downloads:
Commits (30d): 0
Language: C#
License: MIT
Stars: 1,897
Forks: 421
Downloads:
Commits (30d): 0
Language: C#
License:
No Package No Dependents
Stale 6m No Package No Dependents

About openai

betalgo/openai

.NET library for the OpenAI service API by Betalgo Ranul

Provides comprehensive coverage of OpenAI's API surface including chat completions, image generation, embeddings, and the new Realtime API, with support for function calling and structured outputs via JSON Schema. Supports both direct instantiation and dependency injection patterns in ASP.NET Core, with centralized request/response contracts enabling schema validation and consistent API evolution. Includes experimental utilities and maintains compatibility across OpenAI model releases through organized enum/value type abstractions.

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.

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