AI Platform Integrations — LangChain, LiteLLM, Dify & Open WebUI
How to connect APIMaster.ai's OpenAI-compatible API to AI platforms and frameworks — LangChain, LiteLLM, Dify, Open WebUI, and more. Set API key and base URL to use GPT, Claude, and DeepSeek at reduced cost.
AI app platform integration
Use OpenAI-API-compatible providers in Dify and similar platforms to run models from the APIMaster marketplace in agents, workflows, and chatbots.
Get an API Key first. Copy the exact model id from the marketplace — it must match the API parameter.
Guides
| Platform | Guide |
|---|---|
| Dify | Settings → Model Provider → OpenAI-API-compatible |
| LangChain | Python agents; init_chat_model with base_url=https://apimaster.ai/v1 |
| LiteLLM | Unified SDK / Proxy; openai/<model id> + api_base=https://apimaster.ai/v1 |
| Open WebUI | Self-hosted chat UI; Docker → Settings → Connections → OpenAI API |
Common settings
| Field | Value |
|---|---|
| API Base URL | https://apimaster.ai/v1 |
| API Key | Token from APIMaster console |
| Model name | Marketplace model id (e.g. deepseek-v4-flash) |