Categories

Architecture

LLM caches: saving tokens without dropping quality

A caching proxy in front of a language model can cut the token bill significantly, but it introduces subtle risks if the design is not careful. Which cache types work in production, where the usual traps sit, and how to add them without degrading the experience.

Artificial Intelligence

LiteLLM: A Proxy to Unify Model Providers

The LiteLLM proxy sits between your applications and your model providers, exposing a single endpoint in the OpenAI format that routes each call to OpenAI, Anthropic, Cohere, or a self-hosted model. It earns its place at the second provider, where clean code breaks down: every SDK brings its own client, message format, streaming semantics, errors, and function calling.