---
title: "Cost and latency"
url: https://eldan.ai/topics/cost
canonical: https://eldan.ai/topics/cost
locale: en
language: en
updated: 2026-11-23
author: "Eldan Abdrashim"
cite_as: "Eldan Abdrashim. \"Cost and latency.\" Eldan.ai, updated 23 November 2026. https://eldan.ai/topics/cost."
---

# Cost and latency

## Writing

- **[Caching LLM calls without fooling yourself](https://eldan.ai/writing/cache-llm-calls-honestly.md)**: Provider prompt caching and response caching solve different problems. Know which one you use, build cache keys from everything that shapes the answer, let prompt and model changes invalidate them, and keep response caches out of the evals that decide releases.
- **[Tokens are a budget](https://eldan.ai/writing/tokens-are-a-budget.md)**: Every model call has a bill and a clock. Treat cost and latency as design constraints, the way you treat memory on a phone, and write the budget down before you write the feature.

## Courses

- [LLM Apps in Production](https://eldan.ai/workshops/llm-apps-in-production.md): Calls, structure, streaming and cost: the layer every AI feature sits on.
