> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI/ML API

> Learn how to use AI/ML API with Agno.

AI/ML API is a platform providing unified access to 300+ AI models including **Deepseek**, **Gemini**, **ChatGPT**, and more — with production-grade uptime and high rate limits.

## Authentication

Set your `AIMLAPI_API_KEY` environment variable. Get your key at [aimlapi.com](https://aimlapi.com/?utm_source=agno\&utm_medium=github\&utm_campaign=integration).

<CodeGroup>
  ```bash Mac theme={null}
  export AIMLAPI_API_KEY=***
  ```

  ```bash Windows theme={null}
  setx AIMLAPI_API_KEY ***
  ```
</CodeGroup>

## Example

Use `AI/ML API` with your `Agent`:

<CodeGroup>
  ```python agent.py theme={null}
  from agno.agent import Agent
  from agno.models.aimlapi import AIMLApi

  agent = Agent(
      model=AIMLApi(id="meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo"),
      markdown=True,
  )

  agent.print_response("Explain how black holes are formed.")
  ```
</CodeGroup>

## Params

<Snippet file="model-aimlapi-params.mdx" />

`AIMLApi` also supports the params of [OpenAI](/reference/models/openai), where applicable.
