# Observability, governance and self-training for all enterprise AI traffic.

Deploy a single high-efficiency Rust binary inside your VPC, data center or air-gapped cluster. Get full visibility into spend, cache efficiency and GPU performance, enforce inline PII and human-approved policies, activate self-training loops, and let Decision AI pick the best model across 170+ local and BYOK endpoints at 0% token markup.

- Request a POC (https://avelin.ai/poc#request)
- Explore models (https://avelin.ai/models)

Validated on your own infrastructure in a scoped pilot · On-premise, VPC, air-gapped or dedicated tenant

### Deep observability, FinOps and GPU telemetry

AI budgets overrun when teams cannot see which agent, cold prompt cache or workflow step drives spend. AVELIN gives CTOs, CISOs and CFOs granular operational analytics with zero prompt text stored in the metrics ledger.

1. Dual-priced real-time ROI and Net Savings. Every request is priced on the spot against what the same work costs on your reference flagship tier (net of AI-judge scoring cost for true Net Savings), attributed by organization, project, person and key with CSV and JSON chargeback exports.
2. Hierarchical budgets that refuse rather than overrun. Set hard daily, monthly or term spend caps from the organization down to individual owners and API keys. Exhausted keys stop cleanly at the threshold instead of producing surprise invoices.
3. 13-slice cache, latency, trajectory and GPU analytics. Diagnose prompt-cache hit rates, root causes and dollar overpay of cold misses, TTFT and weighted tail latency, multi-step agent trajectory switches, /v1/outcomes pipeline signals, and native vLLM / SGLang backend metrics (KV-cache utilization, prefill vs. decode, speculative decoding acceptance and generation starvation).
4. Per-request explainability ('Why this model'). Inspect any live or historical call end to end: key admission, inline safety verdict, task domain and difficulty, selected model and reasoning depth, cascade failover path and exact dollars saved.

Figure. Real-time spend, Net Savings against your reference tier and per-key budgets inside the embedded AVELIN console.
Alt text: Schematic of the observability and FinOps view in the AVELIN Control Plane console, showing spend, savings against reference tier and budget caps by team key.

- How we measure cost per task (https://avelin.ai/method)
- Enterprise licensing (https://avelin.ai/control-plane#pricing)

### High-efficiency Rust runtime with minimal resource footprint

Engineered to sit on the critical path of production agents without Python proxy bottlenecks, heavy sidecar stacks or garbage-collection pauses.

1. <0.2 ms p50 hot-path overhead (~45x faster than Python gateways). A compiled memory-safe Rust engine processes ~37,600+ requests/s on four cores (~47x higher throughput per core than Python proxy stacks) while executing auth, rate admission, pricing and non-blocking telemetry.
2. Role-based web console compiled into one binary. Ships one unified web application for installation operators, organization admins, developers and auditors embedded directly inside the binary, complete with an interactive Playground and live request feed.
3. Buffered mid-stream failover and automated model probing. Recovers dropped upstream SSE streams invisibly on long agent turns, quarantines exhausted provider keys automatically, and profiles new endpoints pre-production (avelin probe) for dialect support, streaming quirks, tool calling and reasoning controls.
4. Air-gapped and sovereign deployment ready. Installs in minutes via a cryptographically signed offline Helm bundle with zero internet dependency, hot config reload (SIGHUP), Prometheus /metrics and OpenTelemetry tracing.

- Compare deployment modes (https://avelin.ai/deployment)
- Private deployment scope (https://avelin.ai/private-deployment)

### Shadow self-training with frozen production releases

Turn approved operational traffic into a compounding intelligence asset inside your own security perimeter, while keeping live production deterministic and auditable.

1. Per-key consent and pre-storage PII redaction. Keep regulated production keys in strict zero-retention mode while enabling capture selectively on approved dev, staging or anonymized keys, where emails, payment cards, IBANs, phone numbers and secrets are masked before storage.
2. Shadow learning from verified outcomes, expert edits and AI judges. Candidate checkpoints learn from verified workflow outcomes (POST /v1/outcomes), human expert corrections and budget-capped pairwise AI judges during background windows, pausing automatically whenever live production traffic rises.
3. Frozen in production, promoted only on explicit operator sign-off. Live production always serves frozen, versioned weights that never mutate silently. Candidate versions are validated against your task-by-difficulty Knowledge Map and promoted (for example, v1.4 to v1.5) only after statistical proof and human operator approval, tapering judge spend to ~1% drift monitoring once proven.

- Decision AI & execution models (https://avelin.ai/models)
- Sovereign AI platform (https://avelin.ai/sovereign-ai-platform)

### Inline privacy gates and human-approved agent governance

Protect sensitive records inline before dispatch and let AI coding assistants manage day-to-day configuration without ever bypassing human approval.

1. Inline PII, prompt-injection and reasoning-depth screening. AVELIN General Decisions screens prompts on the fly for personal data, prompt injection and unsafe intent, locking confidential workloads to local GPUs while aligning reasoning effort to actual task complexity.
2. MCP & WebMCP with Human-in-the-Loop approvals. Connect IDE coding agents, CLI assistants or browser agents via OAuth and scoped tokens (/admin/mcp and /portal/mcp) to inspect telemetry or stage fleet and policy changes. Every write waits in the Approvals queue for a human click, leaving an immutable who, what, when and why audit trail.
3. Edge hardening and upstream vendor sanitization. Enforces per-IP rate caps, brute-force token lockouts and strict error sanitization so downstream apps never receive leaked upstream vendor identities or credentials.

- Privacy controls (https://avelin.ai/privacy)
- Trust & security (https://avelin.ai/trust)

### Drop-in multi-dialect gateway + Decision AI optimization

Point existing services, coding agents and orchestration frameworks at your internal AVELIN endpoint in two lines. Call named models directly (with optional zero-latency shadow observation estimating savings) or enable Decision AI as an optimization module so our AI picks the best model in ~50–100 ms across 170+ local and BYOK endpoints.

OpenAI SDK
```python
from openai import OpenAI

client = OpenAI(
    base_url="https://ai-control.corp.internal/v1",  # your in-perimeter AVELIN Control Plane
    api_key="sk-avelin-TEAM_KEY",                    # scoped key: budget, PII & consent policy
)

resp = client.chat.completions.create(
    model="avelin-auto",  # Decision AI picks the best model across 170+ local & BYOK endpoints
    messages=[{"role": "user", "content": "..."}],
)
```

Anthropic SDK
```python
from anthropic import Anthropic

client = Anthropic(
    base_url="https://ai-control.corp.internal",  # native cross-dialect protocol translation
    api_key="sk-avelin-TEAM_KEY",                 # scoped key: budget, PII & consent policy
)

msg = client.messages.create(
    model="avelin-auto",
    max_tokens=1024,
    messages=[{"role": "user", "content": "..."}],
)
```

Typed Decisions (/v1/systemone)
```bash
curl https://ai-control.corp.internal/v1/systemone \
  -H "Authorization: Bearer $AVELIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "avelin-decisions",
    "state": { "ticket": "Urgent: production wire batch #9104 failed AML pre-check." },
    "questions": {
      "contains_pii": { "type": "noul", "instructions": "Does this carry personal identifiers?" },
      "owner_queue": {
        "type": "choice",
        "criteria": ["aml_compliance", "payments_sre", "tier1_support"],
        "instructions": "Which desk handles this alert?"
      }
    }
  }'
```

Workflow Outcomes (/v1/outcomes)
```bash
curl https://ai-control.corp.internal/v1/outcomes \
  -H "Authorization: Bearer $AVELIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [
      {
        "level": "step",
        "request_id": "req_01j9x8k2m4",
        "workflow": "invoice_reconciliation",
        "run": "run_4821",
        "step": "po_line_match",
        "result": "pass"
      }
    ]
  }'
```
Native cross-dialect translation across OpenAI Chat, OpenAI Responses, Anthropic Messages, typed /v1/systemone probabilities and /v1/outcomes pipeline signals. Pass "avelin-auto" to activate ~50-100 ms Model Picker optimization.

#### Generation, coding and typed decision endpoints

Core model and decision endpoints served by the AVELIN Control Plane.
| Endpoint | What it does | Engine & selection | Execution boundary |
| --- | --- | --- | --- |
| POST /v1/chat/completions | Chat and agent calls in the OpenAI wire format, with streaming, tool calling and reasoning-effort control. | Model Picker across 170+ models, or a named tier | Local GPUs, hybrid PII gate or BYOK |
| POST /v1/responses | Responses wire format for coding and multi-step reasoning agents, with native cross-dialect translation. | Model Picker across 170+ models, or a named tier | Local GPUs, hybrid PII gate or BYOK |
| POST /v1/messages | Chat and agent calls in the Anthropic wire format, with streaming, tool calling and thinking control. | Model Picker across 170+ models, or a named tier | Local GPUs, hybrid PII gate or BYOK |
| POST /v1/systemone | Typed Decisions endpoint returning calibrated probabilities for yes/no, choice and rubric-score questions in one pass. | AVELIN General Decisions | In-perimeter GPUs or dedicated tenant |
| GET /v1/models | Lists the local, task-trained and external models permitted on the caller's scoped API key. | Policy-scoped catalog | In-perimeter control plane |
| POST /v1/embeddings | Dense and hybrid vector embeddings for enterprise search and retrieval pipelines. | bge-m3 and in-perimeter embedding models | Local GPUs or dedicated tenant |
| POST /v1/images/generations | Image generation for document and creative workflows. | avelin-imagegen, avelin-imagegen-pro | Policy-governed endpoint |

#### y-ray web intelligence and speech endpoints

y-ray web intelligence and speech endpoints governed under the same scoped API key and policy plane.
| Endpoint | What it does | Decision & execution engine | Execution boundary |
| --- | --- | --- | --- |
| POST /v2/search | Governed web search through the y-ray engine, with source quality gating and optional inline extraction. | AVELIN Search & Scrape Decisions (y-ray) | Self-hosted cascade + capped egress |
| POST /v2/scrape | Verified Markdown extraction with bot-wall filtering, domain reliability memory and <2% junk-leak gating. | AVELIN Search & Scrape Decisions (y-ray) | Self-hosted cascade + capped egress |
| POST /v2/map, /v2/crawl, /v2/batch/scrape | Site discovery, asynchronous polite crawling and batch extraction under per-key spend guards. | AVELIN Search & Scrape Decisions (y-ray) | Self-hosted cascade + capped egress |
| POST /v1/audio/transcriptions | Speech to text for voice agents, call centers and meeting pipelines. | whisper-large-v3, whisper-large-v3-turbo, avelin-stt | Local GPUs or dedicated tenant |
| POST /v1/audio/speech | Low-latency text to speech with standard voice profiles and streaming output. | tts-1, tts-1-hd | Local GPUs or dedicated tenant |

Full OpenAPI schemas, signed offline Helm charts and operator runbooks ship inside the embedded console and enterprise pilot package.

- How Decision AI works (https://avelin.ai/decision-ai)
- Explore all 13 AVELIN models (https://avelin.ai/models)

### How a governed request flows

Figure. Every call passes edge admission, inline privacy checks, optional Decision AI optimization and non-blocking telemetry inside your perimeter.
Alt text: Five steps of a governed request: 1. Your app calls the single-binary Rust Control Plane (<0.2 ms p50 overhead). 2. Scoped key budgets, PII and safety policies run. 3. Decision AI picks the best model in ~50-100 ms (or honors your named model). 4. Local GPU or BYOK provider answers with cross-dialect translation and buffered failover. 5. Telemetry, Net Savings and consent-gated self-training loops update.
1. Your app calls the Rust Control Plane. Standard OpenAI, Responses, Anthropic or /v1/systemone request reaches your in-perimeter endpoint (<0.2 ms p50 overhead).
2. Budget, PII and safety gates execute. Hierarchical key caps, prompt-injection screening and private-data boundary locks run inline before dispatch.
3. Decision AI picks the best model (~50-100 ms). Predicts domain, difficulty and reasoning need across 170+ BYOK and local GPU models while preserving warm agent caches.
4. Local GPU or BYOK endpoint answers. Confidential and routine work executes on local models; permitted hard calls use external providers with dialect translation and buffered failover.
5. Observability and self-training loop. Records dual-priced Net Savings, cache and GPU telemetry, and feeds PII-masked traces into budgeted judge cycles only on consented keys.

### Enterprise licensing

Real precision, latency and cost savings are proven directly on your own infrastructure. Start with an individually scoped pilot, license the Control Plane at 0% BYOK token markup, and expand to task-trained models on your GPUs.

- Stage 1 · Scoped enterprise pilot. Validate real precision, latency, cache efficiency and Net Savings on your stack.
  - Individually scoped deployment inside your VPC, on-premise cluster or isolated tenant under mutual NDA
  - Measures before-and-after task precision, latency, prompt-cache efficiency and Net Savings on your live workloads
  - Side-by-side shadow or gated rollout with zero disruption to production paths; timeline and terms agreed with your team
  - Request a POC (https://avelin.ai/poc#request)
- Stage 2 · AVELIN Control Plane. Annual enterprise software subscription over your existing providers.
  - Single-binary Rust Control Plane (<0.2 ms p50 overhead), deep observability, GPU telemetry, MCP approvals and Model Picker (~50–100 ms) across 170+ models
  - Connects your own provider agreements (BYOK), with external usage billed directly on your existing contracts at 0% markup
  - Per-key FinOps caps, /v1/systemone General Decisions, inline PII gates and consent-gated optimization loops
  - How Decision AI works (https://avelin.ai/decision-ai)
- Stage 3 · Sovereign Platform & Models. Annual platform and model licence on your own GPUs or hybrid perimeter.
  - GPU-optimized inference layer, four Decision AI models and nine execution models across Chat, Coding and Agents
  - Compact models trained for your tasks from scratch or via AVELIN Model Fusion across client-approved lineages
  - Shadow self-training loop on your approved outcomes, promoting to frozen production releases only on operator sign-off
  - Request a POC (https://avelin.ai/poc?topic=enterprise#request)
  - Sovereign AI platform (https://avelin.ai/sovereign-ai-platform)
  - Models (https://avelin.ai/models)

Figure. Prove value on your infrastructure in a scoped pilot, then scale across the Control Plane and sovereign task-trained models.
Alt text: Three-stage enterprise path: 1. Scoped enterprise pilot on your own infrastructure. 2. AVELIN Control Plane annual subscription across 170+ models at 0% BYOK markup. 3. Sovereign models and platform annual licence on your own GPUs with a self-training loop.
1. 1. Scoped enterprise pilot: Validate real precision, latency, cache efficiency and Net Savings on your own infrastructure alongside your current stack, with scope and terms agreed individually.
2. 2. AVELIN Control Plane: Annual enterprise subscription over 170+ models and your existing providers at 0% token markup.
3. 3. Sovereign models & platform: Annual model and platform licence on your GPUs, with task-trained models and an in-perimeter self-training loop.

#### What each stage includes

Commercial and architectural comparison across the three AVELIN enterprise stages.
| Dimension | Stage 1: Enterprise pilot | Stage 2: AVELIN Control Plane | Stage 3: Sovereign Platform & Models |
| --- | --- | --- | --- |
| Objective | Prove real precision, latency, cache hit rate and Net Savings on your workloads | Observe, govern and optimize all production AI traffic across providers and teams | Own task-specialized decision and execution models inside your GPU perimeter |
| Deployment boundary | Customer VPC, on-premise cluster or isolated pilot tenant | On-premise, air-gapped cluster, customer VPC or dedicated managed tenant | On-premise GPUs, air-gapped cluster or hybrid perimeter |
| Capabilities & models | Full observability + side-by-side Decision AI evaluation across 170+ models | Observability, FinOps, MCP approvals, self-training orchestration & Decision AI across 170+ models | Control Plane + four Decision AI models + nine execution models + custom task-trained models |
| Provider & compute billing | Direct pass-through on your own provider keys (0% markup) | Billed directly by your connected cloud and model providers (0% markup) | Your own GPU infrastructure under a predictable annual licence |
| Continuous learning | Baseline telemetry, cache diagnostics and shadow evaluation | Per-key consent capture, budgeted judge evals & organization Knowledge Map | Custom task-trained weights + shadow self-training loop with frozen production releases |
| Commercial structure | Scope, timeline and commercial terms agreed individually in writing | Annual enterprise software subscription | Annual platform and model licence scoped by GPU estate and workflows |

#### Commercial and scoping terms

- Every pilot and production engagement is scoped individually with your team in a concise written scope setting out deliverables, deployment boundary, timeline and commercial terms before work starts.
- Mutual NDAs, data processing agreements (DPA) and security questionnaires are supported prior to pilot kickoff.
- Annual enterprise licences are billed by invoice and purchase order in USD, EUR or AED.
- On-premise and air-gapped deployments use signed offline bundles and lightweight usage summaries without prompt content leaving your network.
- Service levels (SLA), support windows and update cadence are defined in the written enterprise agreement signed by AVELIN AI L.L.C-FZ.

- What a private deployment scope settles (https://avelin.ai/private-deployment)
- Trust and security (https://avelin.ai/trust)
- Platform terms of service (https://avelin.ai/legal/api-terms)

### FAQ: Questions about the AVELIN Control Plane and enterprise licensing

**What is the AVELIN Control Plane?**
It is a single-binary, high-efficiency Rust AI Control Plane deployed inside your VPC, data center, air-gapped cluster or dedicated tenant. It unifies real-time observability, FinOps chargeback, vLLM and SGLang GPU telemetry, inline PII and safety gates, human-approved MCP governance, in-perimeter self-training loops, and Decision AI optimization across 170+ local and BYOK models.

**How are real savings and performance validated on our workloads?**
Public benchmarks illustrate expected ranges, while actual enterprise outcomes depend on your prompts, agent loops and model mix. Every engagement begins with an individually scoped pilot on your own infrastructure (or an isolated tenant) to measure exact task precision, latency, cache efficiency and Net Savings before an annual commitment.
More: Enterprise licensing (https://avelin.ai/control-plane#pricing); Request a POC (https://avelin.ai/poc#request)

**Why is the Control Plane built as a single Rust binary?**
An AI control plane sits on the hot path of every user and agent turn. AVELIN's memory-safe Rust engine delivers <0.2 ms p50 proxy overhead (~45x faster and ~47x higher throughput per core than Python gateways), embeds the operator and organization web console with zero Node or Python dependencies, requires minimal CPU and RAM, and ships as a signed offline Helm bundle for air-gapped clusters.

**What observability and analytics does it provide out of the box?**
Every request is priced twice on the spot (actual spend vs. your chosen reference tier, including evaluation costs for true Net Savings) without storing prompt text in the analytics ledger. Built-in analytics cover 13 operational slices: spend by org/project/person/key with CSV export, prompt-cache hit ratios and cold-miss overpay causes, TTFT and weighted tail latency, multi-step agent trajectory switches, /v1/outcomes workflow tracking, and live vLLM/SGLang KV-cache and prefill/decode metrics.

**How does the in-perimeter self-training loop stay safe and economical?**
Live production always serves frozen, versioned model releases so production weights never mutate silently. Data capture is governed per API key and off by default, masking PII before storage on authorized keys. Inside your perimeter, candidate models learn in shadow from verified workflow outcomes (POST /v1/outcomes), human expert edits and budget-capped AI judges (pausing automatically under live traffic load), promoting to a new version only after statistical proof and explicit operator approval.
More: Sovereign AI platform (https://avelin.ai/sovereign-ai-platform); Privacy (https://avelin.ai/privacy)

**How does agentic governance (MCP & WebMCP) prevent unauthorized changes?**
Administrators can connect IDE coding agents, CLI assistants or browser agents via OAuth and scoped API tokens (/admin/mcp and /portal/mcp) to inspect telemetry or stage configuration updates in plain language. Every write waits in the Approvals queue for an explicit human click, producing an immutable who, what, when and why audit trail.
More: Trust and security (https://avelin.ai/trust)

**How are licensing and connected provider costs structured?**
AVELIN is licensed annually as enterprise software and models following an individually scoped pilot. Connected accounts at OpenAI, Anthropic, Google Gemini, DigitalOcean and other providers bill directly under your existing enterprise contracts at 0% token markup, and workloads on your own GPUs use your own compute.
More: Enterprise licensing (https://avelin.ai/control-plane#pricing)

Related: Decision AI (https://avelin.ai/decision-ai); Sovereign AI platform (https://avelin.ai/sovereign-ai-platform); Models (https://avelin.ai/models); Private deployment (https://avelin.ai/private-deployment)

### Validate the AVELIN Control Plane on your infrastructure.

Run a scoped pilot alongside your existing stack and measure real precision, latency, cache efficiency and Net Savings.

- Request a POC (https://avelin.ai/poc#request)

- Explore Control Plane (https://avelin.ai/control-plane)

URL: https://avelin.ai/control-plane
Updated: 26 Nov 2026
