$0 / forever
Local deterministic checks
Type checks, lint, changed-line test coverage, secret scanning, dependency audit, SARIF export, and bounded blast-radius impact graph run on your machine with zero cloud account.
rio review --offline Commercial AI reviewers lock self-hosting behind enterprise minimums and charge $24 to $72+ per seat every month. Rio Code Review is Apache-2.0 open source: deterministic local checks cost $0 forever, and hosted AI review deploys into your own Cloudflare account with bring-your-own-key (BYOK) routing and zero markup.
TRANSPARENT PRICING MODEL
Because Rio has no vendor SaaS layer, your total monthly bill is just three transparent pieces. Most teams stay inside Cloudflare's included $5/month paid allowances and pay only for the LLM tokens their PRs consume.
$0 / forever
Type checks, lint, changed-line test coverage, secret scanning, dependency audit, SARIF export, and bounded blast-radius impact graph run on your machine with zero cloud account.
rio review --offline $5 / month base
Flat account baseline covering Workers, Workflows, D1, R2, Queues, AI Gateway, and included Containers allowances. Add 5 or 50 developers without per-seat fees.
rio deploy --dry-run At cost / 0% markup
Connect OpenRouter, Anthropic, OpenAI, or any compatible endpoint. Bounded impact-graph slices keep typical PR reviews to tens of thousands of tokens instead of full-repo dumps.
ESTIMATE MONTHLY SPEND
Adjust team size, pull request volume, and review preset below. Token estimates are illustrative mid-range model rates; actual spend varies by diff size, prompt cache hit rate, and chosen model routes.
~$26 / mo
$5 Cloudflare base + ~$21 estimated tokens
$240 - $480 / mo
Illustrative estimate only. Large diffs, Browser QA vision screenshots, or frontier reasoning models increase token usage. Inspect real measured cost inside every Rio report.
CLOUDFLARE WORKERS STACK
Rio embeds its Worker bundle inside the CLI binary, so there is no Node.js build step or Wrangler repo checkout required. Preview all changes offline with rio deploy --dry-run.
| Cloudflare Service | Role in Rio Code Review | Published Pricing Baseline |
|---|---|---|
| Cloudflare Workers + Workflows | API endpoint, GitHub App webhook receiver, and stateful review pipeline orchestration | Included in $5/mo Workers Paid (10M requests, 30M CPU ms/mo) |
| Cloudflare D1 | Stores finding lineage, dismissals, suppression proposals, and PR review history | Included in $5/mo Workers Paid (25B reads, 50M writes, 5 GB storage) |
| Cloudflare R2 | Stores evidence bundles, diff artifacts, and Browser QA screenshots/traces | $0.015/GB-mo ($0 egress; 1M Class A + 10M Class B free ops/mo) |
| Cloudflare Queues + AI Gateway | Async job buffering, provider routing, rate limits, and model usage telemetry | Queues $0.40/M ops after included tier; AI Gateway free core routing |
| Cloudflare Sandbox or Linux Docker runner | Isolated execution container for untrusted repo analysis and verification | Containers included allowance (375 vCPU-min/mo) or your own Docker VM |
COST GUARDRAILS IN YAML
Commit budget limits inside .rio/profiles/default.yaml. If a review hits its ceiling, Rio cancels remaining stages cleanly and reports incomplete work with exit code 4 instead of hiding it.
version: 1
name: team-bounded
extends: rio/openrouter
budget:
fast:
wall_time: 5m
tokens: 100000
verify_tokens: 20000
agents_max: 3 DEPLOY IN FOUR COMMANDS
Authenticate Cloudflare, supply your OpenRouter, Anthropic, or OpenAI-compatible API key through your private environment, and run rio init.
$ cf auth login
# Export OPENROUTER_API_KEY or ANTHROPIC_API_KEY in your private shell
$ rio init
$ rio review --profile rio/openrouter --preset standard SELF-HOSTED & BYOK FAQ
No. Rio is licensed under Apache-2.0 with $0 platform fees and $0 token markup. You pay Cloudflare directly for your Workers Paid account ($5/month base) and pay your chosen model provider (OpenRouter, Anthropic, OpenAI, or compatible endpoints) at list rates.
Yes. Local review mode (typecheck, lint, tests, changed-line coverage, secret scanning, dependency audit, and the bounded impact graph) runs entirely on your machine with zero cloud account and zero API keys.
Profiles enforce hard ceilings on wall_time, review-wide tokens, per-voter verify_tokens, and agents_max. Every review report records measured token usage, cache reads/writes, and price provenance so you can audit actual spend per PR.
No. The rio binary embeds the Cloudflare Worker bundle. Running rio init authenticates via Cloudflare cf CLI (or CLOUDFLARE_API_TOKEN) and provisions Workers, Workflows, D1, R2, Queues, and AI Gateway directly. Use rio deploy --dry-run to inspect the plan first.
Provider keys stay in your OS keychain locally (or explicit private files on headless hosts) and as encrypted Worker secrets in your own Cloudflare account. Code and findings never pass through a Pixel Infinito SaaS server.
Yes. Pass --runner self-hosted during rio init and run the paired rio-runner process on a dedicated Linux Docker host. That keeps container execution inside your private VPC while Cloudflare coordinates PR webhooks and storage.