<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Open Source on foojay.io - Friends Of OpenJDK</title><link>https://foojay.io/today/category/open-source/</link><description>Recent content in Open Source on foojay.io - Friends Of OpenJDK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 27 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://foojay.io/today/category/open-source/index.xml" rel="self" type="application/rss+xml"/><item><title>Building Token Budgets for Spring AI: The Problems I Didn't Expect</title><link>https://foojay.io/today/building-token-budgets-for-spring-ai-the-problems-i-didnt-expect/</link><pubDate>Fri, 27 Nov 2026 00:00:00 +0000</pubDate><guid>https://foojay.io/today/building-token-budgets-for-spring-ai-the-problems-i-didnt-expect/</guid><description>&lt;p&gt;&lt;em&gt;Rate limiters count requests. LLM bills count tokens.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Picture an &lt;code&gt;/agent&lt;/code&gt; endpoint in a Spring Boot app. It has two tools, and on a bad prompt the model decides it needs to call one of them again. And again. One HTTP request, forty model calls, each one sending the whole conversation so far back to the provider. Your rate limiter is happy, because it saw one request.&lt;/p&gt;&#10;&lt;p&gt;Your LLM provider isn&amp;rsquo;t. It just billed you for forty calls.&lt;/p&gt;</description></item></channel></rss>