Dify
Install the aimlapi.com plugin from the Dify Marketplace and use AI/ML API models across your Dify apps, workflows, and agents.
About
Dify is an open-source platform for building LLM applications — chat apps, agents, and visual workflows — with a built-in RAG pipeline and a model-provider layer that any app in the workspace shares.
AI/ML API ships as an official Dify Marketplace plugin, published as aimlapi/aimlapi. Install it from the Marketplace, paste one key, and every app in the workspace can use AI/ML API models.
Quick start
When to use AI/ML API with Dify
AI/ML API works well with Dify when you want:
one key and one provider entry instead of a separate credential per vendor
both the chat and embedding models a Dify RAG app needs from a single provider
to swap the model behind an app without touching the app's prompt or workflow
Prerequisites
Before you start, make sure you have:
a Dify workspace — cloud or self-hosted (see dify.ai)
an AI/ML API key from aimlapi.com/app/keys
a model ID from aimlapi.com/models
Need a key first? Use API Key Management.
Supported model types
LLM
chat apps, agents, workflow LLM nodes
Text Embedding
indexing knowledge into Dify's RAG pipeline
Image, video, and audio models are not exposed through this plugin.
Model selection
The plugin ships a generated snapshot of the AI/ML API chat catalog — over 300 predefined models, hottest first — plus embedding models. Anything not in the list can be added as a custom model: choose Add Model, and enter the full AI/ML API model ID.
Good starting models
openai/gpt-5-5— strong general useanthropic/claude-sonnet-5— long-form and agentic workgoogle/gemini-3.6-flash— lower latency and lower costopenai/text-embedding-3-small— embeddings
For the full catalog, use All Model IDs.
Config checklist
Make sure these values are set:
plugin: aimlapi.com installed from the Dify Marketplace
API key: your AI/ML API key, saved in Settings → Model Provider
model: a predefined model, or a custom model with an exact AI/ML API model ID
Troubleshooting
Links
All Model IDs
Last updated
Was this helpful?