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§
- Model
Catalog - 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.