Skip to main content

Module model_catalog

Module model_catalog 

Source
Expand description

Model METADATA catalog — per-(provider, model) context windows + capabilities. Rates live in pricing.rs/pricing.toml; this is metadata only. Embedded at build time and parsed once (mirroring PricingCatalog) — the single source of truth for ModelInfo across provider adapters and GET /v1/models.

Structs§

ModelCatalog
In-memory model-metadata catalog, built once from the embedded TOML.

Functions§

model_catalog
The process-wide model-metadata catalog, parsed once from the embedded data/models.toml. A unit test guards the bundled file’s validity.