Together 0.9.1-dev.194

This is a prerelease version of Together.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Together --version 0.9.1-dev.194
                    
NuGet\Install-Package Together -Version 0.9.1-dev.194
                    
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="Together" Version="0.9.1-dev.194" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Together" Version="0.9.1-dev.194" />
                    
Directory.Packages.props
<PackageReference Include="Together" />
                    
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 Together --version 0.9.1-dev.194
                    
#r "nuget: Together, 0.9.1-dev.194"
                    
#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 Together@0.9.1-dev.194
                    
#: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=Together&version=0.9.1-dev.194&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Together&version=0.9.1-dev.194&prerelease
                    
Install as a Cake Tool

Together

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official Together OpenAPI specification using OpenApiGenerator
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0
  • Microsoft.Extensions.AI IChatClient and IEmbeddingGenerator support

Usage

using Together;

using var client = new TogetherClient(apiKey);

Microsoft.Extensions.AI

The SDK implements IChatClient and IEmbeddingGenerator:

using Together;
using Meai = Microsoft.Extensions.AI;

// IChatClient
Meai.IChatClient chatClient = new TogetherClient(apiKey);
var response = await chatClient.GetResponseAsync(
    [new Meai.ChatMessage(Meai.ChatRole.User, "Hello!")],
    new Meai.ChatOptions { ModelId = "meta-llama/Llama-3.3-70B-Instruct-Turbo" });

// IEmbeddingGenerator
Meai.IEmbeddingGenerator<string, Meai.Embedding<float>> generator = new TogetherClient(apiKey);
var embeddings = await generator.GenerateAsync(
    ["Hello, world!"],
    new Meai.EmbeddingGenerationOptions { ModelId = "BAAI/bge-large-en-v1.5" });

Note: Use the Meai alias because the Together SDK has its own generated IChatClient interface.

Support

Priority place for bugs: https://github.com/tryAGI/Together/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Together/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

CodeRabbit logo

This project is supported by CodeRabbit through the Open Source Support Program.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on Together:

Package Downloads
LangChain.Providers.Together

Together.ai Chat model provider.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.2-dev.7 45 5/21/2026
0.9.2-dev.5 44 5/20/2026
0.9.2-dev.3 55 5/13/2026
0.9.2-dev.2 52 5/7/2026
0.9.1 209 4/30/2026
0.9.1-dev.228 69 4/1/2026
0.9.1-dev.225 66 3/29/2026
0.9.1-dev.224 66 3/29/2026
0.9.1-dev.219 162 3/28/2026
0.9.1-dev.217 66 3/28/2026
0.9.1-dev.216 63 3/28/2026
0.9.1-dev.215 67 3/28/2026
0.9.1-dev.213 66 3/27/2026
0.9.1-dev.201 58 3/20/2026
0.9.1-dev.200 66 3/20/2026
0.9.1-dev.197 55 3/20/2026
0.9.1-dev.195 63 3/20/2026
0.9.1-dev.194 66 3/20/2026
0.9.1-dev.191 60 3/19/2026
0.9.1-dev.187 68 3/19/2026
Loading failed