// writing
Posts tagged #llm
A mix of technical deep-dives, career reflections, and dispatches from the road.
tag: #llm

AINov 27, 2026· 4 min
Sending PDFs to an LLM: Every Page Is Text and an Image, and You Pay for Both
PDF input sends each page as extracted text plus a rendered image. Here's how to measure that cost and when to send plain text instead.
read more →

AINov 21, 2026· 3 min
Streaming LLM Responses: Tokens Arrive Faster Than You Should Render Them
Streaming makes an LLM feel fast, until a proxy buffers it, Markdown re-parses on every token, or the stream dies after a 200. How to wire it end to end.
read more →

AINov 20, 2026· 4 min
RAG Chunking: Your Chunks Don't Know What Document They Came From
Chunk size gets the debate, but most RAG misses come from chunks that lost their context. Split on structure, carry context in, and measure recall.
read more →

AINov 13, 2026· 4 min
Ollama in Your Dev Loop: Swapping the Base URL Is the Easy Part
Ollama speaks the OpenAI API, so pointing your app at a local model takes one line. The context window, feature gaps, and schema quirks are what bite.
read more →

AINov 8, 2026· 4 min
LLM Rate Limits: Your Retry Loop Is the Easy Part
Not every 429 is worth retrying. How to handle LLM API rate limits without stacking retries, burning budget on spend-cap errors, or finding limits by failing.
read more →

AIOct 31, 2026· 3 min
LLM Evals Start as Thirty Test Cases, Not a Platform
Most LLM features ship on vibes and break on the next prompt tweak. A small regression set, cheap deterministic checks, and a calibrated judge catch most of it.
read more →

AIOct 30, 2026· 4 min
Prompt Caching: Your Prompt's Prefix Is a Cache Key
Prompt caching can cut repeated input costs by around 80%, but only if the stable parts of your prompt come first. Here's how it works and what breaks it.
read more →

AIOct 23, 2026· 4 min
Structured Outputs: Stop Parsing JSON Out of LLM Prose
Constrained decoding means the model can't return malformed JSON. Here's how structured outputs work with Zod in TypeScript, and the edge cases they miss.
read more →
// the newsletter