Skip to content

chore(evals): add sonnet-5, gpt-5.6, and grok pricing to braintrust UI publisher#2318

Merged
miguelg719 merged 3 commits into
mainfrom
miguelgonzalez/sonnet-5-eval-pricing
Jul 14, 2026
Merged

chore(evals): add sonnet-5, gpt-5.6, and grok pricing to braintrust UI publisher#2318
miguelg719 merged 3 commits into
mainfrom
miguelgonzalez/sonnet-5-eval-pricing

Conversation

@miguelg719

@miguelg719 miguelg719 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Why

Sonnet 5, GPT-5.6, and Grok eval runs published to the Braintrust UI had no pricing entry, so their cost metrics fell through as unknown.

What changed

Added to the publisher's MODEL_PRICING_USD_PER_1M_TOKENS map (prefixed and unprefixed forms per the map's convention):

Model Input Cached input Output
claude-sonnet-5 $3 $0.30 $15
gpt-5.6-sol $5 $0.50 $30
gpt-5.6-terra $2.50 $0.25 $15
gpt-5.6-luna $1 $0.10 $6
grok-4.5 $2 $0.50 $6
grok-4.3 $1.25 $0.20 $2.50

GPT-5.6 keys match the CUA model ids added in #2343 (openai/gpt-5.6-{sol,terra,luna}). Grok rates per docs.x.ai/developers/models (2026-07).

Deliberate trade-off (noted in the code comment): Sonnet 5 introductory pricing ($2 / $0.20 / $10) applies through 2026-08-31, so costs published before then are overstated ~1.5x; standard rates keep the dashboard stable across the cutover instead of requiring a September flip.

Tests

Internal publish script; no behavior beyond the map entries. Typecheck green.

Standard (non-introductory) Sonnet 5 rates so published eval cost
metrics price sonnet-5 runs instead of falling through as unknown.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 31b6d58

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@miguelg719 miguelg719 changed the title chore(evals): add claude-sonnet-5 pricing to braintrust UI publisher chore(evals): add claude-sonnet-5 and gpt-5.6 pricing to braintrust UI publisher Jul 14, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 1 file (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread packages/evals/scripts/publish-braintrust-ui-data.ts
Comment thread packages/evals/scripts/publish-braintrust-ui-data.ts
@miguelg719 miguelg719 changed the title chore(evals): add claude-sonnet-5 and gpt-5.6 pricing to braintrust UI publisher chore(evals): add new models' pricing to braintrust UI publisher Jul 14, 2026
@miguelg719 miguelg719 changed the title chore(evals): add new models' pricing to braintrust UI publisher chore(evals): add sonnet-5, gpt-5.6, and grok pricing to braintrust UI publisher Jul 14, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 1 file (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

Comment thread packages/evals/scripts/publish-braintrust-ui-data.ts
Comment thread packages/evals/scripts/publish-braintrust-ui-data.ts
@miguelg719
miguelg719 merged commit 0aaace1 into main Jul 14, 2026
41 checks passed
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.

2 participants