Soenneker.Together.OpenApiClient 11.0.132

Prefix Reserved
dotnet add package Soenneker.Together.OpenApiClient --version 11.0.132
                    
NuGet\Install-Package Soenneker.Together.OpenApiClient -Version 11.0.132
                    
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="Soenneker.Together.OpenApiClient" Version="11.0.132" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Together.OpenApiClient" Version="11.0.132" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Together.OpenApiClient" />
                    
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 Soenneker.Together.OpenApiClient --version 11.0.132
                    
#r "nuget: Soenneker.Together.OpenApiClient, 11.0.132"
                    
#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 Soenneker.Together.OpenApiClient@11.0.132
                    
#: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=Soenneker.Together.OpenApiClient&version=11.0.132
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Together.OpenApiClient&version=11.0.132
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Together.OpenApiClient

A Kiota-generated client for Together AI's inference, model, file, fine-tuning, and deployment APIs.

Installation

dotnet add package Soenneker.Together.OpenApiClient

Usage

using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Together.OpenApiClient;
using Soenneker.Together.OpenApiClient.Models;

var httpClient = new HttpClient
{
    BaseAddress = new Uri("https://api.together.ai/v1/")
};

httpClient.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", togetherApiKey);

var authentication = new AnonymousAuthenticationProvider();
var adapter = new HttpClientRequestAdapter(authentication, httpClient: httpClient);
var together = new TogetherOpenApiClient(adapter);

WhoamiResponse? account =
    await together.Whoami.GetAsync(cancellationToken: cancellationToken);

Reuse the TogetherOpenApiClient, request adapter, and HttpClient rather than creating them for every request.

Generated request builders follow the API path hierarchy. For example, /chat/completions is exposed through together.Chat.Completions, and /files/upload through together.Files.Upload.

Inference, fine-tuning, deployment, and other mutation endpoints may incur charges. Validate request models and cancellation behavior before using them in automated flows.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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 Soenneker.Together.OpenApiClient:

Package Downloads
Soenneker.Together.OpenApiClientUtil

Provides lazily initialized, cached access to Together AI's generated OpenAPI client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.132 58 11/20/2026
11.0.131 83 11/18/2026
11.0.130 71 11/18/2026
11.0.129 73 11/17/2026
11.0.128 66 11/17/2026
11.0.127 74 11/17/2026
11.0.126 128 11/14/2026
11.0.125 113 11/13/2026
11.0.124 125 11/11/2026
11.0.123 111 11/10/2026
11.0.122 121 11/4/2026
11.0.121 107 11/3/2026
11.0.120 105 11/3/2026
11.0.119 141 11/3/2026
11.0.118 108 11/2/2026
11.0.117 117 11/2/2026
11.0.116 112 10/31/2026
11.0.115 110 10/31/2026
11.0.114 110 10/30/2026
11.0.113 105 10/30/2026
Loading failed

Update Soenneker.Together.OpenApiClient