Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Private beta: The LLM Gateway is in private beta. APIs and features may change as we iterate. Sign up for the waitlist to get access.
- Authenticates the caller using their LangSmith API key.
- Resolves the actual provider API key from your workspace’s Provider Secrets.
- Evaluates governance policies (spend limits, PII redaction, secrets redaction).
- Proxies the request to the upstream provider.
- Traces the call to LangSmith.
Feature availability
| Capability | Description |
|---|---|
| Spend limits | Hard-block enforcement at the organization, workspace, API key, or user level. When a cap is hit, the caller receives a 402 response with an actionable error message. |
| Spend visibility | Real-time cost rollups by workspace, user, API key. Per-model visibility can be had via Custom Charts. |
| PII redaction | Detects and redacts names, places, nationality, religion, political affiliation, and ages from requests before they reach the model. |
| Secrets redaction | Detects and redacts US phone numbers, US SSNs, API keys, tokens, and credentials from requests. Covers AWS, GitHub, GitLab, OpenAI, Anthropic, GCP, Azure, Slack, Datadog, PyPI, npm, private keys, and LangSmith tokens. |
| LangSmith Engine integration | Policy violations surface as issues in LangSmith Engine. Click through from a violation to the trace that produced it. |
| Audit logging | Administrative changes to gateway configuration and gateway invocations are logged. |
| Tracing | Every gateway-proxied call appears in the same LangSmith workspace as the rest of your agent’s traces. Routing through the gateway does not fragment your observability. |
Supported integrations
- Anthropic
- OpenAI
- Google Gemini
Known limitations
- Claude Desktop: no marketplace plugins supported. The Chat tab not visible, but Cowork is functional.
- Codex Desktop: no marketplace plugins supported.
- Cursor: IDE integration is not yet available.
- ChatGPT Desktop / Gemini Desktop: not configurable.
Resources
Spend policies
Set and manage cost limits across your organization.
PII and secrets redaction
Prevent sensitive data from reaching LLM providers or trace storage.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

