Versions in this module Expand all Collapse all v0 v0.7.1 Aug 9, 2026 v0.7.0 Aug 9, 2026 Changes in this version + const ModelGeminiFlash + const ModelGeminiFlashLite + const ModelGeminiPro + const ModelGrok45 + const ModelHaiku + const ModelLuna + const ModelOpus + const ModelSol + const ModelSonnet + const ModelTerra + func ContextWindow(model string) int + func CostUSD(model string, inTok, outTok, cacheRead, cacheWrite int) float64 + func FallbackChain(idOrLabel string) []string + func MaxOutputTokens(model string) int + func ModelVendor(idOrLabel string) string + func SearchFeeUSD(vendor string, searches int) float64 + func TierAltitude(label string) string + func TierVendors() []string + func VendorTier(vendor, tier string) string + type CatalogModel struct + Desc string + Fallback []string + Group string + ID string + Label string + MaxOutput int + Name string + PDF bool + Pinnable bool + PriceCacheRead float64 + PriceIn float64 + PriceOut float64 + Reasoning bool + Vendor string + Vision bool + Window int + func CatalogModels() []CatalogModel + func LookupModel(idOrLabel string) (CatalogModel, bool) + type Pricing struct + CacheRead float64 + CacheWrite float64 + Input float64 + Output float64 + func ModelPricing(model string) Pricing