AI 0.26.1: The Playground shows the cost with asynchronous logging
AI 0.26.1 fixes the Playground on sites that log AI requests asynchronously (request_log_mode: :async): the cost of a call shows again.
A cost that is known only from the usage row, such as Anthropic’s list price or a catalogue or manual price, used to disappear from the Playground, because the row was still waiting in the queue when the page read it. The Playground now waits once, for up to two seconds, for the queue to be written. Sites with synchronous logging, or with a full queue, work as before.
The release also moves to PhoenixKit 2.64.1.
Full release notes: AI 0.26.1
0.26.1 · 24 October 2026
Fixed
- The Playground shows a call’s logged cost under
request_log_mode: :asynctoo (#56). A cost known only from the usage row (Anthropic’s list price, a catalogue or manual price) used to vanish because the row was still queued; the Playground now waits once, up to 2 s, for the queue before reading it. Synchronous logging and a full queue take the old path.
Changed
- Dependencies updated: PhoenixKit 2.64.1.
AI 0.26.1. Install or update: {:phoenix_kit_ai, "~> 0.26"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.