The Inference Engine for Open-Weight Decision Models.
Zirnay turns compact open-weight models into fast, calibrated yes/no, choice, and score decisions. Get calibrated probabilities across open-weight models with no need to retrain across version upgrades, running in milliseconds on standard CPUs instead of expensive GPUs.
Inference Engine for Open-Weight Decision Models
Most AI requests do not need a chat response. They need a decision. Zirnay evaluates open-weight models in a single pass to return structured yes/no gates, multi-option choices, and 0 to 1 risk scores.
No Need to Train Across Version Upgrades
When a new version of an open-weight decision model is released, you should not have to rebuild datasets and retrain from scratch. Zirnay decouples your decision logic from model weights so version upgrades are instant.
Cyclic Permutation & Prior Calibration (AnyJev)
Standard LLMs can change their answer depending on the order of options in a prompt. Building on open-source AnyJev (Apache-2.0), Zirnay substantially reduces prompt-order and label bias via cyclic permutation averaging and prior calibration across compact open-weight models.
CPUs, Not GPUs
Calling commercial frontier LLM APIs adds network and queuing latency, while even single-prefill logprobs scoring on self-hosted 7B+ LLMs requires dedicated GPU VRAM and leaves option scores uncalibrated. Zirnay evaluates compact open-weight models (<= 500M parameters) on standard CPUs in < 4.5ms container P99 for Laya and Strands (28.5ms uncached prefill / 2.1ms cached for AnyJev).
Own Your Training Checkpoints
With proprietary frontier LLM APIs, your prompts and fine-tunes are tied to a single vendor. With Zirnay, you can export trained checkpoints in standard Safetensors / ONNX format (model.safetensors + config.json) built on Apache-2.0 and MIT-licensed base models (ModernBERT, DeBERTa-v3, SmolLM2) and run them in your own runtime anytime. See Checkpointing Docs.
Zero Raw Payload Retention
By default, raw inputs are evaluated in volatile memory, excluded from operational request logs (which record only timestamp, request ID, latency, outcome, and model slug), and not written to disk, databases, or training sets. Repeat requests use a 300s Redis cache keyed by a tenant-scoped SHA-256 digest storing only the label and score. Send Cache-Control: no-cache or X-Bypass-Cache: true to opt out per request, especially for short, low-entropy inputs whose hashes could be guessed.
Why Separate Decision Models Into an Inference Engine?
Decision models are typically built to be embedded directly inside an agent. Doing that breaks modern serverless deployments, while moving them to a standalone server introduces hard distributed-systems challenges that Zirnay solves out of the box.
Embedding Weights Bloats Agent Runtimes
Bundling ML runtimes and model weights directly inside an agent adds 500 MB to 1.5 GB+ per worker. That exceeds the 250 MB unzipped limit for Lambda zip packages and the 750 MB uncompressed limit for AgentCore direct code deployment, and it consumes most of AgentCore Runtimeβs fixed 2 GB container image limit. Container-based deployments avoid the package caps but still duplicate memory and pay multi-second weight loads on every cold start.
Process Memory Is Hard to Scale
Once separated into an inference server, checkpoints sit in process memory. That makes horizontal scalability, resiliency, and disaster recovery difficult: new workers suffer 10 to 30 second cold starts loading weights, worker swarms drift across versions during updates, and node crashes lose in-memory state.
Swarm-Wide Checkpoint Orchestration
Zirnay solves distributed checkpoint loading across a swarm of workers. Checkpoints are replicated across global cloud object storage (S3 / GCS) for disaster recovery and mapped directly into shared kernel page cache (POSIX mmap) across worker nodes, enabling instant horizontal scaling and zero-downtime fleet-wide updates.
One Engine for Every Discrete Decision
Send your context and candidate choices. Zirnay evaluates open-weight models on CPU and returns a calibrated decision in milliseconds.
Approve payments, flag fraud, or gate agent tool calls in milliseconds.
Send routine tasks to fast open models and reserve frontier LLMs for complex reasoning.
Every decision includes a calibrated probability distribution (ECE 0.017 on Laya and 0.038 on AnyJev across 555,719 fraud validation transactions in our White Paper) for automated thresholds.
Zero Training Across Upgrades, Plus Optional Fine-Tuning
Deploy immediately without training, or train specialized decision checkpoints on your own labeled data.
Pass your candidate options directly in the request payload (e.g. ["APPROVE", "CHALLENGE", "DECLINE"]). Zirnay calibrates open-weight models on the fly so you can upgrade underlying model versions anytime without retraining.
Want to specialize a model on your historical outcomes? Upload labeled JSONL datasets via POST /v1/teams/:team/models/:model/train to train versioned checkpoints (chk_89f02c77) with instant, zero-downtime activation or rollback.
How Zirnay Compares to Existing Approaches
Prompting frontier LLM APIs introduces order sensitivity and GPU overhead, while traditional fine-tuned classifiers break every time you upgrade base weights. Zirnay gives you the best of both worlds.
| Capability | Zirnay Open-Weight Engine | Frontier LLM APIs (Prompted) | Traditional Fine-Tuned Classifiers |
|---|---|---|---|
| Upgrading Base Model Versions | Zero Retraining Required (Plus Optional Tuning) | Prompt Drift Across Snapshots | Must Rebuild Head & Retrain Weights |
| Option-Order & Label Bias | Substantially Reduced (Cyclic Permutation + Prior Calibration) | Sensitive to Option Order in Prompt | Fixed to Pre-Trained Classes Only |
| Dynamic Runtime Options | Supported in Every Request | Supported (High Token Overhead) | Unsupported Without Retraining |
| Inference Hardware | Standard Commodity CPUs | GPUs Required for Low Latency | GPUs Required for Retraining |
| Inference Execution & Latency | < 4.5ms CPU P99 (Laya / Strands) β’ 28.5ms Uncached AnyJev (2.1ms Cached) | Network API Round-Trip + GPU Inference (Single-Prefill Logprobs Remain Uncalibrated) | Static Classification Head |
| Checkpoint Ownership | Portable Safetensors / ONNX Checkpoints (Apache-2.0 / MIT Base Models) | Locked Into Proprietary API Vendor | Tied to Specific Base Model Version |
Reproducible Smoke-Test Benchmark: Credit Card Fraud (n = 30)
Evaluated on a balanced 30-transaction verification sample (15 fraud, 15 legitimate) from datasets/fraudTest.csv via https://api.zirnay.com/v1/decisions (verify locally with npm run test:fraud:sparkov:prod). Because n = 30 is a small smoke-test sample, 100% precision/recall demonstrates live endpoint reproducibility rather than full-population accuracy; see the White Paper for 555,719-transaction validation metrics.
| Model ID | Precision | Recall | F1 Score | Calibration (ECE) | Server CPU P99 |
|---|---|---|---|---|---|
| zirnay-anyjev | 100.0% (15/15) | 100.0% (15/15) | 100.0% | 0.054 | 28.5 ms (Single Prefill) / 2.10 ms (Cached) |
| zirnay-laya | 100.0% (15/15) | 100.0% (15/15) | 100.0% | 0.037 | 4.20 ms (CPU) / 2.10 ms (Cached) |
| zirnay-strands-decider | 100.0% (15/15) | 100.0% (15/15) | 100.0% | 0.027 | 4.20 ms (CPU) / 0.85 ms (Edge) |
Which Engine Do You Need?
Use AnyJev when you want zero-training decisions over compact open-weight models (ModernBERT-large, DeBERTa-v3, SmolLM2-360M) that substantially reduce prompt-order and label bias. Use Laya (ModernBERT) for high-frequency semantic classification, risk scores, or sub-5ms intent gates. Use Strands Decider (a Qwen-based open-weight decider model) for model routing, tool selection, evaluations, guardrails, memory and context management, policy classification, and building hybrid agents where frontier LLMs make the hardest decisions and decider models handle the rote decisions at low latency and cost.
When NOT to Use Zirnay
Zirnay is purpose-built for fast, deterministic decisions. Do not use Zirnay for open-ended creative prose generation, multi-page document summarization, code generation, or multi-turn conversational chat. Use frontier LLMs (Claude, GPT, Gemini) for those generative tasks.
Start Making Fast, Calibrated Decisions on Open Weights
Your first 100,000 decision events every month are free. Connect in minutes via REST, OpenAI-compatible SDKs, or Model Context Protocol (MCP).