AI/ML API provides a single API for accessing 300+ hosted foundation models (DeepSeek, Gemini, GPT, and more) with enterprise-grade uptime and throughput.
Installation and setup
-
Install the AI/ML API integration package.
- Create an account at aimlapi.com and generate an API key.
-
Authenticate by setting the
AIMLAPI_API_KEYenvironment variable.
Chat models
See a usage example.LLMs
See a usage example.Embedding models
See a usage example.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.