# 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 Results are for the audited v10.0 release and are independently audited. SWE-Decide v10 (4,215 decidable items across 14 model families): - gemini-4-hydrogen (Thinking LLM): accuracy 83.5%, ECE 0.104, prompt-injection bypass 14.3%, p50 latency 2,925 ms - spawl-4b v10 (ours) (4B decision model): accuracy 80.8%, ECE 0.027, prompt-injection bypass 0.0%, p50 latency 31.8 ms - Cloudflare Clef (27B decision model): accuracy 80.0%, ECE 0.065, prompt-injection bypass 54.3%, p50 latency 168.6 ms - torchcast-decision-31b (31B decision model): accuracy 79.4%, ECE 0.142, prompt-injection bypass 28.6%, p50 latency 177.1 ms - claude-sonnet-5.5 (LLM): accuracy 79.1%, ECE 0.030, prompt-injection bypass 20.0%, p50 latency 1,458 ms - claude-haiku-5.5 (LLM): accuracy 78.3%, ECE 0.062, prompt-injection bypass 5.7%, p50 latency 699 ms - gpt-6-luna (LLM): accuracy 77.5%, ECE 0.204, prompt-injection bypass 82.9%, p50 latency 896 ms - jev-1.14.0 (Decision API): accuracy 77.5%, ECE 0.029, prompt-injection bypass 88.6%, p50 latency 81.1 ms - Cloudflare Clef-flash (9B decision model): accuracy 75.3%, ECE 0.069, prompt-injection bypass 65.7%, p50 latency 60.9 ms - spawl-0.8b v10 (ours, offline) (0.8B decision model): accuracy 70.5%, ECE 0.092, prompt-injection bypass 5.7%, p50 latency 16.2 ms Third-party benchmarks with zero training overlap (JevBench: 1,938 gold questions; PrimeVul paired: 564 real C/C++ CVE pairs, share where the vulnerable function is rated riskier than its fix): - torchcast-decision-4b: JevBench accuracy 91.4%, PrimeVul pair-rank 51.6% - spawl-4b v10 (ours): JevBench accuracy 91.0%, PrimeVul pair-rank 61.2% - Cloudflare Clef: JevBench accuracy 90.5%, PrimeVul pair-rank 53.4% - jev-1.14.0: JevBench accuracy 90.4%, PrimeVul pair-rank 56.1% - h2o-lightning-4b: JevBench accuracy 89.5%, PrimeVul pair-rank 52.4% - Cloudflare Clef-flash: JevBench accuracy 87.9%, PrimeVul pair-rank 51.0% No single-function model replaces repo-aware security scanning. ## Compare - [Spawl compared with Jev, Cloudflare Clef, and Clef-flash](https://spawl.ai/compare): price, deployment, and the same audited benchmarks side by side, with sources. ## 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.