$npx skillfedfor your agent

langchain-together

An integration package connecting Together AI and LangChain

Worth itPyPI Artificial IntelligenceReleased Mar 202696.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_together-0.4.0-py3-none-any.whl
v0.4.0 · released 2026-03-24 · Python <4.0,>=3.10 · 7 runtime deps: aiohttp, h11, langchain-core, langchain-openai, langsmith, requests, urllib3

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates seamlessly with LangChain's ecosystem. It is worth installing if you need Together AI as your LLM provider and want to work within LangChain's abstractions. No known security vulnerabilities as of 2026-08-14.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid Together AI API key set in the TOGETHER_API_KEY environment variable or passed to the constructor.
  • Low friction installation with a wheel distribution.
  • Actively maintained as of 2026-08-05 with recent releases.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you must retain the license notice in distributions.

last release 2026-03-24 (143 days) · last repo commit 2026-08-05 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 95,965 downloads/mo, #13,241 on PyPI

Verify before relying

pip install langchain-together

from langchain_together import ChatTogether
import os

os.environ["TOGETHER_API_KEY"] = "your-key"
llm = ChatTogether(model="Qwen/Qwen2.5-7B-Instruct-Turbo")
response = llm.invoke("Hello")
  • Whether all Together AI model variants listed in their docs are supported by this integration version.
  • Performance characteristics and rate-limit behavior when used with high-volume LangChain chains.
  • Compatibility guarantees with specific langchain-core versions beyond the stated Python version range.
Same gist for agents: .md · .json

What it is and what it does

langchain-together is a LangChain integration package that exposes Together AI's language models and embeddings through LangChain's standard interfaces. It provides ChatTogether for chat-based interactions and TogetherEmbeddings for vector representations, supporting models like Qwen/Qwen2.5-7B-Instruct-Turbo and multilingual-e5-large-instruct.

The package enables structured outputs via Pydantic models, JSON schemas, and function calling—allowing you to extract reliable, typed responses from Together AI models within LangChain workflows. It handles authentication via environment variable or constructor parameter and supports configuration options like temperature, max_tokens, timeout, and retry behavior.

Use it for

  • Build LangChain agents and chains that call Together AI models instead of OpenAI or other providers.
  • Extract structured data (e.g., parsed JSON, function calls) from Together AI models using Pydantic schemas.
  • Generate embeddings for semantic search or similarity tasks using Together's multilingual embedding models.
  • Prototype or deploy cost-effective LLM applications by swapping Together AI as the backend provider.
  • Combine Together AI models with LangChain's tools, memory, and retrieval systems in a single application.

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, has low install friction, carries a permissive MIT license, and integrates seamlessly with LangChain's ecosystem. It is worth installing if you need Together AI as your LLM provider and want to work within LangChain's abstractions. No known security vulnerabilities as of 2026-08-14.

Install

langchain-together on PyPI

Before you install

Low friction installation with a wheel distribution. Actively maintained as of 2026-08-05 with recent releases. Depends on established packages (langchain-core, langchain-openai, requests, aiohttp) that are widely used.

Requires a valid Together AI API key set in the TOGETHER_API_KEY environment variable or passed to the constructor.

License in practice

MIT license permits commercial and private use with minimal restrictions; you must retain the license notice in distributions.

Quickstart

pip install langchain-together

from langchain_together import ChatTogether
import os

os.environ["TOGETHER_API_KEY"] = "your-key"
llm = ChatTogether(model="Qwen/Qwen2.5-7B-Instruct-Turbo")
response = llm.invoke("Hello")

Verify before relying

  • Whether all Together AI model variants listed in their docs are supported by this integration version.
  • Performance characteristics and rate-limit behavior when used with high-volume LangChain chains.
  • Compatibility guarantees with specific langchain-core versions beyond the stated Python version range.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
aiohttph11langchain-corelangchain-openailangsmithrequestsurllib3
MaintenanceActively maintained 143 days since the last release
Last repo commit
First released
Downloads95,965 / month, #13,241 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: langchain_together-0.4.0-py3-none-any.whl

Tags

Capabilities
langchain together ai integrationtogether ai llm providerlangchain chat modelsstructured output llmtogether embeddings langchainfunction calling llmjson mode language model
Topics
llm-integrationlangchain-pluginstructured-output

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 › “langchain together ai integration”

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

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also langchain-oci · langchain-sambanova · langchain-baseten · pyjokes · langchain-openai · langchain-groq · langchain-cohere · langchain-cli · langchain-community · langchainplus-sdk

Further reading