- Set up billing for your account: Complete the billing setup process for Developer and Plus plans, including special instructions for legacy accounts.
- Track contract usage (Enterprise): View prepaid contract consumption.
- Update your information: Modify invoice email addresses, business information, and tax IDs for your organization.
- Enforce spend limits: Learn how to manage your spend through usage limits and data retention.
- LangSmith Deployment billing: Understand deployment charges, compare sizes and hourly costs, and reduce deployment costs.
Set up billing for your account
Before using this guide, note the following:
- If you are interested in the Enterprise plan, contact our sales team. This guide is only for our self-serve billing plans.
Developer plan: set up billing on your personal organization
Personal organizations are limited to 5,000 traces per month until a credit card is added. To add a card:- Click Add card to remove trace limit.
- Add your credit card information.
- Once complete, you will no longer be rate limited to 5,000 traces, and you will be charged for any excess traces at rates specified on the pricing page.
Plus plan: set up billing on a shared organization
Team organizations are given an initial 10,000 traces per month. Any excess traces will be charged at rates specified on the pricing page.New organizations that you manually create are required to be on the Plus Plan. If you see a message about needing to upgrade to Plus to use this organization, follow these steps.
- Click Upgrade to Plus.
- Invite members to your organization, as desired.
- Enter your credit card information. Then, enter business information, invoice email, and tax ID. If this organization belongs to a business, check the This is a business checkbox and enter the information accordingly. For more information, refer to the Update your information section.
Track contract usage (Enterprise)
Contract usage tracking is available for Enterprise plan customers with prepaid commitments. You must have theorganization:manage permission to access this feature.
For details on viewing your prepaid contract consumption, refer to Contract usage.
For more details on the Enterprise plan, contact our sales team.
Update your information (Paid plans only)
To update business information for your LangSmith organization, head to the Billing and Usage page under Settings.Invoice email
To update the email address for invoices, follow these steps:- Navigate to the Plans and Billing tab.
- Locate the section beneath the payment method, where the current invoice email is displayed.
- Enter the new email address for invoices in the provided field.
- The new email address will be automatically saved.
Business information and tax ID
In certain jurisdictions, LangSmith is required to collect sales tax. If you are a business, providing your tax ID may qualify you for a sales tax exemption.
- Navigate to the Plans and Billing tab.
- Below the invoice email section, you will find a checkbox labeled Business.
- Check the Business checkbox if your organization belongs to a business.
- A business information section will appear, allowing you to enter or update the following details:
- Business Name
- Address
- Tax ID for applicable jurisdictions
- A Tax ID field will appear for applicable jurisdictions after you select a country.
- After entering the necessary information, click the Save button to save your changes.
Enforce spend limits
You may find it helpful to read the following pages, before continuing with this section on optimizing your tracing spend:
Some of the features mentioned in this guide are not currently available on Enterprise plan due to its custom nature of billing. If you are on the Enterprise plan and have questions about cost optimization, contact your sales rep or support via support.langchain.com.
Understand your current usage
The first step of any optimization process is to understand current usage. For details on the usage graph, granular usage, invoices, and contract usage, refer to View usage. LangSmith measures usage per workspace, because workspaces often represent development environments or teams within an organization.Set limits on usage

Set spend limit for workspace
- To set limits, navigate to Settings -> Billing and Usage -> Usage limits.
- Input a spend limit for your selected workspace. LangSmith will determine an appropriate number of base and extended trace limits to match that spend. The trace limits include the free trace allocation that comes with your plan (see details on pricing page).
For organizations with multiple workspaces only: For simplicity, LangSmith incorporates the free traces into the cost calculation of the first workspace only. In actuality, the free traces can be “consumed” by any workspace. Therefore, although workspace-level spend limits are approximate for multi-workspace organizations, the organization-level spend limit is absolute.
Configure trace tier distribution
LangSmith has two trace tiers: base traces and extended traces. Base traces have the base retention and are short-lived (14 days), while extended traces have extended retention and are long-lived (180 days by default, customizable for Enterprise customers). For more information, refer to the data retention conceptual docs. Set the desired default trace tier by selecting an option below the Default data retention label. All traces will have this tier by default when they are registered. By default, updating this setting will only apply to future incoming traces. To apply to all existing traces in the workspace, select the checkbox. If the default data retention is set to Base you can optionally use the slider to distribute trace limits across base and extended traces. LangSmith automatically provides a suggestion for this distribution but you can tailor this to your needs. For example, if you are running lots of automations or other features that may upgrade a trace to extended, you may want to increase your extended trace limits. To see the complete list of features that may upgrade a trace, see here.The extended data retention limit can cause features other than tracing to stop working once reached. If you plan to use this feature, read more about its functionality and side effects.
Other methods of managing traces
Customize extended retention period (Enterprise only)
Enterprise customers can customize the extended data retention period at the workspace level to meet compliance requirements. The default is 180 days (as of September 14, 2026), but this can be adjusted based on your organization’s needs. For more information, refer to Customize extended retention policy.Change project-level default retention
Data retention settings are adjustable per tracing project. At the project level, you choose between two tiers: base (14 days) or extended (180 days). To customize the extended duration up to 180 days, use workspace-level configuration (Enterprise only). In an agent-based workspace, each of an agent’s environments is its own tracing project, so retention is set per environment rather than per agent, and you reach the setting through the agent rather than a Projects list. Navigate to Projects > Your project name > Select Retention and select the desired default retention. This will only affect retention (and pricing) for traces going forward.
Apply extended data retention to a percentage of traces
You may not want all traces to expire after 14 days. You can automatically extend the retention of traces that match some criteria by creating an automation rule. You might want to apply extended data retention to specific types of traces, such as:- 10% of all traces: For general analysis or analyzing trends long term.
- Errored traces: To investigate and debug issues thoroughly.
- Traces with specific metadata: For long-term examination of particular features or user flows.
- Navigate to Projects > Your project name > Select + New > Select New Automation. In an agent-based workspace, start from the agent’s environment.
- Name your rule and optionally apply filters or a sample rate. For more information on configuring filters, refer to filtering techniques.
When an automation rule matches any run within a trace, then all runs within the trace are upgraded to extended data retention (180 days by default, customizable for Enterprise customers).

