betalgo/openai

.NET library for the OpenAI service API by Betalgo Ranul

View on GitHub ↗Jump to charts ↓

betalgo/openai has 3k+ stars and 500+ forks on GitHub, is written in C#, and was last pushed on Mar 21, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Type:Library / SDKCategory(s):Agent Frameworks & SDKsAI Agents & LLM Apps
Added to GitGenius on September 22nd, 2026
Created on November 28th, 2021
Open Issues & Pull Requests: 19 (+0)
GitHub issues: Enabled
Number of forks: 538
Total Stargazers: 3,025 (+0)
Total Subscribers: 67 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.6 days
Mean response time: 18.2 days
90th percentile: 26.9 days
Tracked items: 45

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 11
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 692 days
Stale 30+ days: 11
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (12)
  • Ready for next version (11)
  • enhancement (7)
  • Work In Progress (4)
  • Utilities Library (3)
  • question (3)
  • Under Investigation (2)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Betalgo.Ranul.OpenAI is a .NET library for accessing OpenAI's API as a community-maintained SDK.

The library solves the problem of integrating OpenAI's capabilities into .NET applications by providing a managed wrapper around the OpenAI service API. It supports multiple OpenAI features including ChatGPT, DALL-E, Whisper, and the Realtime API, allowing developers to call these services from C# code. The library can be used with or without dependency injection, and it handles authentication through API keys and organization IDs obtained from OpenAI's platform.

Developers building .NET applications that need to incorporate OpenAI's models should consider this library. It suits projects ranging from console applications to ASP.NET Core services. The library provides an experimental utilities package alongside the core library, and maintains a feature availability table documenting which OpenAI capabilities are currently supported. The README includes a sample playground project to demonstrate usage patterns, though it warns that some test methods can have destructive effects like file deletion or model fine-tuning, recommending use of a separate account for experimentation.

The project maintains detailed documentation including a wiki with migration guides for breaking changes and upgrade instructions for contract updates. It provides multiple community channels including Discord and Reddit for developer support. The library has undergone a namespace migration from Betalgo.OpenAI to Betalgo.Ranul.OpenAI, with corresponding migration documentation available. Development is sustained through sponsorships and community contributions, with the project acknowledging bug reporters and contributors as essential to its maintenance.