Provider
Data models for provider operations
The ProviderMetadata type describes a provider's capabilities and configuration. It is returned by AnyLLM.get_provider_metadata() and AnyLLM.get_all_provider_metadata().
ProviderMetadata
A Pydantic BaseModel containing provider information and feature flags.
Import: from any_llm.types.provider import ProviderMetadata
name
str
tier
ProviderTier
Support tier. Defaults to community, so a provider is only advertised as verified once it is listed in VERIFIED_PROVIDERS.
env_key
str
env_api_base
str | None
doc_url
str
streaming
bool
reasoning
bool
completion
bool
embedding
bool
moderation
bool
responses
bool
image
bool
pdf
bool
class_name
str
list_models
bool
messages
bool
messages_native
bool
batch_completion
bool
image_generation
bool
image_edit
bool
audio_transcription
bool
audio_speech
bool
rerank
bool
decide
bool
Whether the provider implements the decide API (decide/adecide).
video_generation
bool
Whether the provider implements the video API (video_generation/retrieve_video).
files
bool
file_operations
tuple[Literal['upload', 'list', 'retrieve', 'download', 'delete'], ...]
Usage
Single provider
All providers
Last updated