$npx skillfedfor your agent

langchain-baseten

Integration package connecting Baseten and LangChain

Worth itPyPI Artificial IntelligenceReleased Jul 2026116.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_baseten-0.2.3-py3-none-any.whl
v0.2.3 · released 2026-07-27 · Python <4.0.0,>=3.10.0 · 3 runtime deps: baseten-performance-client, langchain-core, langchain-openai

Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and provides straightforward integration for developers already using LangChain who want to use Baseten models. Install friction is low and Python version support is current. Suitable for production use if you have a Baseten account and models deployed.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later and a valid Baseten API key (set via BASETEN_API_KEY environment variable or passed directly).
  • Low friction installation with three runtime dependencies.
  • Package is actively maintained with a recent release (18 days old) and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.

last release 2026-07-27 (18 days) · last repo commit 2026-07-31

0 known vulnerabilities (OSV.dev, 2026-08-14) · 116,100 downloads/mo, #12,218 on PyPI

Verify before relying

pip install langchain-baseten

from langchain_baseten import ChatBaseten

model = ChatBaseten(
    model="zai-org/GLM-5.2",
    api_key="your-api-key"
)
response = model.invoke("Hello, how are you?")
  • Whether Baseten's Performance Client dependency introduces any system-level requirements or compilation steps.
  • Specific latency or throughput characteristics when using Model APIs vs. dedicated deployment URLs.
  • Whether custom models deployed to Baseten require additional configuration beyond model URL and API key.
Same gist for agents: .md · .json

What it is and what it does

langchain-baseten bridges Baseten's hosted language models and embeddings into LangChain's ecosystem. It provides two main classes: ChatBaseten for conversational models and BasetenEmbeddings for vector generation. Both support Baseten's Model APIs (using model slugs on shared infrastructure) and dedicated deployment URLs for custom or performance-optimized models.

The package handles authentication via API key and environment variables, manages HTTP communication with Baseten's endpoints, and wraps responses in LangChain's standard message and embedding formats. It depends on langchain-core for the base interfaces, langchain-openai for OpenAI-compatible protocol handling, and baseten-performance-client for optimized embedding operations.

Use it for

  • Build a chatbot using Baseten-hosted models (e.g., GLM-5.2) within a LangChain application without custom API code.
  • Generate embeddings for semantic search or RAG pipelines using Baseten's dedicated embedding deployments.
  • Switch between shared Model APIs and custom dedicated deployments without changing application code.
  • Integrate Baseten models into LangChain chains and agents that already use other LangChain providers.
  • Use environment variables to manage Baseten credentials across development and production deployments.

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 no known vulnerabilities, carries a permissive MIT license, and provides straightforward integration for developers already using LangChain who want to use Baseten models. Install friction is low and Python version support is current. Suitable for production use if you have a Baseten account and models deployed.

Install

langchain-baseten on PyPI

Before you install

Low friction installation with three runtime dependencies. Package is actively maintained with a recent release (18 days old) and no known vulnerabilities.

Requires Python 3.10 or later and a valid Baseten API key (set via BASETEN_API_KEY environment variable or passed directly).

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.

Quickstart

pip install langchain-baseten

from langchain_baseten import ChatBaseten

model = ChatBaseten(
    model="zai-org/GLM-5.2",
    api_key="your-api-key"
)
response = model.invoke("Hello, how are you?")

Verify before relying

  • Whether Baseten's Performance Client dependency introduces any system-level requirements or compilation steps.
  • Specific latency or throughput characteristics when using Model APIs vs. dedicated deployment URLs.
  • Whether custom models deployed to Baseten require additional configuration beyond model URL and API key.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
baseten-performance-clientlangchain-corelangchain-openai
MaintenanceActively maintained 18 days since the last release
Last repo commit
First released
Downloads116,100 / month, #12,218 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial Intelligence

Evidence: langchain_baseten-0.2.3-py3-none-any.whl

Tags

Capabilities
langchain baseten integrationbaseten chat models langchainbaseten embeddings apilangchain model providerbaseten llm integrationlangchain ai model connector
Topics
langchain-integrationbaseten-modelsllm-provider

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 baseten 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 baseten-performance-client · langchain-sambanova · unique-toolkit · langchain-elasticsearch · llama-index-embeddings-langchain · langchain-together · langchain-cohere · langchain-google-genai · langchain-openai · langchain-ibm