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
<PackageReference Include="Soenneker.Together.OpenApiClient" Version="11.0.132" />
<PackageVersion Include="Soenneker.Together.OpenApiClient" Version="11.0.132" />
<PackageReference Include="Soenneker.Together.OpenApiClient" />
paket add Soenneker.Together.OpenApiClient --version 11.0.132
#r "nuget: Soenneker.Together.OpenApiClient, 11.0.132"
#:package Soenneker.Together.OpenApiClient@11.0.132
#addin nuget:?package=Soenneker.Together.OpenApiClient&version=11.0.132
#tool nuget:?package=Soenneker.Together.OpenApiClient&version=11.0.132
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.2.0)
- Microsoft.Kiota.Serialization.Form (>= 2.2.0)
- Microsoft.Kiota.Serialization.Json (>= 2.2.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.2.0)
- Microsoft.Kiota.Serialization.Text (>= 2.2.0)
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 |
Update Soenneker.Together.OpenApiClient