Skip to main content

Module providers

Module providers 

Source
Expand description

Static vendor preset catalog, embedded at compile time.

Structs§

ModelPricingSpec
Per-million-token pricing embedded in a provider preset model entry. USD.
ModelSpec
A single model entry within a provider preset.
ProviderPreset

Functions§

all_presets
find_model_pricing
Look up pricing for a model name across all presets. Returns None if 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 of recursive init instead of guessing the model from URL substrings.