ajinkya.ai An experiment in learning with AI.

Learn

Explaining the LLM cost paper

A section-by-section walk-through of the methodology in "Cost Modeling for Public-Facing LLM Chat Applications" — the naive per-token formula and why it lies, the structural corrections that break it (caching, traffic shape, segments, daily caps), the six equations that replace it, and the worked geospatial-Q&A example that ties them together.

Understanding LLMs — a field guide

Twenty-three interactive chapters that walk language models end-to-end — from what tokens are and how attention works, through retrieval and context engineering, to the production techniques (caching, tools, evals), inference and serving, and the choice of model itself, closing with foundation models beyond language. Read in order or jump to the chapter that matches what you are building.

How to cost an AI agent: a progressive tutorial

A single-page, progressive tutorial for engineers and analysts who want to build their own AI-agent cost calculator. Starts at "what is a token?" and ends at a reference architecture you can clone — data model, formula library, and a validation harness. Implementation-agnostic; one worked reference lives at calc.ajinkya.ai.

No entries match.