Back home
Talk · DevFest Munich 2026 · December 5, 2026

Cost-Optimized, Robust LLMs in Production

Fallbacks, budgets, local models and safe agents. Here are the twelve checks from the talk, the slides, a script you can run, and every source behind the numbers on the slides.

Vasil Kulakov
Vasil Kulakov
Builds Keystone, an open-source LLM gateway
LinkedIn →

Slides and code

The line every talk starts from: client.models.generate_content(model="gemini-2.5-pro", contents=prompt). It quietly decides who answers, what the call may cost, where it runs and what it may touch. The practices below take those decisions out of the code and put them in one place.

Twelve checks for every LLM call site

Pick one service, find every call to a model, and go down the list. Practices 1–9 were on stage; 10–12 are in the slides’ appendix.

Sources

Every number on the slides, with the page it came from. Checked between November 12 and December 1, 2026.

AI disclosure. Idea: human. Text: human. Spelling and timing check: AI*. Graphics and slides: AI*.
* Antigravity + Claude, talking to each other through the KTMS inbox service.