LLMBridge 1.0.1

dotnet add package LLMBridge --version 1.0.1
                    
NuGet\Install-Package LLMBridge -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LLMBridge" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LLMBridge" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="LLMBridge" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LLMBridge --version 1.0.1
                    
#r "nuget: LLMBridge, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LLMBridge@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LLMBridge&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=LLMBridge&version=1.0.1
                    
Install as a Cake Tool

LLMBridge

A unified .NET SDK for OpenAI, Azure OpenAI, Gemini, Claude, and future LLM providers.

LLMBridge provides a single, consistent API for interacting with multiple Large Language Model (LLM) providers without vendor lock-in.

Features

  • Unified API across providers
  • OpenAI support
  • Azure OpenAI support
  • Google Gemini support
  • Anthropic Claude support
  • Provider switching with minimal code changes
  • Common request and response models
  • Token usage tracking
  • Async-first design
  • .NET 8+ compatible

Installation

dotnet add package LLMBridge

Quick Start

using LLMBridge.Client;
using LLMBridge.Enums;
using LLMBridge.Models;

var options = new LLMOptions
{
    Provider = LLMProviderType.Gemini,
    ApiKey = "YOUR_API_KEY"
};

var client = new LLMClient(options);

var response = await client.GenerateAsync(
    new LLMRequest
    {
        Model = "gemini-2.5-flash",
        Prompt = "Explain SOLID Principles"
    });

Console.WriteLine(response.Content);

Supported Providers

Provider Status
OpenAI Supported
Azure OpenAI Supported
Gemini Supported
Claude Supported

Why LLMBridge?

Without LLMBridge:

var openAiClient = new OpenAIClient(...);
var geminiClient = new GeminiClient(...);
var anthropicClient = new AnthropicClient(...);

With LLMBridge:

var client = new LLMClient(options);
var response = await client.GenerateAsync(request);

Only the provider changes.

Response Model

public class LLMResponse
{
    public bool Success { get; set; }
    public string Content { get; set; }
    public string? ErrorMessage { get; set; }

    public int? PromptTokens { get; set; }
    public int? CompletionTokens { get; set; }
    public int? TotalTokens { get; set; }
}

##Architecture Consumer App(Your app) --> LLMClient --> ILLMProvider --> 1.OpenAI provider 2. Gemini Provider --> Azure OpenAI provider 3. Claude Provider

Roadmap

v1.0.0

  • Text Generation
  • Multi-Provider Support
  • Unified Response Model

v1.1.0

  • Streaming
  • Function Calling
  • Tool Calling
  • Embeddings

v2.0.0

  • RAG Helpers
  • Vector Database Integrations
  • Multi-Agent Support
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 238 6/15/2026
1.0.0 164 6/11/2026

🎉 Initial Release

• OpenAI Support
• Azure OpenAI Support
• Google Gemini Support
• Anthropic Claude Support
• Unified API Across Providers
• Common Request & Response Models
• Token Usage Tracking
• Async-First Design
• .NET 8+ Support

Roadmap:
Streaming, Function Calling, Tool Calling, Embeddings, DI Extensions, and Logging Support.