$npx skillfedfor your agent

together

The official Python library for the together API

Worth itPyPI Python ModulesReleased Aug 20262.7M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — together-2.31.0-py3-none-any.whl
v2.31.0 · released 2026-08-12 · Python >=3.10 · 14 runtime deps: anyio, cyclopts, detect-agent, distro, filelock, httpx, pydantic, rich

Yes. The package is actively maintained (release 2 days old), has no known vulnerabilities, low install friction, and provides a well-typed, production-ready interface to the Together API. The permissive Apache-2.0 license and support for modern Python versions (3.10+) make it suitable for most projects. Install it if you need to call the Together API from Python; the synchronous and asynchronous clients cover both simple and high-concurrency scenarios.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid TOGETHER_API_KEY environment variable or explicit api_key parameter to authenticate with the Together service.
  • Low friction installation with a pure Python wheel.
  • Active maintenance with a release 2 days old.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production applications.

last release 2026-08-12 (2 days) · last repo commit 2026-08-14 · 11 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,725,341 downloads/mo, #2,920 on PyPI

Verify before relying

pip install together

import os
from together import Together

client = Together(api_key=os.environ.get("TOGETHER_API_KEY"))
chat_completion = client.chat.completions.create(
    messages=[{"role": "user", "content": "Say this is a test!"}],
    model="meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
)
print(chat_completion.choices)
  • Whether the 14 runtime dependencies are all required for basic usage or if some are optional for specific features.
  • Performance characteristics and rate-limit handling of the synchronous vs. asynchronous clients under load.
  • Stability guarantees for the realtime transcription feature and automatic reconnection behavior in production.
Same gist for agents: .md · .json

What it is and what it does

Together is the official Python SDK for accessing the Together API, a service that provides inference endpoints for language models and other AI services. It wraps the REST API with type-safe Python clients (both sync and async) generated by Stainless, handling authentication, request serialization, and response parsing automatically. The library supports chat completions, streaming responses via Server-Sent Events, and realtime audio transcription with automatic reconnection and speech buffering.

The package is designed for developers integrating language model inference into Python applications. It provides both a synchronous `Together` client for simple scripts and an `AsyncTogether` client for high-concurrency workloads. Optional extras like `aiohttp` backend and `realtime` transcription support allow customization for specific use cases. All request and response types are defined as TypedDicts with full type hints, enabling IDE autocomplete and static type checking.

Use it for

  • Build a chatbot or conversational AI application using the chat completions API with streaming support for real-time token delivery.
  • Transcribe live audio from microphones or phone calls using the realtime transcription endpoint with automatic reconnection on network failures.
  • Integrate language model inference into an async web service or background job queue for high-throughput inference requests.
  • Prototype or deploy multi-turn dialogue systems that leverage typed request/response structures for validation and IDE support.
  • Stream model outputs directly to end users with Server-Sent Events while maintaining connection resilience.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained (release 2 days old), has no known vulnerabilities, low install friction, and provides a well-typed, production-ready interface to the Together API. The permissive Apache-2.0 license and support for modern Python versions (3.10+) make it suitable for most projects. Install it if you need to call the Together API from Python; the synchronous and asynchronous clients cover both simple and high-concurrency scenarios.

Install

together on PyPI

Before you install

Low friction installation with a pure Python wheel. Active maintenance with a release 2 days old. Requires Python 3.10 or later and depends on 14 runtime packages including httpx for HTTP and pydantic for type validation.

Requires a valid TOGETHER_API_KEY environment variable or explicit api_key parameter to authenticate with the Together service.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production applications.

Quickstart

pip install together

import os
from together import Together

client = Together(api_key=os.environ.get("TOGETHER_API_KEY"))
chat_completion = client.chat.completions.create(
    messages=[{"role": "user", "content": "Say this is a test!"}],
    model="meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
)
print(chat_completion.choices)

Verify before relying

  • Whether the 14 runtime dependencies are all required for basic usage or if some are optional for specific features.
  • Performance characteristics and rate-limit handling of the synchronous vs. asynchronous clients under load.
  • Stability guarantees for the realtime transcription feature and automatic reconnection behavior in production.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
14 packages
anyiocycloptsdetect-agentdistrofilelockhttpxpydanticrichsniffiotomlitqdmtypes-pyyamltypes-tqdmtyping-extensions
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads2,725,341 / month, #2,920 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: together-2.31.0-py3-none-any.whl

Tags

Capabilities
together api python clientllm api wrapperchat completions libraryasync http client apirealtime transcription sdklanguage model inference clientstreaming response handler
Topics
llm-inferenceasync-http-clientapi-wrapper

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “together api python client”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also groq · writer-sdk · llama-api-client · sambanova · openai · cerebras-cloud-sdk · llama-stack-client · perplexityai · rev-ai · composio-client