@x12i/ai-gateway
Unified LLM gateway for routing, identity, cost, and Activix
One invoke path for providers, OpenRouter, structured logging, and gateway-owned billing metadata.
npm
Install for agents & tooling
Knowledge SDK — install as a devDependency only (not a production runtime).
npm i -D @x12i/ai-gateway-docs
AI Gateway
@x12i/ai-gateway is the host-facing gateway for LLM provider routing, mandatory runtime identity, optional Activix persistence, and cost resolution via @x12i/ai-tools.
Start here
- Install
@x12i/ai-gateway - Pass
identity+model+maxTokenson every call - Prefer OpenRouter with
OPENROUTER_API_KEY, or set direct provider keys
Knowledge package for agents: @x12i/ai-gateway-docs (devDependency only).