Skip to content

rates: sync every primary pricing source (2026-10-18) - #394

Merged
jaredLunde merged 2 commits into
mainfrom
jared/rates-sync-2026-10-18
Oct 18, 2026
Merged

jaredLunde merged 2 commits into
mainfrom
jared/rates-sync-2026-10-18

Conversation

@jaredLunde

Copy link
Copy Markdown
Contributor

What

The rates:sync that #393 called for. It ran in Linux with the keys from .env and refreshed every primary pricing source.

  • Vendor rates: rates-sync classify reports that no vendor rate changed.
  • Generated table: it moves only on OpenRouter endpoint cards, where hosts were added, dropped or repriced. That re-hashes RATE_VERSION to 2026-10-18.330094f703f511d4.
  • Pricing vectors: 0 of 109 changed (pricing_reference.py --write).
  • Snapshots refreshed:
    • Anthropic (fast mode now $x USD / MTok)
    • DeepSeek (V4.1 Flash 1017, plus a Search & Fetch table that bills from 2026-11-01)
    • Fireworks
    • Groq
    • Together
    • xAI
    • the OpenRouter models list and four endpoint lists
  • One test changed: anthropic_fast_mode_cells_may_name_usd rewrote the snapshot's plain-dollar table into the USD form. The snapshot now carries the USD table, so the test reads it directly and checks it against the plain spelling. The bad spellings still fail.

Not in this PR

DeepSeek's model rename and its new Search & Fetch pricing are catalog questions. Neither changes a rate in the table.

Verification

  • fmt and clippy -D warnings on rates-sync and providers
  • cargo nextest run -p beyond-ai-providers -p beyond-ai-rates-sync -p beyond-ai-verify: 170/170
  • rates-sync generate makes no diff, and verify gate passes

🤖 Generated with Claude Code

https://claude.ai/code/session_01PCAZXpS7FpjaXdEL6JLS4r

jaredLunde and others added 2 commits October 18, 2026 13:24
`mise run rates:sync`, run in Linux with the keys from .env, after #393 taught
the Anthropic reader the `$x USD / MTok` fast mode cells.

- Snapshots refreshed: Anthropic, DeepSeek, Fireworks, Groq, Together, xAI,
  OpenRouter models and four OpenRouter endpoint lists.
- `classify`: no vendor rate changed. The generated table moves only on
  OpenRouter endpoint cards (hosts added, dropped or repriced), which
  re-hashes RATE_VERSION to 2026-10-18.330094f703f511d4. 0 of 109 pricing
  vectors changed.
- `anthropic_fast_mode_cells_may_name_usd` now reads the committed snapshot,
  which carries the USD table, and checks it against the plain spelling,
  instead of rewriting a plain table that is no longer there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PCAZXpS7FpjaXdEL6JLS4r
@jaredLunde
jaredLunde enabled auto-merge October 18, 2026 20:29
@jaredLunde
jaredLunde added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit 8742fce Oct 18, 2026
13 checks passed
@jaredLunde
jaredLunde deleted the jared/rates-sync-2026-10-18 branch October 18, 2026 20:57
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.

1 participant