Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
ProviderCode string
Slug string
ExternalID string
DisplayName string
ContextWindow int
MaxOutput int
InputPrice string
OutputPrice string
// ReleaseDate is the provider release date as published by models.dev
// ("YYYY-MM-DD"); empty when models.dev does not report one.
ReleaseDate string
// InputModalities and OutputModalities list the accepted/produced content
// types (e.g. "text", "image", "audio"); empty when unreported.
InputModalities []string
OutputModalities []string
}
Model is a provider-native model entry as published by models.dev. Slug is the exact identifier the provider's own API accepts (no OpenRouter-style prefix), and ProviderCode is the models.dev provider key (e.g. "google-vertex").
Click to show internal directories.
Click to hide internal directories.