Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

LangSmith

by LangChain

See and test what your AI agent does.

LLM observability and evalsUp · live statusOfficial MCP server

WebsitePricingGitHub

1. Price

Free tier: Developer plan: 1 seat, up to 5k base traces / mo, then pay-as-you-go. As reported on the official pricing page, checked Oct 10, 2026.

langchain.com/pricing

Checked against the maker's official pages, pricing on Oct 10, 2026. Tap a verdict to see its source.How we checkedReport an error

What LangSmith does

LangSmith is an online service from the makers of LangChain that records every step your AI assistant or agent takes, from the question it got to the final answer. You use it to find why an answer went wrong, to test new versions against saved examples, and to watch quality once real users arrive.

  • LangSmith is one of 25 APIs in the LLM observability and evals category on AgentGid.
  • Its cheapest paid plan ($39 a month) is the 9th cheapest of the 17 here with a monthly plan.
  • It is one of 23 that can be started for free.
  • It ships an official MCP server, like 7 others here.
  • Its official SDK is the 1st most downloaded in the category (34.5M a week).

What people build with it

Find why the bot answered wrong

Open one conversation and see the exact prompt, the tool calls and the model's reply step by step, instead of guessing from the final answer.

Test answers before each release

Keep a list of sample questions with good answers, and score every new prompt or model against it before users see the change.

Alerts when quality drops

Watch charts of errors, cost and speed for the live app and get an alert when something goes off track.

Thumbs up and down from users

Store your users' ratings next to each answer, so the team can review the weak ones and fix them.

Keep private data out of the logs

Hide or mask names, emails and other personal details before anything is sent, while still seeing the steps.

Compare two prompts before switching Idea

Run the old and the new prompt on the same saved questions and switch only if the scores go up.

LangSmith popularity

34.4M
SDK downloads a week
+19.6% on the 4-week average
763
public agent repos use its SDK
29
GitHub stars, langchain-ai/langsmith-python
SDK downloads per weeknpm langsmith, pypi langsmith 34,445,055

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

Developer plan: 1 seat, up to 5k base traces / mo, then pay-as-you-go

Cheapest plan

$39 a month

Usage price

Plus: $39 / seat per month incl. up to 10k base traces / mo; trace overage is pay-as-you-go (rate not listed on pricing page); 1 LSU = $1 (Deployment/Fleet/Sandbox usage)

Plans

Base traces have 14-day retention, extended traces 180-day retention at an extra fee. Enterprise is custom pricing.

What one action costs

ActionPrice
1 Plus seat for a month (includes up to 10k base traces a month for the plan)$39
1 LSU of Deployment, Fleet or Sandbox usage$1.00
1 Tuned Evaluator run (Perceived Error), in LSU0.015 LSU
1 vCPU-hour of sandbox compute, in LSU0.0576 LSU
Price history
  • A year of the pricing page in the Internet Archive (4 months): the lowest monthly figure went from $39 (2025-10) to $49 (2026-10).
  • 2026-08: free plan no longer shown

As reported on the official pricing page, checked Oct 10, 2026. Prices change: confirm before you buy. langchain.com/pricing

Limits

Developer (no payment method on file)

5,000 traces a month

Developer (no payment method on file)

50,000 trace events an hour

Startup/Plus

500,000 trace events an hour

All plans

5,000 run create or update calls a minute per key; at most 25,000 runs in one trace

From the official docs. docs.langchain.com/langsmith/usage-and-billing.md

Status and incidents

Right now
Up
Last 30 days

0 incidents, 0 of them major

From the official status page, checked Nov 26, 2026. status.smith.langchain.com

Key and access

How it signs in

API key in the x-api-key header; the official packages read it from LANGSMITH_API_KEY.

Environment variable
LANGSMITH_API_KEY
Safe in browser code
No, keep it on your server
Card at sign-up

No

Steps only a person can do

  • Sign up for LangSmith and create an API key (a service key for production apps). Put it in .env as LANGSMITH_API_KEY with LANGSMITH_TRACING=true, kept out of git.
  • In an agent-based workspace, create the agent once with + Agent and copy its Agent ID. Set LANGSMITH_AGENT_ID and LANGSMITH_AGENT_ENVIRONMENT in .env.
  • Before going over 5,000 traces a month, add a payment method or choose the Plus plan, and set a monthly usage limit. No code change; optionally set LANGSMITH_TRACING_SAMPLING_RATE to log fewer traces.

Commercial use and your data

LangSmith is a paid online service with a free Developer plan, and you can use it for commercial apps. Your data stays yours and is not used to train models. The client packages are open source under the MIT license.

In a paid app
With conditions

Allowed under the LangSmith terms; you keep ownership of your data, and the hosted platform itself may not be copied or reverse engineered.

“As between Customer and LangChain, Customer Data and Customer Confidential Information are and will remain owned exclusively by Customer, the User, or their licensors, as applicable.” source

inside-app-bundle
Yes

The langsmith client packages are MIT licensed; the key must stay on the server.

“MIT License” source

client-work
With conditions

Fine on a paid seat or the client's own account; the data stays owned by the customer whose account it is.

“As between Customer and LangChain, Customer Data and Customer Confidential Information are and will remain owned exclusively by Customer, the User, or their licensors, as applicable.” source

Trains on what you send

No

“LangSmith does not use your data to train models.” source

