openai/openai-dotnet
The official .NET library for the OpenAI API observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 85
- Longevity 61
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 32.0
- age_days: 860
- days_rel: 23
- days_push: 7
- n_releases_24m: 15
Adoption not part of the score
2674 stars · 414 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official .NET library for accessing the OpenAI REST API, generated from the OpenAPI specification in collaboration with Microsoft. It provides typed clients for chat completions, responses, embeddings, image generation, audio transcription, and assistants with RAG support.
Use cases
- call the OpenAI API from a C# application
- stream chat completions in .NET
- generate text embeddings with dotnet
- transcribe audio using OpenAI from C#
- build RAG assistants in .NET
- use OpenAI with dependency injection in ASP.NET
- connect to Azure OpenAI from .NET
When to choose
- you are building a .NET application that needs OpenAI models
- you want an officially supported, typed client instead of raw HTTP calls
- you need Azure OpenAI compatibility from C#
When to avoid
- you use Python, Node.js, or another non-.NET language
- you need a provider-agnostic LLM client for multiple vendors
- you only need raw REST access and prefer a lightweight HTTP client
Facets
library · maturity active
http-client sdk llm-inference rag speech-recognition chatbot large-language-models artificial-intelligence developer-tools apis dotnet cross-platform openai csharp nuget api-client chat-completions embeddings azure-openai
3 sources
- readme: https://github.com/openai/openai-dotnet · fetched 2026-08-28 · 980cb6441e87
- homepage: https://www.nuget.org/packages/OpenAI · fetched 2026-08-29 · 4066fdae8ae0
- site_page: https://www.nuget.org/policies/About · fetched 2026-08-29 · a113b8a074c9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openai/openai-dotnet | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="openai/openai-dotnet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem