routing
20 posts on this topic.
-
LLM gateway open source: what you run and what you keep
An open-source or self-hosted LLM gateway gives you the code and the keys, and hands you the upkeep: upgrades, provider drift, health checks, secret custody, logs and policy tests. A deployment checklist built on the LiteLLM and Kong documentation, and where a local source-available router with a maintained provider pack fits.
-
OpenCode free models: what is free and what caps out
OpenCode free models come in two kinds: the zero-price models OpenCode lists in its own catalog for a limited time, and free-tier quotas from providers such as OpenRouter that run out. Here is what each one gives you, what the OpenCode docs say about retries, and how a custom OpenAI-compatible provider could point OpenCode at one local endpoint backed by a pool.
-
AI token cost: calculate the real cost of an agent run
AI token cost per request is the easy part. An agent run resends its prompt on every step, writes and reads a cache, retries failed calls and sometimes reruns from scratch. A worked cost model with published Claude prices shows how far a run drifts from the per-token price.
-
LiteLLM alternatives: who maintains your routing policy?
LiteLLM alternatives compared by operations rather than feature grids: who writes the routing policy, who absorbs provider changes, and who guarantees that a fallback never bills you. Where LiteLLM stays the better choice, and where a smaller local router with maintained free-only defaults fits better.
-
LLM cost optimization: measure first, then route and cache
LLM cost optimization works best in a fixed order: measure cost per task, route each task to the cheapest model that passes a quality floor, then compress, cache, cap retries and set budgets. What each lever saves, what it costs, and where free models fit.
-
LiteLLM vs OpenRouter: who runs the router, who holds keys
LiteLLM is a gateway you run on your own infrastructure; OpenRouter is a router a company runs for you. How key custody, free-model quotas and fallback differ, why LiteLLM can call OpenRouter, and where a local strict-zero router fits.
-
OpenAI free API: what's free, what's billed, alternatives
Is the OpenAI API free? Its text models are billed per token, the "Free" usage tier is a usage limit, and only a few items cost nothing. What you can use for free instead, through the same OpenAI client.
-
LiteLLM supply chain attack: what happened, how to check
On 24 March 2026, LiteLLM 1.82.7 and 1.82.8 reached PyPI outside the project CI and carried a credential stealer. What the maintainers reported, how to check a machine, and what to change before installing any LLM gateway.
-
OpenRouter Stripe acquisition: what it means for free models
Stripe announced on 19 August 2026 that it agreed to acquire OpenRouter. What the announcement says, what it leaves out about :free models and their limits, and how to keep a free-model workflow running whatever changes.
-
LLM routers explained: cost, capability, and reliability policies
An LLM router picks a model for each request by applying policies: which models are eligible, which one to try first, and what to do when it fails. How LiteLLM implements those policies, and how a strict-zero router adds a cost gate.
-
Cheapest LLM APIs: compare total workload cost, not token price alone
The cheapest LLM API for your workload depends on output length, retries, rate limits, and reruns, not only the price per million tokens. A worked framework with Groq and Gemini prices.
-
Free LLM API keys: legitimate sources, limits, and safe routing
Where to get a free LLM API key from the provider itself, how Groq and Gemini scope their quotas, and how to route free keys without leaks or surprise bills.
-
Claude Code free alternatives: what you can replace and what you cannot
A Claude Code free alternative usually means keeping the agent and swapping the model behind it. Here is which coding workloads free models handle, where paid Claude still earns its price, and how to route the difference.
-
OpenRouter alternatives: hosted convenience, self-hosting, and strict-zero routing
Compare OpenRouter with a self-hosted gateway like LiteLLM and a local strict-zero router like Ficelle: who holds your keys, where requests go, and what happens when free quota runs out.
-
LLM fallback: handle rate limits, outages, and capability mismatches
A working LLM fallback reads the failure before it moves on. How to tell a Groq per-minute 429 from a daily cap, a Gemini project quota from a transient error, and an OpenRouter 402 from a 429, and where capability checks fit.
-
OpenRouter alternatives with free models: compare limits and guarantees
Compare OpenRouter free variants with Groq, Gemini, and Cloudflare Workers AI allowances. Learn what each free model router limits, what runs out first, and what no provider guarantees.
-
What is an LLM gateway? Routing, reliability, and cost control
An LLM gateway sits between your code and model providers. Here is a practical map of its five layers (compatibility, routing, health, cost policy, maintenance) and which ones Ficelle actually owns.
-
Free LLM APIs for developers without unreliable shortcuts
Choose a free LLM API by its access terms, quota scope, tool support, privacy, and failover options. Provider examples explain what to check.
-
Provider breakage is the silent killer of AI agents
Free and free-tier LLM providers rate-limit, retire models, and misreport capabilities, weekly. If your agent points at one provider, it breaks when they do. Routing with cooldowns, quarantine, and fallback is the fix.
-
Strict-zero routing: why your agent should never spend behind your back
Strict-zero keeps paid fallback disabled. Learn how zero-price catalog checks, optional free quotas, tool requirements, and upstream account limits fit together.