Llama-4-Scout-17B
: Excellent performance for most general tasks, including multi-modal scenarios.Llama-3.3-70B
: Powerful instruction-following model for complex reasoning tasks.
Authentication
Set yourLLAMA_API_KEY
environment variable:
Example
UseLlama
with your Agent
:
View more examples here.
Parameters
Parameter | Type | Default | Description |
---|---|---|---|
id | str | "meta-llama/Meta-Llama-3.1-405B-Instruct" | The id of the Meta model to use |
name | str | "MetaLlama" | The name of the model |
provider | str | "Meta" | The provider of the model |
api_key | Optional[str] | None | The API key for Meta (defaults to META_API_KEY env var) |
base_url | str | "https://api.llama-api.com" | The base URL for the Meta API |
OpenAI-like Parameters
LlamaOpenAI
supports all parameters from OpenAI Like.