Running Locally

Self-host LangDB AI Gateway Enterprise locally with ClickHouse, PostgreSQL, and Redis for full control over tracing, caching, and analytics.

Dependencies

  • ClickHouse (for request tracing & analytics)

  • PostgreSQL (for metadata and user management)

  • Redis (for caching and rate‑limiting)

Launch Options

You can self host our enterprise version using two options.

Using binary

Supported Platforms:

  • x86_64

  • aarch64

ai-gateway-enteprise serve -c ai-gateway.yaml 

Using docker

docker run -it 
    -p 8080:8080 \
    <private-url>/ai-gateway-enteprise serve \
    -c ai-gateway.yaml 

Make Your First Request

Test the gateway with a simple chat completion:

Using MCPs Servers

Invoke an MCP server alongside your request:

Next Steps:

Refer to https://docs.langdb.ai/ for understanding various features.

Last updated

Was this helpful?