# Spawl > Jev-compatible single-pass decision API for PR diffs, AI review bot triage, coding-agent governance, and IaC. $0.042 per 1M input tokens, $0 output. Spawl (repository and package name sdlc-model) answers multiple-choice questions about a document in a single model pass. It is built for pull request diffs, AI code-review bot triage, coding-agent governance, IaC and CI security, and database migrations. For each question it returns one choice with a calibrated confidence. It does not return line numbers or spans. ## Pricing - Free: 5M input tokens each month. - Pay-as-you-go: $0.042 per 1M input tokens. Output tokens are $0. No per-seat fees. - BYOC / dedicated: $2,000 per month to run the open weights in your own VPC. - The document is encoded and billed once per request, however many questions the request has. Billed input is document tokens plus question tokens. ## API - Base URL: https://api.spawl.ai - Auth: send `Authorization: Bearer ` on every request except GET /health. - POST /v1/decide: JSON body with `premise` (or the Jev alias `document`), `questions`, and optional `model`, `mode` (auto, 1pass, cot) and `return_probabilities`. - Each question has `id`, `instructions`, `choices` (2 to 12 strings) and optional `anchors` and `mode`. - Response: `decisions` (one per question: `id`, `choice`, `confidence`, `mode_used`, optional `probabilities`), `usage` (`doc_tokens`, `question_tokens`, `input_tokens`, `output_tokens`) and `model`. - POST /v1/systemone accepts Jev System One requests. GET /health reports service status. - Switching from Jev: change `BASE_URL` to the base URL above and keep the rest of the client. - [OpenAPI 3.1 description](https://spawl.ai/openapi.json) ## Rubric presets Starter question sets for common software-delivery checks: - PR diff-vs-prose verification: Catch pull requests whose unified @@ diff contradicts claims in the PR description (read-only refactors, zero-downtime, backward compatibility). - AI review bot thread triage (CodeRabbit / Greptile / Copilot): Separate real P0 and P1 bugs from stylistic nitpicks, hallucinated false positives, threads resolved without a fix, and unsafe commit suggestions. - Coding-agent reward-hacking and scope gate: Catch skipped tests (it.skip), @ts-ignore and eslint-disable hacks, hidden diff-comment prompt injections, and out-of-scope edits. - IaC and GitHub Actions supply-chain gate: Detect pull_request_target code execution, write-all tokens, wildcard IAM actions, public DB ingress (0.0.0.0/0), and root containers. - SQL / Prisma / Drizzle / RLS migration gate: Block ACCESS EXCLUSIVE table locks (index without CONCURRENTLY, NOT NULL rewrite) and changes that weaken Postgres row-level security. ## Benchmarks Both benchmarks are held out from training and use MIT- or Apache-2.0-licensed sources. The code to reproduce them is in `ml/benchmarks/` in the repository. SDLC-Decision-Bench-500 (500 items): - torchcast-4b-sdlc-v3 (ours): accuracy 96.4%, ECE 0.021, prompt-injection hijack 0.0% - jev-1.14.0 (live API): accuracy 93.2%, ECE 0.052, prompt-injection hijack 12.5% - h2o-lightning-4b (zero-shot): accuracy 90.2%, ECE 0.071, prompt-injection hijack n/a - Qwen3-4B (base): accuracy 77.0%, ECE 0.148, prompt-injection hijack n/a SDLC-Diff-Bot-Bench-150 (150 items): - torchcast-4b-sdlc-v3 (cot<=48t): overall 96.0% (144/150), diffs 48/50 (86% math), bots 46/50, prompt-injection hijack 0.0%, ECE 0.018 - jev-1.14.0 (live API): overall 92.7% (139/150), diffs 46/50 (43% math), bots 47/50, prompt-injection hijack 33.3%, ECE 0.048 - h2o-4b-1pass-sdlc-v3: overall 90.7% (136/150), diffs 45/50 (43% math), bots 44/50, prompt-injection hijack 16.7%, ECE 0.071 ## Self-hosting - The model weights are Apache-2.0 (BF16 and FP8) and ship with an inference container. - BYOC runs inside your VPC on Modal, GKE, or AWS, including SOC-2 and air-gapped CI environments. No data leaves your network. - BYOC includes fine-tuning on your own rubrics. - The hosted API runs on Cloudflare Workers and Modal and scales to zero when idle.