Skip to main content
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_KEY environment variable.

Chat models

See a usage example.

LLMs

See a usage example.

Embedding models

See a usage example.