← all repositories

openai/openai-dotnet

Official .NET client library for the OpenAI REST API, providing access to GPT models, embeddings, audio, images, and assistants with RAG.

2.6k stars C# Language Models
openai-dotnet
Velocity · 7d
+3.4
★ / day
Trend
steady
star history

This repository is the official C#/.NET SDK for OpenAI’s API. It wraps the OpenAI REST endpoints including chat completions, embeddings, image generation, audio transcription/synthesis, assistants, and retrieval-augmented generation capabilities. The library is auto-generated from OpenAI’s OpenAPI specification in partnership with Microsoft, and supports dependency injection, streaming, function calling, and structured outputs.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.