You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5995ba1
Browse filesBrowse the repository at this point in the historyBrowse files
fix(pricing): keep asset-priced models out of the models.dev snapshot
Dropping the model-name filter let two kinds of non-token pricing into the
snapshot, where the runtime divides the rate by a million and multiplies it
by token counts.
`whisper-large-v3` prices per second of audio. It reached the snapshot at
0.003 USD because the catalogs serving it advertise text output, and the
previous check only looked at the output side.
`gemini-2.5-flash-image` and `gemini-3-pro-image-preview` price per
generated image - 30 and 120 USD respectively. Google authors both with
image output, so the output check did reject Google's entry, but `302ai`
lists the same models as text-only and its entry was embedded instead. A
sloppier reseller description could therefore override the author's.
Read the modalities off the authored catalog rather than the catalog being
loaded, so one reseller's description cannot decide eligibility, and require
that the input modalities include text. A model that accepts no text is a
transcription or vision-only endpoint billed by duration; accepting audio,
video, image or PDF alongside text is normal for chat models and is
tokenised, so `kimi-k3` and `gemini-3-flash-preview`, which take video and
audio input, stay eligible. An earlier attempt rejected any audio or video
input and dropped both of them.
The snapshot goes from 422 to 418 entries. The Rust test asserts both
directions against the committed artifact so a future regeneration cannot
reintroduce either case.
0 commit comments