Skip to content
Source
Sign inSign up
TanStack/schemas

Price BytePlus DeepSeek V4.1 Flash (peak periods) and seed-translation #423

Mergedtombeckenhammerged 2 commits intomain fromrefs/pull/423/headmerged by tombeckenham View on GitHub

Showing 7 changed files with 37 additions and 10 deletions (loading 4).

x
0 of 7 viewed, 7 left
1 addition and 0 deletionsdocs/source-silent/byteplus.mdAdded
View file
@@ -0,0 +1 @@
+- byteplus/seed-translation-250915: cacheRead — The model's own page quotes input 0.20 and output 0.80 USD/M tokens and marks "Input Hits Cache" as "-"; the ModelArk pricing page has no row for this model, so no cached-input price is published (#411), https://docs.byteplus.com/en/docs/ModelArk/recommended-models-seed-translation, checked 2026-10-22
17 additions and 0 deletionsscripts/gap-report.test.tsModified
View file
@@ -88,6 +88,23 @@
expect(provider('full', own).score).toBe(1)
})
​
+ it('counts a card with no base row only when every row prices the lever', () => {
+ const rate = {
+ off_peak: {
+ input_tokens: 1e-7,
+ output_tokens: 4e-7,
+ cache_read_tokens: 1e-9,
+ },
+ peak: { input_tokens: 2e-7, output_tokens: 8e-7 },
+ }
+ const periods = provider(
+ 'full',
+ buildReport([{ ...complete, pricing: { tables: { rate } } }]),
+ )
+ expect(periods.facts.priced).toEqual({ have: 1, need: 1 })
+ expect(periods.facts.cacheRead).toEqual({ have: 0, need: 1 })
+ })
+​