Skip to main content

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​

AreaCapabilities and relevant limits
Client protocolsOpenAI-compatible and Anthropic-compatible routes, including streaming where supported. The compatibility matrix distinguishes fixture, real-client, and live-provider evidence.
Routing and resilienceModel registry, rules, retries, fallback, and circuit breakers. Availability depends on configured providers and failure handling; see providers.
Organization controlsGateway keys, roles, labels, credits, budgets, and provider credentials; start with organization setup.
Policies and agentsRequest policies, guard detectors, agent credentials and tool controls; see policy pipeline and agent governance.
Cost analysisUsage-based cost estimates and cache/routing simulations. Results depend on price coverage, workload, and acceptable output quality; see analytics and audit.
CachingExact and optional semantic caching. Semantic reuse needs an embedder and quality validation for your workload; see cache.
Request evidenceOptional signed lineage records model and region-related claims. A signature verifies the recorded claim's integrity, not physical processing location; see lineage.
SDKsSmall 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.

Next steps​