Expand description
Static vendor preset catalog, embedded at compile time.
Structs§
- Model
Pricing Spec - Per-million-token pricing embedded in a provider preset model entry. USD.
- Model
Spec - A single model entry within a provider preset.
- Provider
Preset
Functions§
- all_
presets - find_
model_ pricing - Look up pricing for a model name across all presets.
Returns
Noneif the model is not listed or has no pricing field. - find_
preset - find_
preset_ by_ api_ base - Look up a preset by its API base URL. Used to recover the preset id
from a config file that only stores
api_base(e.g.recursive config show) and to pick sensible defaults in the manual branch ofrecursive initinstead of guessing the model from URL substrings.