← Back to fuelrouter.fastmesh.dev · llms.txt · skill.md · openapi.json · sitemap.xml

FuelRouter Technical Architecture Library (24 Guides)

Data-backed engineering blueprints for multi-upstream API failover routing across 5 capability pools (ai_chat_json, embeddings_rerank, web_search, clean_scrape_extract, b2b_domain_dns_enrichment), 3-state circuit breakers, Anti-Fake-200 verification without CAPTCHA bypass, 7d–30d cross-tenant archive caching, zero-secret vault proxying, and strictly $0 exhaustion billing.

Core Architecture

Multi-Upstream API Failover Router with Circuit Breaker

Architecture blueprint for FuelRouter: a multi-upstream API failover router with 3-state circuit breakers across 5 capability pools, 20 free-tier accounts, and $0 exhaustion billing.

Target keyword: multi-upstream API failover router with circuit breaker
Cache Economics

Cross-Tenant API Response Cache & 100% Repeat-Margin Economics

Technical breakdown of FuelRouter's SQLite WAL cross-tenant archive cache delivering 7d-30d adaptive TTLs, 0 upstream calls on hit, and 100% gross margin on repeat queries.

Target keyword: cross-tenant API response cache 100% repeat margin
Security & Isolation

Zero-Secret Credential Proxy for Autonomous AI Agents

Eliminate API key sprawl in autonomous agent runtimes using FuelRouter's zero-secret credential proxy backed by a local 0600 Register-Anything Vault and deterministic output scrubbing.

Target keyword: zero-secret credential proxy for AI agents
Quota Engineering

Free-Tier API Quota Rotation Architecture Across 3 Rolling Windows

Learn how FuelRouter rotates traffic across 20 $0 free-tier upstream accounts using SQLite WAL sliding-window RPM, RPD, and monthly quota ledgers before falling back to wholesale tiers.

Target keyword: free tier API quota rotation architecture
Capability Pools

Embeddings & Semantic Rerank Pool with 30-Day Adaptive Cache

Inside FuelRouter's embeddings_rerank pool: 6 vector and rerank upstreams (3 free $0), 14d-30d cross-tenant caching, 950 ms p95 target, and $0.004 outcome pricing.

Target keyword: embeddings and semantic rerank API failover cache
Capability Pools

Web Search & SERP Grounding Failover Pool (web_search)

Build resilient AI grounding with FuelRouter's web_search pool: 6 search upstreams (3 free $0), instant CAPTCHA soft-ban quarantine, 7d-21d caching, and $0.008 outcome pricing.

Target keyword: web search SERP grounding API failover router
Capability Pools

B2B Firmographic, Domain & DNS Enrichment Waterfall Pool

Orchestrate B2B company firmographics, DNS/ASN metadata, and MX pattern verification across 7 upstreams (5 free $0) with 14d-30d cross-tenant caching.

Target keyword: B2B firmographic domain DNS enrichment failover pool
Resilience Mechanics

3-State Circuit Breaker Mechanics & Exponential Backoff Recovery

Exact state transition math for FuelRouter's SQLite-persisted CLOSED, OPEN, and HALF_OPEN circuit breaker with failure_threshold 3, 2.0x backoff up to 900s, and single-probe recovery.

Target keyword: three-state circuit breaker CLOSED OPEN HALF_OPEN recovery
Compliance & Safety

Cloudflare & CAPTCHA Soft-Ban Failover Without Anti-Bot Bypass

How FuelRouter enforces Security Redline #1: detecting Cloudflare Turnstile, reCAPTCHA, hCaptcha, Arkose, DataDome, PerimeterX, and GeeTest challenges and failing over cleanly without bypass.

Target keyword: Cloudflare Turnstile CAPTCHA soft-ban API failover without bypass
Agent Protocols

MCP JSON-RPC 2.0 Failover Router Integration Guide

Connect autonomous AI agents and MCP clients directly to FuelRouter's POST /mcp JSON-RPC 2.0 server exposing 5 flat failover tools with structuredContent outputs.

Target keyword: MCP JSON-RPC 2.0 multi-upstream failover router
Security & Isolation

SSRF Protection & Cloud Metadata IP Blocking in API Gateways

How FuelRouter blocks Server-Side Request Forgery (SSRF) across private IPv4/IPv6 CIDRs, cloud metadata endpoints (169.254.169.254), and forbidden URL schemes with $0 HTTP 422 rejection.

Target keyword: SSRF protection cloud metadata IP blocking API gateway
Storage & Concurrency

SQLite WAL Thread-Safe Quota Ledger & Concurrency Architecture

Zero-dependency concurrency design using pure Python 3 stdlib and SQLite WAL to coordinate sliding-window quotas, circuit breakers, EWMA telemetry, and ArchiveCache across 20+ threads.

Target keyword: SQLite WAL thread-safe API quota ledger concurrency
Billing Guarantees

$0 Exhaustion Billing Guarantee & Redacted Backoff Traces

How FuelRouter enforces billed_usd: 0.0 and charged_micros: 0 on HTTP 503 pool exhaustion and HTTP 422 input errors, returning deterministic SHA-256 receipts and backoff_advice.

Target keyword: zero dollar API exhaustion billing and redacted failover trace
Routing Algorithms

EWMA Dynamic Health Scoring Formula for Upstream Routing

Mathematical specification of FuelRouter's EWMA dynamic health score (alpha=0.25) blending base priors, success rate, latency ratio, fake-200 cleanliness, and failure penalties.

Target keyword: EWMA dynamic health score API upstream routing formula
Resilience Mechanics

HTTP 429 Rate Limit & Retry-After Automatic Upstream Failover

How FuelRouter classifies retryable HTTP statuses (408, 429, 500-504), honors Retry-After headers capped at 300s, and separates 401/403 auth rot from 400/422 client errors.

Target keyword: HTTP 429 rate limit Retry-After automatic upstream failover
Cost Controls

Hard Budget Lock (max_cost_micros) Guardrails for AI Agents

Enforce deterministic per-call spending limits in micro-USD using FuelRouter's max_cost_micros budget lock, $0 dry-run quotes, and per-pool default ceilings.

Target keyword: max_cost_micros hard API budget lock for autonomous agents
Cache Economics

Adaptive TTL Cache Invalidation & force_refresh Semantics

Understand how FuelRouter balances 7d-30d cross-tenant cache durability with on-demand force_refresh, 1.5x unchanged expansion, 0.5x drift contraction, and atomic invalidation.

Target keyword: adaptive TTL cache invalidation and force_refresh API
Billing & Settlement

Prepaid Creem Credit Packs & HMAC-SHA256 Webhook Settlement

Opt-in prepaid monetization for FuelRouter: Starter ($19), Pro ($79), and Scale ($249) packs with zero card autofill, HMAC-SHA256 webhook verification, and SQLite WAL event_id idempotency.

Target keyword: prepaid API credit packs HMAC-SHA256 webhook idempotency
Compliance & Safety

Zero Customer Trace Resale & Enterprise Privacy Architecture

How FuelRouter protects enterprise prompts, scraping targets, and routing telemetry with zero_customer_trace_resale: true, local sandbox storage, and header scrubbing.

Target keyword: zero customer trace resale privacy API failover gateway
Routing Algorithms

Deterministic prefer & exclude Upstream Routing Overrides

Control upstream selection per request using FuelRouter's prefer and exclude parameters while preserving hard circuit-breaker, quota, and max_cost_micros safety boundaries.

Target keyword: prefer and exclude deterministic upstream API routing policy