Controlling AI Spend: How LangSmith Gateway Works
LangSmith has introduced a built-in LLM Gateway, a tool for managing AI agents at every stage of development and deployment. With Gateway, developers can set financial limits on LLM request spending, automatically strip personal data (PII) from prompts, and view full logs of all calls in real time. The integration is built directly into LangSmith, with no extra plugins or configuration.
AI-processed from LangChain Blog; edited by Hamidun News
LangChain's LangSmith has introduced LLM Gateway, a built-in tool for controlling spending on AI models, protecting user data and tracking every request in real time.
How can you control LLM spending without extra services?
LangSmith has built in LLM Gateway, which operates at the runtime level, at the moment a request executes, and controls spending on calls to OpenAI, Anthropic and other providers directly from the development environment.
How do you protect personal data in AI agents?
LLM Gateway lets you protect PII (users' personal data) and track every call in real time without additional infrastructure.
Is it possible to control spending on AI applications?
Yes. LangSmith Gateway lets developers control spending on calls to large language models, protect user data and track every call in real time, directly from the development environment.
How does PII protection work in LangSmith Gateway?
Gateway is built into LangSmith and works at the runtime level, sitting between the agent's code and the LLM provider's service (OpenAI, Anthropic and others) to protect users' personal data.
- Dec 2, 2026OpenAI Opens Dots Agent to ChatGPT Plus Subscribers With 10,000+ Plugins
- Dec 2, 2026MyLLM moves Claude Code, Grok and GPT to a server: a laptop needs only one token
- Dec 2, 2026T-Decision-1 9B scores 71.6 points and beats a model six times its size
- Dec 2, 2026ETH Zurich's Sensor Behind the Cheek Reads Silent Commands: 91.5% Accuracy at Rest, 47.6% While Walking
Key Questions Answered
How can you control LLM spending without extra services?
LangSmith has built in LLM Gateway, which operates at the runtime level, at the moment a request executes, and controls spending on calls to OpenAI, Anthropic and other providers directly from the development environment.
How do you protect personal data in AI agents?
LLM Gateway lets you protect PII (users' personal data) and track every call in real time without additional infrastructure.
Is it possible to control spending on AI applications?
Yes. LangSmith Gateway lets developers control spending on calls to large language models, protect user data and track every call in real time, directly from the development environment.
How does PII protection work in LangSmith Gateway?
Gateway is built into LangSmith and works at the runtime level, sitting between the agent's code and the LLM provider's service (OpenAI, Anthropic and others) to protect users' personal data.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
