AI frameworks
LangChain & LangGraph
ChatOpenAI(base_url=…) works unchanged; callbacks emit ZephAI usage metadata.
from langchain_openai import ChatOpenAI llm = ChatOpenAI( base_url="https://api.zephai.dev/v1", api_key=ZEPHAI_KEY, model="zeph-nexus-4", )
Vercel AI SDK
Streaming UI, tool calling and structured output through the OpenAI-compatible provider.
import { openai } from "@ai-sdk/openai"; const model = openai("zeph-nexus-4", { baseURL: "https://api.zephai.dev/v1", });
LlamaIndex
Drop-in LLM + embedder, with per-query cost attribution in the ZephAI console.
from llama_index.llms.openai_like import OpenAILike llm = OpenAILike( model="novalab-mix-70b", api_base="https://api.zephai.dev/v1", is_chat_model=True, )
Haystack & Dify
Documented connectors with pipeline templates for RAG and agent workflows.
See recipesObservability & monitoring
OpenTelemetry
Traces, metrics, logs
Export spans for every gateway call — zephai.request with token, cost and vendor attributes.
Langfuse
Tracing & evals
Point the OTel exporter at Langfuse to get prompt-level traces with cost per span.
Datadog
Metrics & monitors
Official integration pack: dashboards for latency, spend and error classes out of the box.
Grafana Cloud
Dashboards & alerts
Import the JSON dashboard, attach your Prometheus datasource, ship SLO alerts to PagerDuty.
Cloud, IaC & workflow
AWS
Bedrock-style routing
PrivateLink to the gateway in us-east-1 and eu-west-1 for VPC-only traffic.
Google Cloud
Vertex + GKE
Workload Identity Federation for keyless auth from GKE and Cloud Run.
Azure
Entra ID SSO
SAML SSO, SCIM provisioning and Private Link in West Europe.
Terraform
Provider & module
Manage keys, budgets, webhooks and model allowlists as code.
resource "zephai_key" "prod" { name = "prod-backend" rate_limit = 500 spend_cap = 4000 }
Slack & Discord
Alerts & incident channels
Budget breaches, model degradation and payout events straight into your channel.
Add to SlackZapier & Make
No-code actions
Trigger zaps from webhooks or call any model from a 30,000-app canvas.
View appZephAI CLI
zeph · brew install
Keys, budgets, log tailing and model evals from your terminal.
zeph logs --model zeph-nexus-4 --fail zeph keys create prod-backend --cap 40
Two ways to integrate
Most teams start with the base-URL swap and add webhooks when they need the gateway to push events.
Option A · base URL swap
60 secondshttps://api.zephai.dev/v1/chat/completionsWorks with every OpenAI SDK, LangChain, Vercel AI SDK, LlamaIndex and anything that accepts a base URL. Keep your key in your secret manager — just point it at ZephAI.
QuickstartOption B · webhooks
Event-drivenbudget.threshold80% / 100% of a limitmodel.degradedSLO breach on a listingpayout.paidVendor settlementkey.exposedLeak scan hitMissing an integration?
We ship partner connectors every month — tell us what you run and we'll prioritize it.