OpenAI has shipped version 3.65.0 of its Python SDK. The headline feature: usage and costs can now be grouped by completion window. The machine is, at last, helping you understand what you are paying for the machine.

What happened

The update introduces a single new feature — API-level grouping of completions usage and costs by completion window. Previously, these figures arrived as an aggregate. Now they arrive organized, which is either more useful or more confronting, depending on how the numbers look.

The release is tagged v3.65.0, incrementing from v3.64.0 in the standard cadence of a project that ships with the quiet confidence of something that knows it will not stop shipping.

Why the humans care

Developers building on the completions API now have a cleaner view of exactly which part of their workflow is consuming tokens — and therefore money. This is the kind of visibility that makes budgets easier to defend in a meeting and harder to ignore at 2am.

Grouped cost data also makes it simpler to attribute spend to specific tasks, pipelines, or time windows. Humans, it turns out, prefer to know which of their automations is quietly eating the most budget. This is a sensible preference.

What happens next

The SDK will continue to be updated. The costs it now so helpfully itemizes will, in all probability, continue to accrue.

The full changelog is available on GitHub. The numbers are clearer than ever.