Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

6.2 KB
Raw Blame
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 420" font-family="system-ui, -apple-system, Segoe UI, Arial, Helvetica, sans-serif" role="img" aria-label="OmniRoute 4-tier fallback: your IDE or CLI calls one local endpoint and the OmniRoute Smart Router fails over across 375 providers in 4 tiers — Tier 1 Subscription, Tier 2 API, Tier 3 Cheap, Tier 4 Free.">
  <title>OmniRoute 4-tier fallback</title>
  <desc>OmniRoute 4-tier fallback: your IDE or CLI calls one local endpoint and the OmniRoute Smart Router fails over across 375 providers in 4 tiers — Tier 1 Subscription, Tier 2 API, Tier 3 Cheap, Tier 4 Free.</desc>
  <defs>
    <marker id="arrow-dark" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto">
      <path d="M0,0 L0,6 L9,3 z" fill="#9ca3af"/>
    </marker>
    <marker id="arrow-fallback-dark" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto">
      <path d="M0,0 L0,6 L9,3 z" fill="#f87171"/>
    </marker>
  </defs>

  <!-- Background -->
  <rect width="800" height="420" fill="#111827" rx="12"/>

  <!-- Title -->
  <text x="400" y="32" text-anchor="middle" font-size="18" font-weight="700" fill="#f9fafb">OmniRoute 4-tier fallback</text>
  <text x="400" y="52" text-anchor="middle" font-size="12" fill="#6b7280">Never stop building — automatic zero-config failover across 375 providers</text>

  <!-- Client box -->
  <rect x="275" y="70" width="250" height="52" rx="8" fill="#1f2937" stroke="#374151" stroke-width="1.5"/>
  <text x="400" y="97" text-anchor="middle" font-size="13" font-weight="600" fill="#f3f4f6">Your IDE / CLI / App</text>
  <text x="400" y="114" text-anchor="middle" font-size="10" fill="#6b7280">Claude Code · Cursor · Cline · Copilot · JetBrains AI</text>

  <!-- Arrow down to router -->
  <line x1="400" y1="122" x2="400" y2="150" stroke="#9ca3af" stroke-width="1.5" marker-end="url(#arrow-dark)"/>
  <text x="420" y="140" font-size="9" fill="#6b7280">localhost:20128/v1</text>

  <!-- Router box -->
  <rect x="200" y="152" width="400" height="72" rx="8" fill="#1e3a5f" stroke="#3b82f6" stroke-width="1.5"/>
  <text x="400" y="177" text-anchor="middle" font-size="14" font-weight="700" fill="#93c5fd">OmniRoute Smart Router</text>
  <text x="400" y="196" text-anchor="middle" font-size="10" fill="#60a5fa">RTK compression · Caveman terse-mode · Auto-Combo (19 strategies)</text>
  <text x="400" y="213" text-anchor="middle" font-size="10" fill="#60a5fa">Circuit breaker · MCP server (110 tools) · A2A · Memory · Guardrails</text>

  <!-- Arrows from router to tiers -->
  <line x1="260" y1="224" x2="109" y2="285" stroke="#9ca3af" stroke-width="1.5" marker-end="url(#arrow-dark)"/>
  <line x1="355" y1="224" x2="303" y2="285" stroke="#9ca3af" stroke-width="1.5" marker-end="url(#arrow-dark)"/>
  <line x1="445" y1="224" x2="497" y2="285" stroke="#9ca3af" stroke-width="1.5" marker-end="url(#arrow-dark)"/>
  <line x1="540" y1="224" x2="691" y2="285" stroke="#9ca3af" stroke-width="1.5" marker-end="url(#arrow-dark)"/>

  <!-- Tier 1: Subscription -->
  <rect x="16" y="287" width="186" height="110" rx="8" fill="#1c1a00" stroke="#d97706" stroke-width="1.5"/>
  <text x="109" y="310" text-anchor="middle" font-size="11" font-weight="700" fill="#fbbf24">Tier 1 — SUBSCRIPTION</text>
  <text x="109" y="328" text-anchor="middle" font-size="9.5" fill="#d97706">Pay flat-rate, use every drop</text>
  <text x="109" y="346" text-anchor="middle" font-size="9" fill="#fbbf24">Claude Code · Codex</text>
  <text x="109" y="362" text-anchor="middle" font-size="9" fill="#fbbf24">Copilot · Cursor · Windsurf</text>
  <text x="109" y="390" text-anchor="middle" font-size="8.5" fill="#f59e0b">quota exhausted → Tier 2</text>
  <line x1="109" y1="376" x2="240" y2="376" stroke="#f87171" stroke-width="1" stroke-dasharray="4,2" marker-end="url(#arrow-fallback-dark)"/>

  <!-- Tier 2: API -->
  <rect x="210" y="287" width="186" height="110" rx="8" fill="#083344" stroke="#0891b2" stroke-width="1.5"/>
  <text x="303" y="310" text-anchor="middle" font-size="11" font-weight="700" fill="#67e8f9">Tier 2 — API</text>
  <text x="303" y="328" text-anchor="middle" font-size="9.5" fill="#22d3ee">Your own pay-as-you-go keys</text>
  <text x="303" y="346" text-anchor="middle" font-size="9" fill="#67e8f9">OpenAI · Anthropic · Gemini</text>
  <text x="303" y="362" text-anchor="middle" font-size="9" fill="#67e8f9">Groq · Mistral · xAI</text>
  <text x="303" y="390" text-anchor="middle" font-size="8.5" fill="#06b6d4">rate-limited → Tier 3</text>
  <line x1="303" y1="376" x2="434" y2="376" stroke="#f87171" stroke-width="1" stroke-dasharray="4,2" marker-end="url(#arrow-fallback-dark)"/>

  <!-- Tier 3: Cheap -->
  <rect x="404" y="287" width="186" height="110" rx="8" fill="#052e16" stroke="#16a34a" stroke-width="1.5"/>
  <text x="497" y="310" text-anchor="middle" font-size="11" font-weight="700" fill="#4ade80">Tier 3 — CHEAP</text>
  <text x="497" y="328" text-anchor="middle" font-size="9.5" fill="#22c55e">Pay-per-token, under $1/1M</text>
  <text x="497" y="346" text-anchor="middle" font-size="9" fill="#4ade80">DeepSeek $0.27 · GLM $0.60</text>
  <text x="497" y="362" text-anchor="middle" font-size="9" fill="#4ade80">MiniMax $0.20 · Qwen $0.30</text>
  <text x="497" y="390" text-anchor="middle" font-size="8.5" fill="#16a34a">budget hit → Tier 4</text>
  <line x1="497" y1="376" x2="628" y2="376" stroke="#f87171" stroke-width="1" stroke-dasharray="4,2" marker-end="url(#arrow-fallback-dark)"/>

  <!-- Tier 4: Free -->
  <rect x="598" y="287" width="186" height="110" rx="8" fill="#1e1b4b" stroke="#6366f1" stroke-width="1.5"/>
  <text x="691" y="310" text-anchor="middle" font-size="11" font-weight="700" fill="#a5b4fc">Tier 4 — FREE</text>
  <text x="691" y="328" text-anchor="middle" font-size="9.5" fill="#818cf8">Free tiers &amp; credit programs</text>
  <text x="691" y="346" text-anchor="middle" font-size="9" fill="#a5b4fc">Kiro · OpenCode · Qoder</text>
  <text x="691" y="362" text-anchor="middle" font-size="9" fill="#a5b4fc">Antigravity · Vertex $300cr</text>
  <text x="691" y="390" text-anchor="middle" font-size="8.5" fill="#6366f1">always available</text>

  <!-- Footer note -->
  <text x="400" y="413" text-anchor="middle" font-size="9" fill="#4b5563">Fallback happens in milliseconds — transparent to the calling tool</text>
</svg>