Skip to main content
The Meta model provides access to Meta’s language models.

Parameters

ParameterTypeDefaultDescription
idstr"meta-llama/Meta-Llama-3.1-405B-Instruct"The id of the Meta model to use
namestr"MetaLlama"The name of the model
providerstr"Meta"The provider of the model
api_keyOptional[str]NoneThe API key for Meta (defaults to META_API_KEY env var)
base_urlstr"https://api.llama-api.com"The base URL for the Meta API
Meta extends the OpenAI-compatible interface and supports most parameters from OpenAI.
I