For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Field
Type
Description

name

str

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

batch_completion

bool

image_generation

bool

audio_transcription

bool

audio_speech

bool

rerank

bool

Usage

Single provider

All providers

Last updated