Kaeso 0.7.2: a faster console, lighter streams and security fixes
Kaeso 0.7.2 is out. Console pages load their data before you click, big tables and the model picker do far less work, open streams take about a third less gateway memory, and fixes land for guardrails, limits, shared links, single sign-on and the updater. Here is what changed and how to update.
- Published
- Reading time
- 6 min
- Author
- Kaeso Team

Kaeso is the open-source AI gateway you run yourself: one address for your apps' model requests, with one set of keys, limits, logs and costs. Kaeso 0.7.2 is a release of speed and fixes. It makes the console you use every day feel quicker, lets the gateway hold more open streams in the same memory, and fixes eight security issues and a series of bugs.
There is nothing to change before you update: 0.7.2 refuses no setting that 0.7.1 accepts, and it brings no database migration.
A faster console01
Most of the console's slowness came from waiting for data after a page had opened, and from drawing more than the screen shows. 0.7.2 works on both.
- Pages load their data before you click. When you point at, focus or touch a link, the page behind it starts loading its data, so most pages open without a skeleton. This now covers project tools and settings, organization analytics, MCP servers, providers and projects, and every account, organization and instance settings page. The prefetch checks your rights the way the page does, and navigation never waits for it.
- Big tables draw only what you see. Request logs, tool calls and analytics breakdowns draw only the rows in view once a table has more than 50 rows, and cells no longer measure their text while drawing. In the pull request's measurements on a seeded install, the request log's blocking time on load fell from 357 to 141 ms and its page from 3,779 to 1,640 DOM nodes. Text that is cut still shows in full on hover and keyboard focus.
- Opening a request is quicker. Clicking a row in the request log no longer draws the whole table again: from the click to the open sheet went from 442 to 181 ms at 1440 px.
- The model picker keeps up with thousands of models. It and the request log's Model filter open with far less delay and filter without freezing.
- Less to download. The Platform API now gzip-compresses text answers to the console's own reads. On a throttled connection, the organization overview's data shrank from 490 to 188 KB in the pull request's test. The project overview's Latest requests asks for the 7 requests it shows instead of 100 every five seconds, 7.7 KB instead of 114.4 KB per poll.
- Overviews stay put while they load. The release banner, trend lines, the Tool calls tab, the notes under the metric tabs and header buttons keep their place on the organization and project overviews and in Analytics. The retiring-models warning, the month's cost split and the spend limit can still push the content below them when their data comes after the first frame.
Compression follows rules that keep a compression-length attack out of reach: a request with a session cookie is compressed only when the browser marks it as coming from the same site, as the console's own requests are; requests without a cookie, such as a platform key's, always are; answers to changes never are. An install that serves the console from a different origin than the gateway gets no compression for the console. The model API, MCP and the portal are unchanged.
Lighter streams and a bounded log buffer02
An open stream now takes about a third less of the gateway's memory: the state of the work that ends a stream is allocated only when the stream ends. In the pull request's measurements on a development machine, memory per open stream fell from about 151 KiB to about 105 KiB at 5,000 streams, while time to first byte and the gap between chunks stayed within the spread between runs. Faster streaming in Kaeso 0.7.1 covers the CPU side of streams.
Request log rows that wait for ClickHouse now stay within the memory logs.buffer_size names. Before, a full 1 MiB buffer held about 3.8 million bytes; now it holds about 1.1 million, and the buffer drops its oldest rows at the limit instead of far beyond it. Request logs and privacy explains what the log keeps.
Security fixes03
0.7.2 fixes eight security issues:
- Guardrails: a rule that blocks or masks a value still acts when a longer value of another rule overlaps it, such as a secret followed by
@hostthat an email rule also finds (#1478 (opens in a new tab)). Guardrails in Kaeso explains the rules. - Limits: rate, token and spend limits count a request that moved on from a plan to an API key of the same pool, such as a ChatGPT plan that gives way for a media request; before, it counted against no limit (#1495 (opens in a new tab)).
- Shared links made by agents: an agent that creates a shared link can share only the usage, costs and member names its own grant lets it see, not everything the person behind it may see (#1483 (opens in a new tab)).
- Single sign-on: requiring it now also refuses, for the accounts the organization manages, a password or sign-in link sign-in that waits for its TOTP code and a signup link sent before (#1489 (opens in a new tab)). Sign-in and password reset links stop working once the identity provider moves the account to another address (#1492 (opens in a new tab)).
- Provider keys: a video's file link gets the provider's key only when its scheme, host and port match the provider's base URL (#1481 (opens in a new tab)), and a wrongly written
otel.headerspair is named by its position instead of quoted, so a token in it isn't repeated in the startup error or the logs (#1482 (opens in a new tab)). - The updater refuses a release whose transparency log entry names a time or body the log didn't sign, when a bundle carries a field under two spellings. Forging a release still needs a leaked signing key, and no release is known to be affected (#1476 (opens in a new tab)).
Several inputs that could keep the gateway's CPU busy for seconds are now read in time linear in their size: a body sent to the MCP portal with very many distinct member names, a Gemini request with many function calls, a Bedrock ConverseStream reply in many small messages, and ElevenLabs' streamed speech with timestamps. A 9 MB Gemini body with 80,000 calls took about 14 seconds of CPU before and takes about 0.35 seconds now.
And also04
- MCP portal: two MCP servers of an organization can no longer expose a tool under the same name. Only servers created through the API with a handle that ends in a hyphen or holds two in a row see their tools renamed. The MCP portal explains how a server's handle prefixes its tools.
- Single sign-on: a group rule that gives a since-deleted custom role no longer makes the sign-ins it matches fail. SSO, SCIM and roles covers group rules.
- OpenAI formats: a Responses field with an unusual name no longer removes the other unknown fields of its object, such as
storeandprompt_cache_key, a Chat Completions tool call of an unknown type stays intool_calls, and streamed tool calls after one keep their ownindex. - Realtime sessions whose app or provider stops reading end as idle after the idle timeout, and are logged and billed.
- Background jobs: a running
batchesjob no longer makes thewebhooksjob skip its runs. - Budgets: an amount too large to convert between currencies is refused with the limit's normal message instead of aborting the request.
- Dates: exchange-rate days and model release dates show as the gateway sent them, not as the day before for people west of UTC.
- The playground's Markdown export says where a box answer lies in German and Chinese too, not only in English.
Updating from 0.7.105
Most installs update with one click from Instance › Updates: the updater verifies the signed release, checks your settings with the new gateway before it stops the old one, and switches over. With the installer, run sh install.sh --update; on Kubernetes, helm upgrade with --version 0.7.2. How Kaeso updates itself and checks your settings explains the updater.
If you run several gateway replicas and update them one by one: during that rolling upgrade, an instance on the old release and one on 0.7.2 can run the batches job at the same moment, and the pull request did not check whether that is safe (#1485 (opens in a new tab)). Updating all replicas together avoids it.
Coming from 0.7.0 or earlier? Kaeso 0.7.1 describes the default it changed for MCP tool changes, so read it first. The full changelog lists every change in 0.7.2.
Product names in this article belong to their owners and are used only to name the software and services involved. Kaeso is not affiliated with or endorsed by them.
By Kaeso Team


