Blank white background with no objects or features visible.

Meet TrueForge: The open-source, vendor-neutral agent harness. 50% lower cost. Explore Now→

LangChain Pricing in 2026: A Complete Breakdown

By TrueFoundry

Published: August 27, 2026

LangChain pricing can be an issue for many teams for one simple reason: the open-source framework, together with LangGraph, is free of charge, while the billing platform (and the actual bill itself) is not. The hosted platform LangSmith, where all LangChain observability, evaluation, deployment, and agent tooling take place, is charged per unit of use that is hardly predictable upfront.

The purpose of this document is to break down LangChain pricing plan by plan, explain the LCU/LSU usage model, and reveal the hidden pitfalls that lead to unexpected costs. With the picture of pricing fully outlined, we can move onto understanding how these costs change depending on the product development life cycle stage (from prototype to production).

Is LangChain Free?

Yes, LangChain and LangGraph frameworks themselves are open-source and are available for free (at least for self-hosting). What you pay LangChain Inc is the usage of its hosted observability, eval, prompt and deployment service - LangSmith.

Therefore, the actual question behind "langchain cost" or "langgraph pricing" searches is: what is the cost of LangSmith at our scale? The fact that the framework is free is the easiest one. LangSmith is the actual budgeting challenge since its cost highly depends on what your agents do after being deployed and not on the particular plan.

LangChain (LangSmith) Pricing Plans

LangSmith operates on three tiers and all extra usage is pay-as-you-go.

Plan Price What You Get
Developer $0 / seat • 1 seat
• 5,000 base traces/month included
• Pay-as-you-go beyond included traces
• Community support
Plus $39 / seat / month • Unlimited seats
• 10,000 base traces/month included
• Pay-as-you-go beyond included traces
• Access to Deployment & Engine
Enterprise Custom • Self-hosted or hybrid deployment
• Custom SSO & RBAC
• Enterprise support SLA

In theory, this sounds easy enough. An individual gets to build for free, a small team pays a $39 per seat license, and larger organizations have an option to get an Enterprise contract. However, this is where things start becoming complicated since this is just the licensing fee, and the true cost of using LangChain comes from its usage.

How LCUs and LSUs Actually Add Up?

There are two different types of units in which usage is calculated at LangSmith: LangChain Compute Unit (LCU), which costs $1.50 and is used for computing and work, and LangChain Storage Unit (LSU), which is priced at $1.00 and includes tracing and storage.

Almost everything in the platform will use either LCU, LSU, or both. Deployments, sandboxes, no-code agents of the Fleet, and the Engine – all of these measure your usage in LCUs and LSUs in some way. While this gives flexibility, this also makes the monthly cost unpredictable – it will depend on how much your agents run, how many traces they produce, and how long this data is stored. Two different teams using the same $39 license will likely get very different bills based on their workload, making budgeting and financial review challenging.

What's Included vs What Costs Extra?

This is just the base cost of the platform; the actual cost of using LangChain tends to go up here:

  • Tracing overage is pay-as-you-go. After the initial quota of 5k (for Developers) and 10k (for Plus tier) traces is consumed, any additional trace will be counted towards your bill. A single agent can produce thousands of traces per day.
  • The Engine works on a schedule. LangSmith Engine will run on average every six hours and use around 5–30 LCUs per run. In theory, that's almost 120 runs per month without any work on your part, a constant charge that may rival or surpass the cost of the seats you purchase.
  • Retention is tiered. Base traces will be stored for 14 days. Extending this storage period to the useful 180 days requires extended traces, costing extra money, and it just happens that extended traces are what you need to comply with regulations, debug and tune your models.
  • Self-hosting is only possible in the Enterprise edition. In case you need LangSmith hosted inside your private VPC, then it's time to consider the Enterprise edition of LangSmith with custom pricing. No self-hosting option exists in Developer or Plus editions, making this requirement a clear case for a sales call.

Nothing is being hidden from you in any malicious way. This is just an example of usage-based pricing, which makes this pricing hard to predict and easy to underestimate.

A Realistic LangChain Cost Example

For example, imagine that a team of five uses Plus plans. Seats by themselves cost $195 monthly. Enable the Engine and add a conservative ten LCUs per run multiplied by 120 runs per month – you get yet another $1,800 monthly bill. Now add an always-on production deployment and its metering, and you are well over $2,000 without trace overages.

Now the traces scale up with usage, increase retention for the traces that matter to you, and the bill keeps rising on an unpredictable curve. The plan was set at $39 per seat. Here is what the invoice looks like. That is the usage-metered pricing pattern to look out for, and it is the perfect time to contrast it with a platform designed for predictability.

Total Cost of Ownership Teams Miss

Comparing only the entry-level subscription price is one of the easiest ways to underestimate the cost of running AI applications in production. The total cost of ownership often includes much more than the platform license itself, such as:

  • Infrastructure and operations: Compute, storage, DevOps effort, and on-call support required to deploy and maintain production workloads.
  • Observability and data retention: Many organizations, particularly those in regulated industries, need to retain traces and logs for months rather than days, which can significantly increase storage costs.
  • Security and governance: Features such as SSO, RBAC, audit logs, guardrails, and compliance controls are often available only on enterprise plans or as paid add-ons.
  • Multiple platform subscriptions: If observability, model gateways, deployment, and governance are provided by separate products, organizations must purchase, integrate, and maintain multiple tools, increasing both software and operational costs.

Looking beyond the advertised seat price and estimating your total cost of ownership - including usage charges, infrastructure, retention, and enterprise features—provides a much more accurate picture of what you'll spend as your AI applications scale.

TrueForge: The Open-Source Agent Harness to Skip the Usage-Based Guesswork

If the LCU/LSU model above is the part of LangChain pricing that's hard to plan around, it's worth knowing there's now an open-source alternative built specifically to avoid that pattern. TrueForge is TrueFoundry's open-source, vendor-neutral agent harness, MIT licensed, with the full runtime in the repo rather than a cut-down free tier.

Getting started takes one command: npx @truefoundry/trueforge runs it locally with no extra infrastructure, and you're chatting with your first agent in a couple of minutes. The quickstart docs walk through picking a model provider and connecting your first MCP server from there.

Repo: https://github.com/truefoundry/trueforge

The pricing model is the opposite of metered compute and storage units: the harness itself has no license fee and no per-run charge. You pay for the models you route to, same as you would anyway, and nothing else.

What you get in that open-source runtime:

  • Sandboxed execution for code, files, and long-running tasks, with scoped credentials that don't escape the sandbox boundary.
  • Human-in-the-loop approvals that pause sensitive tool calls for sign-off, gated once rather than per agent.
  • Memory and state that persists across restarts, so long-running tasks resume where they left off.
  • Observability and tracing at the step level, every model call and tool call accounted for.
  • Context engineering (subagents, preload tools, large-result offloading, automatic compaction) that keeps token usage down without you managing it by hand.

Conclusion

LangChain itself is free, but building and operating production AI applications with the LangChain ecosystem isn't. Once you move beyond local development, costs are driven by LangSmith usage, including compute, storage, deployments, trace retention, and other metered services. While this usage-based model offers flexibility, it can also make monthly spending difficult to predict as workloads grow.

Before choosing a platform, look beyond the headline seat price and evaluate the total cost of ownership including infrastructure, observability, governance, and operational overhead. Understanding these costs upfront will help you choose an AI platform that fits both your technical requirements and your budget as you scale.

FAQ

What is the pricing of LangChain?

The LangChain framework itself is free and open-source. The hosted solution LangSmith is free for the Developer tier ($0) and costs $39/seat/month for the Plus tier with usage charged on top (LCU – $1.50, LSU – $1.00 and per-pay traces).

Is LangChain free and open source?

Yes, the LangChain and LangGraph packages are open source and self-hosting, and therefore you pay only for the underlying compute. Charges start when you use the premium LangSmith offering for monitoring, evaluation, or hosting.

What is the difference between pricing models of LangSmith and LangGraph?

LangGraph is part of the open-source framework. LangSmith is a paid offering where charges for the hosted version of LangGraph are computed via the LangSmith LCU/LSU model.

Try now.

One gateway for all your models, MCP servers, and agents.
No credit card needed.

Start free
Table of Contents

One Gateway for Every LLM, Agent and MCP Server

Book a 30-min with our AI expert

Book a Demo

The fastest way to build, govern and scale your AI

Book Demo
Summarize with
ChatGPT logo by OpenAI
Perplexity AI logo
Blurry red snowflake on white background, symmetrical frosty design with soft edges and abstract shape.

Discover More

No items found.
September 9, 2026
|
5 min read

Agent Events, Explained: The Runtime Contract Behind Reliable AI Agents

No items found.
September 8, 2026
|
5 min read

Export TrueFoundry AI Gateway traces to Opik with OpenTelemetry

No items found.
September 7, 2026
|
5 min read

Claude Agent SDK vs Claude Managed Agents: Which Should You Run in Production?

No items found.
September 7, 2026
|
5 min read

Claude Managed Agents Alternatives: Top 5 Agent Harnesses to Consider in 2026

No items found.
No items found.

Recent Blogs

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.
Take a quick product tour
Start Product Tour
Product Tour