Introducing Virtual MCP Servers
LogoLogo
GithubJoin SlackSignupBook a Demo
  • Documentation
  • Self Hosted
  • Integrations
  • Guides
  • Enterprise
  • Introduction to AI Gateway
  • Supported Models
  • Supported MCP Servers
  • Getting Started
    • Quick Start
    • Working with API
    • Working with Multiple Agents
    • Working with MCPs
    • Working with Headers
    • User Tracking
    • Using Parameters
  • Concepts
    • Thread
    • Trace
    • Run
    • Label
    • Message
    • Virtual Models
    • Virtual MCP Servers
  • Features
    • Tracing
    • Routing
      • Using Router
    • MCP Support
    • Publishing MCP Servers
    • Usage
    • Analytics
    • Guardrails
    • User Roles
    • Cost Control
  • Python SDK
    • Getting Started
  • API Reference
  • Postman Collection
Powered by GitBook
LogoLogo

Social

  • LinkedIn
  • X
  • Youtube
  • Github

Platform

  • Pricing
  • Documentation
  • Blog

Company

  • Home
  • About

Legal

  • Privacy Policy
  • Terms of Service

2025 LangDB. All rights reserved.

Documentation

Govern, secure, and enhance your AI traffic.

Last updated 16 days ago

Was this helpful?

Getting Started

Govern, Secure, and Optimize your AI Traffic. LangDB AI Gateway provides unified interface to all LLMs using OpenAI API format. Built with performance and reliability in mind.

from openai import OpenAI
client = OpenAI(
    base_url="https://api.us-east-1.langdb.ai"  # LangDB API base URL,
    api_key=api_key,  # Replace with your LangDB token
)
# Make the API call to LangDB's Completions API
response = client.chat.completions.create(
    model="gpt-4o",  # Use the model
    messages=[{"role": "developer", "content": "You are a helpful assistant."},
              {"role": "user", "content": "Hello!"}],  
    extra_headers={"x-project-id": "xxxxx"} # LangDB Project ID
)

Discover LangDB features and capabilities.

Features

Monitor and debug LLM workflows.

Optimize LLM selection dynamically based on cost, speed, and availability.

Enable compatibility and integration with MCP systems.

Track costs effectively.

Gain insights of your API calls.

Extract and analyze model interactions to improve AI performance.

Ensure safe, reliable, and compliant AI interactions.

A full featured and managed AI gateway that provides instant access to 250+ LLMs with enterprise ready features.

Introduction to LangDB’s AI Gateway and its capabilities.

Guide to integrating LangDB using its API.

Learn how to track and analyze multiple AI agents in LangDB.

Explore the Python SDK for seamless integration with LangDB.

Tracing

Routing

MCP Support

Usage

Analytics

Evaluation

Guardrails

Quick Start

What is AI Gateway ?

Working with API

Tracing Multiple Agents

Python SDK

A self-hosted option for organizations that require complete control over their AI infrastructure.

Self Hosted