fix(usage): price Claude fast-mode requests at the fast rate (#13599)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Theo BrowneandClaude Opus 5.5 authored and GitHub committed 2026-09-25 00:58:13 -07:00
1 parent 86054b6df2
commit e3e7cc3fc2
8 files changed
+129 -38

No files matched your search

@@ -12,6 +12,7 @@ const rates: RateTable = new Map([
outputCostPerToken: 5e-5,
cacheReadCostPerToken: 1e-6,
cacheCreationCostPerToken: 1.25e-5,
fastMultiplier: 1,
},
],
]);
@@ -31,6 +32,7 @@ function record(overrides: Partial<UsageRecord> = {}): UsageRecord {
reasoningTokens: 0,
},
reportedCostUsd: null,
fast: false,
dedupeKey: null,
...overrides,
};