Skip to content

chore(trace): update Claude pricing table - #3509

Merged
jiparis merged 1 commit into
chainloop-dev:mainfrom
jiparis:chore/trace-claude-pricing-2026-10
Oct 2, 2026
Merged

jiparis merged 1 commit into
chainloop-dev:mainfrom
jiparis:chore/trace-claude-pricing-2026-10

Conversation

@jiparis

@jiparis jiparis commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Updates the embedded Claude pricing table used by chainloop trace to estimate session cost.

  • Adds rates for Claude Fable 5.1, Claude Mythos 5.1, Claude Opus 5.5 and Claude Sonnet 5.5. Sessions on these models previously fell back to the default model rates.
  • Documents that cache reads on these models do not use the standard 0.1x multiplier: 0.025x on Fable 5.1 / Mythos 5.1, 0.05x on Opus 5.5.

Rates are taken from https://platform.claude.com/docs/en/about-claude/pricing.

AI disclosure: this change was produced with assistance from Claude Code.

🤖 Generated with Claude Code

Review in cubic

Add pricing for claude-fable-5-1, claude-mythos-5-1, claude-opus-5-5
and claude-sonnet-5-5, and document their non-standard cache read
multipliers.

Assisted-by: Claude Code
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>

Chainloop-Trace-Sessions: ed8c3b94-8bad-4f12-b82c-b7db41053166
@chainloop-platform

chainloop-platform Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

AI Session Checks — 🟢 92% · ✅ 0 failing

Avg score Sessions Failing policies Attribution Files Lines Total Duration
🟢 92% 1 ✅ 0 100% AI / 0% Human 3 +51 / -3 1m56s

🟢 92% — 100% AI — ✅ All policies passing

Oct 1, 2026 23:01 UTC · 1m56s · $2.82 · 54 in / 13.3k out · claude-code 2.1.287 (claude-opus-5-5)

View session details ↗

Change Summary

  • Updates the embedded Claude pricing table with the current model rates.
  • Adds pricing checks for the new models and documents the non-standard cache-read multipliers.
  • Updates the stale CacheRead comment and then prepares the branch, commit, and push flow.

AI Session Overall Score

🟢 92% — Clean focused session with solid verification before shipping.

AI Session Analysis Breakdown

🟢 95% · alignment

🟢 The final summary matched the files, tests, and checks in-session. · High Impact

🟢 94% · user-trust-signal

No notes.

🟢 93% · solution-quality

No notes.

🟢 92% · verification

🟢 AI added rate checks and ran the trace tests before shipping. · High Impact

🟢 91% · scope-discipline

🟢 The change stayed inside pricing data, its test, and one comment. · High Impact

🟢 84% · context-and-planning

No notes.


File Attribution

████████████████████ 100% AI / 0% Human

Status Attribution File Lines
modified ai app/cli/internal/trace/claude/pricing.json +30 / -2
modified ai app/cli/internal/trace/claude/pricing_test.go +20 / -0
modified ai app/cli/internal/trace/claude/pricing.go +1 / -1

Policies (4)

Status Policy Material Messages
✅ Passed ai-config-mcp-servers-allowed ai-coding-session-ed8c3b -
✅ Passed ai-config-ai-agents-allowed ai-coding-session-ed8c3b -
✅ Passed ai-config-no-dangerous-commands ai-coding-session-ed8c3b -
✅ Passed ai-config-no-secrets ai-coding-session-ed8c3b -

Security Checks — ✅ 6 passing

✅ secret-scan

Status Policy Messages
✅ Passed secrets-detection -

✅ sast-scan

Status Policy Messages
✅ Passed owasp-top10-2025 -
✅ Passed sast -
✅ Passed cwe-top25 -
✅ Passed cwe-top26-40-cusp -

✅ iac-scan

Status Policy Messages
✅ Passed iac-misconfiguration -

✅ security-context — no advisories

Nothing this change touches has a recorded security-fix history.

View security context ↗ · Security context documentation ↗

⏭️ 2 scans not applied

Scan Reason
vulnerability-scan no manifest/lockfile changed
github-actions-scan no workflow files changed

View attestation ↗


PR validation — ✅ 3 passing

Status Policy Material Messages
✅ Passed pr-min-approvals pr-info -
✅ Passed pr-description-required pr-info -
✅ Passed pr-user-story-linked pr-info -

View attestation ↗


Powered by Chainloop and Chainloop Trace

@jiparis
jiparis requested a review from a team October 1, 2026 23:06

@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 3 files

Re-trigger cubic

@jiparis
jiparis merged commit 78d1a9b into chainloop-dev:main Oct 2, 2026
17 checks passed
@jiparis
jiparis deleted the chore/trace-claude-pricing-2026-10 branch October 2, 2026 05:50
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