The AI/ML API provider gives unified access to over 300+ AI models, including Deepseek, Gemini, ChatGPT, and others, via a single standardized interface. The models run with enterprise-grade rate limits and uptime, and are ideal for production use. You can sign up at aimlapi.com and view full provider documentation at docs.aimlapi.com.Documentation Index
Fetch the complete documentation index at: https://agno-v2-shaloo-ai-support-link.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
id | str | "gpt-4o-mini" | The id of the model to use |
name | str | "AIMLAPI" | The name of the model |
provider | str | "AIMLAPI" | The provider of the model |
api_key | Optional[str] | None | The API key for AI/ML API (defaults to AIMLAPI_API_KEY env var) |
base_url | str | "https://api.aimlapi.com/v1" | The base URL for the AI/ML API |
max_tokens | int | 4096 | Maximum number of tokens to generate |
retries | int | 0 | Number of retries to attempt before raising a ModelProviderError |
delay_between_retries | int | 1 | Delay between retries, in seconds |
exponential_backoff | bool | False | If True, the delay between retries is doubled each time |