aibridgepricesgen

command
v2.37.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

aibridgepricesgen converts a models.dev api.json snapshot into generated artifacts, selected by -format:

  • "prices": a JSON seed file consumable by the AI Gateway cost-control loader, sorted by (provider, model) so regenerations produce minimal diffs.
  • "catalog": the frontend known-models JSON, joining the snapshot with the editorial curation in curation.json and preserving its entry order.

Run via the gen/aibridge-prices Make target, which fetches and patches the snapshot (_gen/models-dev.json). Kept out of `make gen` because the output depends on live upstream data; refreshing prices should land in dedicated, reviewable commits rather than appearing as drift on unrelated gen runs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL