> ## 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.

# IP allowlisting

> Static egress and ingress IP addresses for LangSmith Cloud, and instructions for allowlisting them in your firewall or VPC configuration.

## Allowlisting IP addresses

### Egress from LangChain SaaS

Internet-bound traffic leaving LangSmith services is routed through a NAT gateway and originates from the following IP addresses. Vertex AI requests can use a different path, as described in [Allow Vertex AI access](#allow-vertex-ai-access).

> [!NOTE]
>
> Agents on [LangSmith Agent Server](https://docs.langchain.com/langsmith/deployment.md) egress from a [separate IP list](https://docs.langchain.com/langsmith/cloud-platform-features.md#allowlist-ip-addresses).

| GCP US | GCP EU | GCP APAC | AWS US | AZURE US |
| - | - | - | - | - |
| 34.59.65.97 | 34.13.192.67 | 34.151.89.217 | 18.188.147.158 | 9.234.98.209 |
| 34.67.51.221 | 34.147.105.64 | 34.116.97.4 | 18.219.86.202 | |
| 34.46.212.37 | 34.90.22.166 | 34.151.162.199 | 3.21.57.192 | |
| 34.132.150.88 | 34.147.36.213 | 34.116.66.129 | | |
| 35.188.222.201 | 34.32.137.113 | 35.189.8.125 | | |
| 34.58.194.127 | 34.91.238.184 | 35.201.9.237 | | |
| 34.59.97.173 | 35.204.101.241 | 35.189.57.29 | | |
| 104.198.162.55 | 35.204.48.32 | 34.40.198.11 | | |

Allowlisting these IP addresses may be useful when connecting to your own AzureOpenAI service or other endpoints required by the Playground or Online Evaluation.

#### Allow Vertex AI access

For Vertex AI connections from LangSmith SaaS on GCP, public egress IP allowlisting alone might not satisfy VPC Service Controls. Private Google Access keeps Google API traffic within Google's network instead of using the NAT gateway's public IP addresses. See Google's [source IP access guidance](https://docs.cloud.google.com/vpc-service-controls/docs/access-level-design#granting_access_based_on_source_ip).

Configure a VPC Service Controls ingress rule for the source project corresponding to your LangSmith SaaS region:

| LangSmith SaaS region | Source GCP project ID | Source project number for ingress rules |
| - | - | - |
| US (`smith.langchain.com`) | `langchain-prod` | `projects/83409505503` |
| EU (`eu.smith.langchain.com`) | `langchain-prod` | `projects/83409505503` |
| APAC (`apac.smith.langchain.com`) | `langchain-apac-prod` | `projects/774533884377` |

These source projects are specifically for Vertex AI connections from the US, EU, and APAC GCP SaaS regions. Use the numeric `projects/PROJECT_NUMBER` value in the ingress rule, not the project ID. Restrict the rule to the calling identity, your destination projects, and the required Vertex AI operations. The connection still requires the appropriate IAM permissions. See Google's [ingress rule configuration](https://docs.cloud.google.com/vpc-service-controls/docs/ingress-egress-rules).

Select the source project by your LangSmith SaaS region, not the Vertex AI model's region. Pod or node scaling does not change the source project number. Moving the source workload or VPC network to another project can change the required allowlist.

### Egress IP inventory

Fetch the [egress IP inventory (JSON)](https://docs.langchain.com/langsmith/egress-ip-addresses.json) to automate allowlist updates.

Filter `addresses` by:

* `service`: `langsmith` or `langsmith-deployment` (deployed agents).
* `cloud`: `gcp`, `aws`, or `azure`.
* `region`: `us`, `eu`, or `apac`.

Allowlist every matching `cidr`. Listed addresses may be used now or in the future. Poll periodically and compare `version` to detect changes. Review additions and removals before updating firewall rules.

### Ingress into LangChain SaaS

The LangChain endpoints map to the following static IP addresses. Traffic terminates on the **GCP load balancers** (US/EU/APAC), the **Azure** ingress in `centralus`, or, for **AWS US**, the **Network Load Balancer** in `us-east-2` (API and gateway hostnames):

| GCP US | GCP EU | GCP APAC | AWS US | Azure |
| - | - | - | - | - |
| 34.8.121.39 | 34.95.92.214 | 34.149.149.213 | 3.129.27.169 | 20.106.1.6 |
| 34.107.251.234 | 34.13.73.122 | | 13.58.107.119 | |
| | | | 16.59.151.49 | |
| | | | 16.59.98.147 | |
| | | | 3.134.146.243 | |
| | | | 3.150.87.246 | |
| 34.56.47.75 (new) | 34.32.254.168 (new) | 34.151.160.163 (new) | | |

Allowlist every address in the column for your region so your private network can reach LangSmith Cloud (`api.smith.langchain.com`, `smith.langchain.com`, `beacon.langchain.com`, `eu.api.smith.langchain.com`, `eu.smith.langchain.com`, `eu.beacon.langchain.com`, `apac.api.smith.langchain.com`, `apac.smith.langchain.com`, `apac.beacon.langchain.com`, `azure.smith.langchain.com`, `azure.api.smith.langchain.com`, `beacon.azure.langchain.com`, `aws.api.smith.langchain.com`, `aws.smith.langchain.com`).

GCP US, EU, and APAC are moving to the additional addresses in the last row (`34.56.47.75`, `34.32.254.168`, and `34.151.160.163`). Add those addresses now. The current GCP addresses keep serving these hostnames until February 10, 2027. After that date, the hostnames use only the additional addresses. Remove a current GCP address from your allowlist only after the hostname no longer resolves to it. The AWS US and Azure addresses are not changing.

This list is only for LangSmith Cloud. A BYOC or self-hosted deployment uses the load balancer in your own environment. If your private network reaches Cloud over the public internet, including through a BYOC control plane connection, allowlist the Cloud addresses for your region. AWS PrivateLink, GCP Private Service Connect, and Azure Private Link do not use these addresses.

***

[Connect these docs](https://docs.langchain.com/use-these-docs.md) to your agent of choice via MCP for real-time answers.

[Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/langsmith/cloud-ip-allowlist.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