Keeps your data

Base traces are kept 14 days, extended traces 180 days; some trace metadata may be kept indefinitely for billing and analytics.

“Base traces have a shorter retention period of 14 days. Extended traces have a longer retention period of 180 days.” source

Where data is stored

Cloud accounts in US (default), EU or APAC on Google Cloud, or US on AWS; Enterprise can also self-host.

“If your account is in a region other than US (the default), also set LANGSMITH_ENDPOINT to the API URL for your region.” source

Errors to handle

429 Too Many Requests

A per-minute rate limit or an hourly or monthly plan limit was reached.

Retry with backoff after the window resets (the per-minute limit clears 60 seconds after its window starts); if it keeps happening, log fewer traces (sampling) or move to a bigger plan.

429 monthly unique traces limit

The free Developer plan without a payment method hit 5,000 traces this month.

Add a payment method (then pay as you go) or wait for the new month in UTC.

Authentication fails outside the US region

The account lives in the EU, APAC or AWS US region but the app talks to the default US address.

Set LANGSMITH_ENDPOINT to your region's address, for example https://eu.api.smith.langchain.com.

413 Request Entity Too Large

A batch of runs or a single field is too big for the JSON batch upload.

Send large inputs, outputs and attachments through the multipart upload, which the official packages use.

Runs rejected after 25,000 in one trace

One trace holds at most 25,000 runs; later runs are dropped.

Split very long agent sessions into several traces.

Use it from an agent

Our agent check

6 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page yes, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

LangSmith Remote MCP

claude mcp add --transport http -s user langsmith https://api.smith.langchain.com/mcp

npm
npm install langsmith
PyPI
pip install langsmith

Alternatives

LangSmith This page

from $39/seat perFree tierOfficial MCP

Pydantic Logfire

Pick Pydantic Logfire when you want one place for AI agent traces plus logs and metrics of your services and servers.

from $2 per million recordsFree tier

LangWatch

Pick LangWatch when you want the same kind of tracing and testing as open source that you can also run yourself.

Free (open source)Free tierOfficial MCP

W&B Weave

Pick W&B Weave when your team already works in Weights & Biases and wants agent traces and evaluations there.

Free (open source)Free tierOfficial MCP

All llm observability and evals APIs

Get started

Tell your AI assistant

“Add LangSmith tracing to my AI agent: install langsmith, read LANGSMITH_API_KEY and LANGSMITH_TRACING from .env on the server, wrap the model client and the main function with traceable, and set LANGSMITH_ENDPOINT if my account is in the EU.”

  1. Create a free LangSmith account and an API key under Settings, API Keys.

    From docs.langchain.com/langsmith/observability.md

  2. Install the package next to your model provider's package.

    pip install -U langsmith openai

    From docs.langchain.com/langsmith/observability-quickstart.md

  3. Turn tracing on with environment variables; LangChain and LangGraph apps need nothing else.

    export LANGSMITH_TRACING=true
    export LANGSMITH_API_KEY="<your-langsmith-api-key>"

    From docs.langchain.com/langsmith/observability-quickstart.md

First request

From the evaluation quickstart (dataset.py), shortened to one example and without the main() wrapper; Client() reads LANGSMITH_API_KEY from the environment.

from langsmith import Client
client = Client()
dataset = client.create_dataset(
    dataset_name="Sample dataset",
    description="A sample dataset in LangSmith."
)
examples = [
    {
        "inputs": {"question": "Which country is Mount Kilimanjaro located in?"},
        "outputs": {"answer": "Mount Kilimanjaro is located in Tanzania."},
    },
]
client.create_examples(dataset_id=dataset.id, examples=examples)
print("Created dataset:", dataset.name)

Mistakes to avoid

Only setting LANGSMITH_API_KEY and expecting traces to appear.
Also set LANGSMITH_TRACING=true in the environment where the app runs.

The quickstart turns tracing on with this variable next to the key.

Using an EU or APAC account with the default endpoint.
Set LANGSMITH_ENDPOINT to the region's address, for example https://eu.api.smith.langchain.com.

The key is not recognized at the US address and every request fails to authenticate.

Setting LANGSMITH_PROJECT together with LANGSMITH_AGENT_ID and LANGSMITH_AGENT_ENVIRONMENT.
In an agent-based workspace use only the two agent variables; in a project-based or self-hosted workspace use LANGSMITH_PROJECT.

The docs say not to mix the legacy destination settings with agent addressing.

Putting the LangSmith key in front-end code to send thumbs up or down.
Create a presigned feedback token on the server and let the browser call that URL.

The key would be visible to every visitor.

Posting each run to the REST API inside the request path of the app.
Use the Python or TypeScript package, which batches and sends traces in the background.

Sending traces one by one and waiting for them slows the app down.

Questions

Is there a free plan?

Yes. The Developer plan is $0 for one seat with up to 5,000 base traces a month, then pay as you go, as reported on the pricing page.

Does LangSmith train models on my data?

No. The pricing page and the terms both say your traces, prompts and outputs are not used for training.

Do I have to use LangChain?

No. It works with many frameworks and model providers, and with plain code through its wrappers.

How long are traces kept?

14 days for base traces and 180 days for extended traces.

Can I log fewer traces to save money?

Yes. Set a sampling rate between 0 and 1, for example 0.75 to log three out of four traces.