Authentication
Set yourNEBIUS_API_KEY environment variable. Get your key from Nebius AI Studio here.
Example
UseNebius with your Agent:
View more examples here.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You are viewing v1 docs. For the latest documentation, visit docs.agno.com
Learn how to use Nebius models in Agno.
NEBIUS_API_KEY environment variable. Get your key from Nebius AI Studio here.
export NEBIUS_API_KEY=***
setx NEBIUS_API_KEY ***
Nebius with your Agent:
from agno.agent import Agent, RunResponse
from agno.models.nebius import Nebius
agent = Agent(
model=Nebius(
id="meta-llama/Llama-3.3-70B-Instruct",
api_key=os.getenv("NEBIUS_API_KEY")
),
markdown=True
)
# Print the response in the terminal
agent.print_response("Share a 2 sentence horror story.")
| Parameter | Type | Default | Description |
|---|---|---|---|
name | str | "Nebius" | The name of this chat model instance. |
id | str | "Qwen/Qwen3-235B-A22B" | The id of the Nebius model to use. |
api_key | Optional[str] | None | The API key to authorize requests to Nebius AI Studio. Defaults to environment variable NEBIUS_API_KEY. |
base_url | str | "https://api.studio.nebius.com/v1/" | The base URL for API requests. |
provider | str | "Nebius" | The provider of the model. |
Was this page helpful?