← Back to integrations

Klu.ai with Meridian

Connect Klu.ai to Meridian via a custom OpenAI-compatible provider. Route all LLM calls through Meridian's unified gateway for logging, caching, and rate limiting.

Provider Setup

OPENAI_API_BASE=https://api.meridian.sh/v1
OPENAI_API_KEY=sk-meridian-xxxx
DEFAULT_MODEL=meridian-gpt-4o

Set these environment variables in your Klu.ai deployment. Meridian proxies requests to your upstream provider transparently.

Configuration

  1. Navigate to Klu.ai → Settings → Model Providers.
  2. Select Custom OpenAI as the provider type.
  3. Enter your Meridian base URL and API key from above.
  4. Save and run a test prompt to confirm connectivity.

Verification

Once connected, all Klu.ai requests will appear in your Meridian dashboard under Logs. Enable caching in Meridian to reduce latency and cost on repeated prompts.