Introduction
Yabanin is a self-hosted AI gateway. Applications send model requests to one endpoint; the gateway resolves a model, checks organization policies and budgets, and forwards allowed requests to the configured provider. Its admin API and dashboard manage the control plane and expose usage records.
Start with the quickstart to send a request to a local mock provider and check asynchronous request logging. For an existing request log, the offline spend audit works without any gateway or database.
What you can evaluate
| Area | Capabilities and relevant limits |
|---|---|
| Client protocols | OpenAI-compatible and Anthropic-compatible routes, including streaming where supported. The compatibility matrix distinguishes fixture, real-client, and live-provider evidence. |
| Routing and resilience | Model registry, rules, retries, fallback, and circuit breakers. Availability depends on configured providers and failure handling; see providers. |
| Organization controls | Gateway keys, roles, labels, credits, budgets, and provider credentials; start with organization setup. |
| Policies and agents | Request policies, guard detectors, agent credentials and tool controls; see policy pipeline and agent governance. |
| Cost analysis | Usage-based cost estimates and cache/routing simulations. Results depend on price coverage, workload, and acceptable output quality; see analytics and audit. |
| Caching | Exact and optional semantic caching. Semantic reuse needs an embedder and quality validation for your workload; see cache. |
| Request evidence | Optional signed lineage records model and region-related claims. A signature verifies the recorded claim's integrity, not physical processing location; see lineage. |
| SDKs | Small Go, Node, and Python clients with different endpoint coverage. Source installation and limitations are in the SDK guide. |
This is a Developer Preview. Implementation presence does not establish production readiness, live-provider compatibility, certification, or a hosted service commitment. Read the selected release's security notes and verify the flows you intend to operate.
Components and deployment boundaries
Application -> Gateway -> Configured provider
|
+-> PostgreSQL (configuration and records)
+-> Redis (cache and events) -> Loggerd -> PostgreSQL
Browser -> Dashboard -> Admin API
The unified yabanin binary can run gateway, admin, or loggerd separately.
yabanin dev combines those services in one process; PostgreSQL and Redis
still run separately. migrate applies embedded database migrations, seed
creates bootstrap records, and mcp is a separate optional partner bridge.
The yb binary provides operator commands, offline audit, and evaluation.
The quickstart exposes gateway port 8082 and admin API port 8086 on localhost. The optional React dashboard uses 5173 through Vite. Other Compose or Kubernetes deployments may map different ports. An API response at 8086 is not the web interface.
Self-hosting the gateway alone does not keep inference local. Review the complete path: external providers, local model endpoints, logs, caches, backups, and telemetry. Residency presets and signed records support controls and investigation; they are not legal or compliance certifications.
The architecture guide expands the request flow, persistence, optional integrations, and component boundaries.