Summary
If you have questions about further managing your spend, please contact support via support.langchain.com.LangSmith Deployment billing
In addition to traces, LangSmith charges for deployed agents through LangSmith Deployment. Deployments are billed on the resources they consume:- Compute: Requested vCPU and memory per running replica, measured in LangChain Standard Units (LSU). Autoscaling adds billable replicas. Serverless compute charges stop at scale-down, not when traffic stops. Dedicated runs continuously.
- Database: Dedicated database charges are based on configured vCPU and memory, including while idle. Runtime autoscaling does not change the database charge. Database disk storage and the shared Serverless database are not billed.
Usage is sampled every 5 minutes and totaled hourly. Each running billable container is charged for that interval based on requested resources, not actual utilization.
Compare sizes and hourly costs
The following tables show the hourly cost of each size on LangSmith Cloud in GCP. All costs are in LSU per hour. A Serverless deployment is charged only while it runs. A scaled-down Serverless deployment costs 0 LSU. Serverless deployments do not scale out, and their shared database is not billed:
A Dedicated deployment is charged for its minimum runtime and its database at all times. This table assumes the database size matches the compute size:
The Dedicated minimum runtime is 2 API server replicas and 1 queue worker. Autoscaling adds API server or queue worker replicas. Each added replica costs the added replica rate for its size.
Dedicated database capacity on LangSmith Cloud in GCP is:
Database capacity differs by cloud provider. Compute and database sizes can be set independently.
Tracing and other product usage are separate charges.
Free Serverless deployments are available only in the Small size. A free deployment is not billed for any container, at any Scale down after setting. Dedicated deployments are never free.
To estimate the cost of a deployment, you can also use the deployment cost calculator on the pricing page.
Usage-based pricing replaced per-run and uptime pricing on October 1, 2026. Scale to zero requires the new pricing. For transition questions, contact support.
Reduce deployment costs
Deployment charges are based on the compute and database resources that each deployment requests. To lower your deployment bill, run fewer deployments, use smaller sizes, and let idle deployments scale down:- Use Serverless with a short scale-down time: A Serverless deployment stops compute charges when it scales down. Set Scale down after to
1 hourinstead of the default1 week. With the default, a deployment that receives a request at least once a week never scales down. Serverless deployments have cold starts and run one replica. Serverless is not yet available for deployments on AWS or Azure, or for self-hosted and hybrid deployments. - Run multiple agents on one deployment: Charges apply to each deployment, not to each agent. Define multiple graphs in one
langgraph.jsonso that your agents share one set of replicas and one database. This saves the most on Dedicated, where each deployment has at least 2 API server replicas, 1 queue worker, and its own database. - Use the smallest size that works: Each runtime replica and each database is charged by its size. On a Dedicated deployment, you can set the compute size and the database size separately. See Sizes.
- Delete unused deployments: An idle Dedicated deployment is charged for its minimum replicas and its database. An idle Serverless deployment is charged until it scales down.
- Limit preview deployments: Each preview deployment is a separate deployment and is charged like one. Lower Idle TTL and Max concurrent previews to limit how many preview deployments run, and for how long.
- Remove unneeded wake-ups: A request to a scaled-down Serverless deployment starts it again, including automated health checks. Enabled cron jobs and scheduled runs start the deployment up to 10 minutes before they are due. Remove cron jobs and health checks that you do not need.
- Shorter scale-down time: A Serverless Small deployment receives requests for 2 hours each weekday, 22 days each month.
- Multiple graphs: Three agents run on Dedicated Small deployments on GCP.
Autoscaling adds runtime cost to both Dedicated setups.
LangSmith does not support changing the type of a deployment after creation. To move to Serverless, create a new Serverless deployment and copy data from the previous deployment with the Agent Server API. You can also contact support for help with the migration.
Connect these docs to your agent of choice via MCP for real-time answers.

