REFLEX LABS

Discontinuedvera-spark is no longer maintained. Use vera-core-2 instead.

← Reflex Labs

Open-weights model · System One

vera-spark

vera-spark banner: diagonal streaks of light
Parameters
~630M
Base
ModernBERT-large
Context
8,192 tokens
Latency
80 ms
Weights
1.3 GB bf16
License
Apache-2.0

Latency is the median per Decision Index request on the board's RTX PRO 6000.

vera-spark is a non-autoregressive System One decision model. Give it a state (text, an email, a ticket or JSON) and typed questions, and it returns typed answers with calibrated probabilities in a single forward pass over an 8,192-token context. It never generates text.

It is built on a ModernBERT-large encoder with upcycled mixture-of-experts layers, a number-value embedding and a decision head that reads evidence directly from several backbone layers.

Pick vera-spark when you want the smallest footprint and the fastest answers, for example to steer an agent in real time. Its sibling, vera-core, is the larger model (~2B), when accuracy matters most. Both speak the same interface and wire format, so you can swap one for the other.

Tool routing demo

vera-spark picks one of eight tools for every message and decides whether to confirm before acting. 9 of 9 messages routed correctly, about 30 ms per decision on the GPU.

Fine-tuning on your own decisions will yield better results. The released checkpoint is a generalist base, built as a starting point.

Quickstart

# pip install vera-s1
import vera

agent = vera.load("scar-ai/vera-spark")
state = "Hi, we were billed twice for March. Please refund the duplicate today or we will cancel our plan."
questions = {
    "department": {"type": "choice", "instructions": "Which department should handle this?",
                   "criteria": {"billing": "invoices, payments, refunds",
                                "technical": "bugs, outages, system errors",
                                "other": "everything else"}},
    "urgency": {"type": "score", "instructions": "How urgent is this?",
                "criteria": ["not urgent", "soon", "blocking"]},
    "churn_risk": {"type": "noul", "instructions": "Does the user threaten to cancel or leave?"},
}
result = agent.predict(state, questions)
print(result["answers"]["department"]["choice"])   # billing
print(result["answers"]["churn_risk"]["noul"])     # probability of yes

Or serve it with the same request and response shape as Jev:

vera-serve --model scar-ai/vera-spark --port 8200
curl -s localhost:8200/v1/systemone -H 'Content-Type: application/json' -d '{
  "state": "I was charged twice. Please fix this ASAP.",
  "questions": {"billing": {"type": "noul", "instructions": "Is this ticket about billing?"}}}'

vera-serve binds 127.0.0.1 and has no authentication. Put it behind your own gateway before exposing it.

Use cases

  • Routing and triageSend a ticket, email or request to the right team, queue or priority.
  • Intent classificationMap messages to your own intent set, with calibrated confidence for escalation.
  • Tool selectionChoose which tool or API an agent should call next.
  • Policy checksDecide whether a case follows a rule or breaks it.
  • Scoring and severityRate urgency, sentiment or risk with a full probability distribution.
  • Claim verificationCheck a statement against a document.
  • Judging and rankingCompare candidate responses and pick the better one.
  • Confidence gatingAct automatically when confident, hand off to a slower model or a person when not.

Decision Index

ModelFullPublicKnowledgeLanguageRetrievalToolsArts
vera-spark11.4619.5910.124.930.118.112.4
vLLM-SR d3-edge 0.6B, same size20.2428.8211.124.253.642.711.8
Jev 1.14 reference61.5360.7057.161.263.573.839.2

Chance-corrected scores, higher is better. Full blends 20% public, 50% private same-skill and 30% private new-domain tests. Board calibration error (ECE) 0.157. Held-out decisions (3.6k items, decontaminated): 75.1. Open-Jev out-of-distribution: 83.6. Rule-following dev: 86.9. Other rows are from the public board, Decision Index 0.3.2.

Where it runs

vera-serveSupportedReference decision API server, batches concurrent requests.
vera packageSupportedvera.load(...).predict(...)
transformersSupportedAutoModel with trust_remote_code=True.
vLLM / SGLangNot supportedThe upcycled MoE layers and multi-layer head are not supported. Use vera-core.

Weights ship in bf16 on main. Python 3.10+ and transformers 5+. A CUDA or ROCm GPU is recommended.