Next-Gen LLM Dependency & Output Observability

Never let upstream LLM errors blindside your app

A lightweight, non-blocking telemetry client SDK with transparent wrappers for OpenAI & Anthropic. Track P95/P99 latency spikes, 429 rate limit cascades, token expenditure, and structured JSON schema conformance failures in real-time.

$npm install llm-watchdog
npm v0.1.0
Global Upstream LLM Health StatusLive Ingest Telemetry
OPENAI
99.98%
P95: 780ms • Nominal
ANTHROPIC
DEGRADED
3x 429 Rate Limits detected
GEMINI
100%
P95: 920ms • Nominal
GROQ
100%
P95: 195ms • Ultra-fast
Zero-Friction Integration

Two lines of code. Zero added user latency.

Install via npm or stream telemetry directly over HTTP. Our client SDK wraps OpenAI, Google Gemini, and Anthropic seamlessly.

$npm install llm-watchdog
import OpenAI from 'openai';
import { GoogleGenerativeAI } from '@google/generative-ai';
import { initMonitor } from 'llm-watchdog';

// 1. Initialize client watchdog
const monitor = initMonitor({ apiKey: process.env.WATCHDOG_API_KEY });

// 2. Transparently wrap any client SDK (1 line of code)
const openai = monitor.wrapOpenAI(new OpenAI());
const genAI = monitor.wrapGemini(new GoogleGenerativeAI(process.env.GEMINI_API_KEY!));

// 3. Make completions as usual — latency, tokens & schema diffs are buffered non-blocking!
const completion = await openai.chat.completions.create({
  model: 'gpt-4o',
  messages: [{ role: 'user', content: 'Extract invoice JSON' }],
  response_format: { type: 'json_object' },
});
Engine Capabilities

Engineered specifically for production LLM dependencies

P95 / P99 Tail Latency Tracking

Detect when an upstream model is hanging or slowing down before your users complain. Graph P50 vs P95 percentiles across time intervals.

429 Rate Limit Surge Detection

Catch unexpected token or request per minute rate limit floods instantly and route traffic to fallbacks before your queues backup.

JSON Schema Conformance Diffs

When an LLM returns a 200 OK but hallucinates invalid JSON types or misses required properties, Watchdog tags the trace and shows the error diff.

Zero-Overhead Async Dispatch

Telemetry is buffered in memory and flushed via keepalive fetch requests in the background. Your application code never experiences added blocking latency.

Multi-Provider SLA Comparison

Compare OpenAI GPT-4o against Anthropic Claude 3.5 Sonnet and Groq Llama 3 side-by-side on real production traffic with exact token pricing.

Automated Slack Webhook Alerts

Configurable threshold policies post rich incident blocks to your engineering Slack channels the moment error thresholds are breached.

Transparent Pricing

Start free, scale effortlessly

Developer

$0 / month

For personal projects and local development.

10,000 monthly traces
24h retention
OpenAI & Anthropic SDK
1 Slack Alert Rule
Most Popular

Scale Pro

$49 / month

For production apps requiring uptime SLA assurance.

500,000 monthly traces
30-day retention
P95 / P99 Anomaly Alerts
Schema Conformance Diffs
Unlimited Slack Webhooks

Enterprise

$299 / month

For multi-team organizations with compliance needs.

Unlimited telemetry traces
1-year retention
PII & Prompt Masking
Dedicated Solutions Engineer
Contact Engineering

Get in touch with our team

Have questions about custom model integrations, enterprise volume, or architecture? Send a message and we will respond directly.