Resilient LLM Router
A multi-provider LLM client with automatic failover and one consistent JSON schema across Groq, Gemini, OpenAI, and Anthropic — powered by your own keys.
Why This Exists
Every LLM provider speaks a slightly different dialect — different request bodies, different response envelopes, different failure modes. This router wraps Groq, Gemini, OpenAI, and Anthropic behind one interface. You define an ordered chain of providers; a call goes to the first one, and if it errors, times out, or is rate-limited, the router falls through to the next provider automatically. Every response is translated into a single JSON schema, so your application code never branches on which provider answered. It is reactive failover — the router does not predict or pre-empt a provider going down; it retries down the chain when a call actually fails.
Features
Automatic Failover
On error or timeout, the request falls through to the next provider in your chain
One JSON Schema
Every provider is normalized to a single, predictable response shape
Ordered Provider Chain
Configure free-first, cheap-first, or quality-first — your call
Bring Your Own Keys
Your provider keys, your costs, zero markup from us
What You Get
How It Works
Configure Your Chain
List the providers you want, in the order you want them tried. A common setup is free-first (Groq → Gemini) then paid (OpenAI → Anthropic). Each provider reads its own key from your environment.
Send One Request
Your application calls the router with a prompt (and optionally a JSON schema for structured output). It does not need to know or care which provider will answer.
Automatic Failover
The router calls the first provider. If that call errors, times out, or returns a rate-limit response, it moves to the next provider in the chain and tries again — until one succeeds or the chain is exhausted.
Consistent Response
Whichever provider answered, the result is translated into one JSON schema before it reaches your code. Text and structured output come back in the same shape every time.
Technical Details
One adapter per provider (Groq, Gemini, OpenAI, Anthropic), each mapping the router request to that provider REST API and its response back to the shared schema.
An ordered list you configure. Failover is reactive: the next provider is tried only when the current call fails (error, timeout, or rate-limit response).
A normalization layer converts each provider response into one predictable JSON shape, including structured / JSON-mode output where the provider supports it.
Per-provider timeout and retry settings. Exhausting the chain raises a single, typed exception rather than leaking a provider-specific error.
Each provider key lives in your environment. Requests go directly from your server to the provider. We never see your keys, prompts, or usage.
Choose Laravel (service class + config + facade) or Vanilla PHP (PSR-4, Composer-installable) at checkout. Same adapters and fallback logic in both.
Real Results
From our own production deployment — the same code you are buying.
Frequently Asked Questions
Resilient LLM Router
A multi-provider LLM client with automatic failover and one consistent JSON schema across Groq, Gemini, OpenAI, and Anthropic — powered by your own keys.
Laravel package with a service class, config file, ordered provider chain, and a facade. Drop your keys in .env and resolve the router from the container.
Laravel 10+ / PHP 8.1+
Framework-agnostic PHP library (PSR-4, Composer-installable) with the same provider adapters and fallback logic, no framework required.
PHP 8.1+ with a PSR-18 HTTP client (Guzzle included)
This product isn't available for purchase yet.
Item Details
We build the tools we sell. Every product is extracted from our own production systems.
Book a call for custom workMore from Blorp Blorp Market
AI Contact Form
An intelligent contact form that qualifies leads, blocks spam, and drafts responses — powered by your own OpenAI key.
Creator Affiliate Storefronts
A multi-tenant, keyed Amazon affiliate platform — your site earns on the house tag while each approved creator earns on their own. Drop-in Laravel, bring your own Associates tags.
Embeddable AI Chatbot Widget
A one-script embeddable AI chat widget with a bring-your-own-key Laravel backend. Your OpenAI/Anthropic key stays on your server.
AI Citation Verifier
Submit claims with the source URLs that back them; each source is fetched behind an SSRF guard and graded by an LLM as Supports / Partially / Contradicts / Irrelevant. Bring your own key.
Document e-Sign Kit
A self-hosted e-signature core for Laravel: per-signer magic-link click-to-sign plus a hash-chained, tamper-evident audit trail you can re-verify. No third-party provider.
Project Scope Estimator
A deterministic, multi-step project scope + price/time estimator with optional lead capture. Ships as both a Laravel package and a self-contained vanilla-JS widget. No AI required.
LLMO / llms.txt Kit
Generate a correct llms.txt and AI-crawler robots groups for your site, plus a heuristic LLM-readiness report. SSRF-guarded, bring-your-own-key optional copywriting.
Playful Bot-Gate
A friendly mini-game human check for your forms — the answer is verified server-side and a single-use signed token gates the submit. A novelty/engagement gate, not a security wall.
Brand Palette + WCAG Contrast Utility
A pure-PHP utility that computes WCAG contrast ratios from your brand colors and tells you which pairings pass AA / AAA — with accessible pairing suggestions. No AI, no network.
Styled QR Generator
A stateless engine that renders branded SVG QR codes — module styles, frames, gradients, and an embedded logo — with pluggable payload encoders (url / wifi / vcard / geo / text).
Occupancy / Capacity Counter
A concurrency-safe, append-only manual headcount ledger — lock-safe in/out events, zero-clamped, that warns then flags when a configurable capacity is exceeded. Counts people without identifying them.
Credential Expiry Roster
A roster report that buckets worker credentials into EXPIRED / EXPIRING-SOON / UNDATED (an undated credential is a gap, not "fine"). Records operator attestation — it does not verify credentials against any issuer.
Laravel Calculator Suite
A headless pack of 27 real, working calculators (financial, health, home, utility) behind one BaseCalculator contract, a pure-PHP registry, and a sanitized /calculate JSON endpoint. Estimates only — every one ships a disclaimer.
Need This Customized?
We built this product. We can customize it for your specific needs, integrate it with your systems, or build something entirely new.