Skip to content

feat(api): add model and token category to organization costs - #1463

Merged
dpiet-oai merged 1 commit into
mainfrom
castiron/promotions/pr-529
Dec 3, 2026
Merged

dpiet-oai merged 1 commit into
mainfrom
castiron/promotions/pr-529

Conversation

@dpiet-oai

Copy link
Copy Markdown
Contributor

Summary

Adds billed model and token category details to organization cost line items.

Changes

  • Read the billed model and token category when they are available.

@dpiet-oai
dpiet-oai requested a review from a team as a code owner December 2, 2026 22:28
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T05:29:43.604236Z 2bbbaad New commits
🔒 Security Review ✅ Completed 2026-12-03T05:29:57.740188Z 2bbbaad New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the public promotion against its comprehensively reviewed internal counterpart. All changed-file patches match, including optional nullable model/token_type response fields and wire coverage for populated, null, and omitted dimensions. Existing response contracts and request behavior remain compatible. Independent static review agrees; no actionable findings. Hosted CI: {"queued": 7, "in_progress": 1, "success": 5}. No candidate code or local tests executed.

Castiron-Internal-PR: openai/openai-java-internal#529
Castiron-Source-SHA: 96894189daf7a036f3eee9dfc90d2b29c9b83cff
Castiron-Public-Base-SHA: 66a9b28
@dpiet-oai
dpiet-oai force-pushed the castiron/promotions/pr-529 branch from 617cc7b to 2bbbaad Compare December 3, 2026 05:28
@dpiet-oai
dpiet-oai requested a review from a team December 3, 2026 05:29

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed this public revision against the comprehensively reviewed internal counterpart. All changed-file contents match, including the optional nullable model/token_type fields and wire coverage for populated, null, and omitted values. No new compatibility or correctness findings. Independent static review agrees. Hosted CI currently: {"SUCCESS": 5, "IN_PROGRESS": 8}. No candidate code or local tests executed.

@dpiet-oai
dpiet-oai added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 3e3bb01 Dec 3, 2026
14 checks passed
@openai-sdks openai-sdks Bot mentioned this pull request Dec 3, 2026
dpiet-oai pushed a commit that referenced this pull request Dec 5, 2026
Automated Release PR
---


## [4.118.0](v4.117.0...v4.118.0) (2026-12-05)


### Features

* **api:** add memory and history to beta agents ([#1486](#1486)) ([92d31e2](92d31e2))
* **api:** add model and token category to organization costs ([#1463](#1463)) ([3e3bb01](3e3bb01))
* **api:** add organization profile and policy management ([#1488](#1488)) ([f51d344](f51d344))
* **api:** add project API key status filters ([#1482](#1482)) ([092839f](092839f))
* **api:** support custom HTTPS providers for external storage. Existing bucket accessors and visitor implementations remain source-compatible. For a custom endpoint, `provider.aws()` returns an empty `Optional`. Handlers can register `onCustomEndpoint(...)` or `onDefault(...)`. ([#1489](#1489)) ([06066d5](06066d5))


### Chores

* **api:** clarify agent session deletion ([#1467](#1467)) ([d1f7c91](d1f7c91))
* pin the reviewed v5 transition candidate ([#1481](#1481)) ([6206afb](6206afb))
* refresh the v5 compatibility transition pin ([#1485](#1485)) ([1fc311b](1fc311b))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants