Skip to content

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

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

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

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:40.672815Z fce6ff3 New commits
🔒 Security Review ✅ Completed 2026-12-03T05:29:57.885519Z fce6ff3 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: {"success": 16, "skipped": 9, "in_progress": 1}. No candidate code or local tests executed.

Castiron-Internal-PR: openai/openai-python-internal#469
Castiron-Source-SHA: 3eda90849ce3edfbfc6be9ee26f7c82a1a572f2d
Castiron-Public-Base-SHA: 83f5849
@dpiet-oai
dpiet-oai force-pushed the castiron/promotions/pr-469 branch from 69fdad0 to fce6ff3 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": 15, "SKIPPED": 9, "IN_PROGRESS": 2}. 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 43b6ff6 Dec 3, 2026
26 checks passed
@dpiet-oai
dpiet-oai deleted the castiron/promotions/pr-469 branch December 3, 2026 14:51
@openai-sdks openai-sdks Bot mentioned this pull request Dec 3, 2026
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