Skip to content

Commit 26a7957

Browse files
authored
Update the billing information for LangSmith Deployment (#1615)
1 parent 61a2c27 commit 26a7957

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

src/langsmith/billing.mdx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,13 @@ The usage graph lets you examine how much of each usage-based pricing metric you
104104

105105
Navigate to the usage graph under **Settings** -> **Billing and Usage** -> **Usage Graph**.
106106

107-
There are two usage metrics that LangSmith charges for:
107+
There are several usage metrics that LangSmith charges for:
108108

109109
- LangSmith Traces (Base Charge): tracks all traces that you send to LangSmith.
110110
- LangSmith Traces (Extended Data Retention Upgrades): tracks all traces that also have our Extended 400 Day Data Retention.
111+
- LangSmith Deployment Agent Runs: tracks end-to-end invocations of deployed LangGraph agents.
111112

112-
For more details, refer to the [data retention conceptual docs](/langsmith/administration-overview#data-retention).
113+
For more details on traces, refer to the [data retention conceptual docs](/langsmith/administration-overview#data-retention). For more details on Agent Runs, refer to [LangSmith Deployment billing](#langsmith-deployment-billing).
113114

114115

115116
#### Invoices
@@ -179,6 +180,14 @@ For example, this is the expected configuration to keep 10% of all traces for ex
179180

180181
If you want to keep a subset of traces for **longer than 400 days** for data collection purposes, you can create another run rule that sends some runs to a dataset of your choosing. A dataset allows you to store the trace inputs and outputs (e.g., as a key-value dataset), and will persist indefinitely, even after the trace gets deleted.
181182

183+
### LangSmith Deployment billing
184+
185+
In addition to traces, LangSmith charges for deployed agents via LangSmith Deployment (formerly LangGraph Platform).
186+
187+
- **Agent Runs**: An Agent Run is one end-to-end invocation of a deployed LangGraph agent and is billed at $0.005 each. Nodes and subgraphs within a single agent execution are not charged separately. Calls to other LangGraph agents are charged separately to the deployment hosting the called agent. When using human-in-the-loop with interrupts, resuming after an interrupt creates a separate Agent Run.
188+
- **Deployment Uptime**: You are also charged for the time your deployment's database is live and persisting state. See the [pricing page](https://www.langchain.com/pricing) for uptime costs by deployment type (Development vs Production).
189+
190+
For high-volume deployment usage, please [contact our sales team](https://www.langchain.com/contact-sales) to discuss custom pricing options.
182191

183192
### Summary
184193

src/langsmith/faq.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@ Yes! You can use the [development version of Agent Server](/langsmith/local-serv
151151
This will connect to the Studio frontend hosted as part of LangSmith.
152152
If you set an environment variable of `LANGSMITH_TRACING=false`, then no traces will be sent to LangSmith.
153153

154-
### What does "nodes executed" mean for LangSmith usage?
154+
### What is an Agent Run?
155155

156-
**Nodes Executed** is the aggregate number of nodes in a LangGraph application that are called and completed successfully during an invocation of the application. If a node in the graph is not called during execution or ends in an error state, these nodes will not be counted. If a node is called and completes successfully multiple times, each occurrence will be counted.
156+
An Agent Run is one end-to-end invocation of a LangGraph agent deployed via LangSmith Deployment. Nodes and subgraphs are not charged separately. Calls to other LangGraph agents (through RemoteGraph or the LangGraph SDK or the API directly) are charged separately, to the deployment that hosts the agent being called. An interrupt for human-in-the-loop creates a separate Agent Run when resuming.

src/langsmith/pricing-faq.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ A seat is a distinct user inside your organization. We consider the total number
2525

2626
A trace is one complete invocation of your application chain or agent, evaluator run, or playground run. Here is an [example](https://smith.langchain.com/public/17c24270-9f74-47e7-b70c-d508afc448fa/r) of a single trace.
2727

28+
### What is an Agent Run?
29+
30+
An Agent Run is one end-to-end invocation of a LangGraph agent deployed via LangSmith Deployment. Nodes and subgraphs within a single agent execution are not charged separately. Calls to other LangGraph agents (through RemoteGraph or the LangGraph SDK or the API directly) are charged separately, to the deployment that hosts the agent being called. An interrupt for human-in-the-loop creates a separate Agent Run when resuming.
31+
32+
Agent Runs are billed at $0.005 each. For high-volume usage, please [contact our sales team](https://www.langchain.com/contact-sales) to discuss custom pricing options.
33+
2834
### What is an ingested event?
2935

3036
An ingested event is any distinct, trace-related data sent to LangSmith. This includes:

0 commit comments

Comments
 (0)