Repository navigation
chore(deps,session): bump dependencies and price the new model generation - #344
Merged
Merged
Conversation
pnpm 12 reads overrides and build approvals from pnpm-workspace.yaml, so the fast-uri and js-yaml pins and the agnix build approval live there. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings every direct and indirect module to its latest release. modernc.org/libc and modernc.org/memory stay on the versions modernc.org/sqlite v1.63.0 pins. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Adds tariffs for claude-fable-5-2 / claude-mythos-5-2, gpt-6.2-astra, gpt-6.2-sol, gpt-6.1-terra, gpt-6-cyber, gpt-6-rosalind, gemini-4-carbon, gemini-4-hydrogen and gemini-4-neon, checked against the providers' pricing pages on 2026-11-22. Processing rules follow the same pages: Fable and Mythos 5.2 fast mode at 2x, GPT-6.2 Ultrafast at 3x until 2027-03-01 and 6x after, no Flex tier on GPT-6.2, and a Fast variant named in a Grok model id (grok-4.7-build-fast) billed at the Fast multiplier instead of the standard grok-4.7 rate. Dated changes: the GPT-5.6 Sol promotion ends after 2026-11-30, with that day estimated because OpenAI does not say which tariff it bills at, and gemini-2.5-pro / gemini-2.5-flash bill as gemini-3.8-flash / gemini-3.5-flash-lite from 2026-12-01. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex records the service tier in thread_settings_applied events and no longer on turn_context, so every Codex request was imported without a tier and priced at the standard rate even when it ran on Priority (Fast). The importer now takes the tier and provider from the latest settings event and keeps them across turns; a turn_context only updates the billing parameters it actually carries. Projection version 15 re-imports available sources on the next sync. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- GPT-6.2 Ultrafast switches to 6x at March 1, 2027 Pacific time. - OpenAI cache writes from 2026-10-20 are estimated: 12-hour writes bill at twice the 30-minute rate and sources record no lifetime. - Gemini 2.5 redirects apply to the retiring ids only, so variants matched by prefix keep their own tariff. - gemini-3.5-flash-lite Batch cache reads bill at half the standard rate; the $0.02 override is Flex only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Thread settings are the default for the turns that follow: a settings event that arrives after a turn's first measured request waits for the next turn, and a tier, speed or region carried by a turn_context ends with that turn. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A session whose source file is gone stays on the projection it was imported at, on both the device and the server. Comparing the server copy with the current importer version left those sessions unprunable after a projection bump; the check now uses the local row's version. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
go 1.26.0).modernc.org/libcandmodernc.org/memorystay on the versionsmodernc.org/sqlite v1.63.0pins. Supersedes chore(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 #334, chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1 #335, chore(deps): bump github.com/minio/minio-go/v7 from 7.2.1 to 7.3.0 #337, chore(deps): bump connectrpc.com/connect from 1.20.0 to 1.21.0 #341 and chore(deps): bump modernc.org/sqlite from 1.55.0 to 1.59.0 #342.agnixbuild approval live inpnpm-workspace.yaml, where pnpm 12 reads them. The lockfile's resolved versions are unchanged.thread_settings_appliedevents, so Priority (Fast) requests are priced at 2x. Projection version 15.Pricing catalog
USD per 1M tokens (input / output / cache read / cache write):
claude-fable-5-2,claude-mythos-5-2claude-fable-5at 10 / 50 / 1.00gpt-6.2-astragpt-6.2-solgpt-6.1-terragpt-6-cybergpt-6-rosalindgemini-4-carbongemini-4-argongemini-4-hydrogengemini-4-neonRule changes:
grok-4.7-build-fast(and anygrok-4.7-*-fastid) is priced asgrok-4.7at Fast speed — 2x, or 1.5x in the long-context tier — instead of the standard rate. The mapping is an inference from xAI's "Grok 4.7 Fast" pricing, so the cost staysestimated.estimatedbecause OpenAI's page says "until November 30" without saying which tariff that day bills at.gemini-2.5-proandgemini-2.5-flashbill asgemini-3.8-flashandgemini-3.5-flash-litefrom 2026-12-01, taking the target's tariff and processing rules. Variants matched by prefix keep their own tariff.estimated: 12-hour writes bill at twice the 30-minute rate and no source records the lifetime.gemini-3.5-flash-liteBatch cache reads bill at $0.015; the $0.02 override is Flex only.Still unpriced, by design:
codex-auto-reviewandgpt-reservehave no public per-token price, andgemini-pro-agenthas no documented mapping.Sources: OpenAI, Anthropic, Gemini, xAI. Z.AI and Cursor have no changes.
Codex service tier
Codex writes the service tier (
default,priority) inevent_msg/thread_settings_appliedand not onturn_context, so every Codex request was imported without a tier and priced at the standard rate. The importer treats the latest settings event as the default for the turns that follow: settings applied after a turn's first measured request wait for the next turn, and a tier, speed or region carried by aturn_contextholds for that turn only.session.ProjectionVersionis 15, so the next sync re-imports and re-pushes every session whose source file is still on disk. Sessions without a source keep projection 14, andprosa pruneverifies the server copy against the local row's own projection so they stay prunable. Servers accept any version at or above the stored one, so an older server takes v15 pushes.Codex costs still report
estimated: the rollout does not record the inference region, which the GPT-5.4+ tariffs depend on.Review
Reviewed by
prosa-importer-reviewer,prosa-docs-reviewerand Codex (gpt-6.2-astra, max effort). Their findings are addressed in thefix(...)commits. One is left open:devbox.jsonpinspnpm@10.20whilepackageManageris 12.16.1. Corepack selects 12.16.1 in the devbox shell and in CI, and nixpkgs carries pnpm 12.9.0 at most, so the pin cannot match exactly.Test plan
just ci(tidy-check, gen-check, vet, lint, test-race, test-integration, build)just quality(markdownlint, lychee, agnix, gitleaks)gpt-6.2-astra,gpt-6.2-solandclaude-fable-5-2are priced, and Codex requests carrypriority/default🤖 Generated with Claude Code