Generate a ready-to-paste config in 5 seconds
Pick your client, OS, and model — then click below to sign up and auto-fill this exact snippet with a scoped Starter API Key.
# docker-compose.yml (Open WebUI · key cap: $2 (2,000 credits))
services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "3000:8080"
environment:
- OPENAI_API_BASE_URL=https://api.modelseed.dev/v1
- OPENAI_API_KEY=sk-YOUR_MODELSEED_KEY
- DEFAULT_MODELS=deepseek-v4-1-flashOne credential across every automation node and self-hosted chat UI
Self-hosted automation stacks like n8n, Dify, Flowise, and Open WebUI become messy when every workflow stores a different vendor API key and breaks whenever a card expires or a regional endpoint throttles.
Pointing your OpenAI credentials in n8n, Dify, or Open WebUI to https://api.modelseed.dev/v1 lets every workflow call DeepSeek V4.1 Flash, GPT-6.2 Sol, Qwen 4 Max, GLM 5.3 Flash, or Doubao Seedream 5.0 Pro from a single prepaid USD wallet with per-workflow API key limits.
| Platform | Credential / Provider Type | Base URL | Starter Model ID |
|---|---|---|---|
| n8n (AI Agent / OpenAI node) | OpenAI API (Custom Base URL) | https://api.modelseed.dev/v1 | deepseek-v4-1-flash |
| Dify (Model Provider) | OpenAI-API-compatible | https://api.modelseed.dev/v1 | gpt-6.2-sol or qwen3.8-flash |
| Open WebUI | Connections → OpenAI API | https://api.modelseed.dev/v1 | Auto-discovered via /v1/models |
Docker Compose snippet for Open WebUI + Modelseed
Open WebUI automatically pulls the available catalog list from /v1/models on boot when OPENAI_API_BASE_URL and OPENAI_API_KEY are set.
services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "3000:8080"
environment:
OPENAI_API_BASE_URL: "https://api.modelseed.dev/v1"
OPENAI_API_KEY: "${MODELSEED_API_KEY}"
restart: unless-stoppedProduction hardening tips for webhook automations
Webhook-triggered LLM workflows can spike unexpectedly if an external CRM or Telegram group floods events.
- Issue one dedicated Modelseed API key per n8n instance or Dify workspace with a strict USD spend limit.
- Use fast, ultra-low-cost models (gpt-6.1-terra at $0.032/$0.160 or deepseek-v4-1-flash at $0.082/$0.329) for routing/classification nodes and reserve Pro/Max models for final synthesis.
- Always set max_tokens explicitly in n8n HTTP Request / OpenAI nodes to prevent runaway verbose replies.
Frequently asked questions
Does n8n require any custom community node to use Modelseed?
No. Use the built-in OpenAI credential in n8n and override the Base URL field with https://api.modelseed.dev/v1.
Why did Open WebUI fail to list models after I added the URL?
Ensure there is no trailing slash duplication (/v1/v1) and verify your key works directly with curl https://api.modelseed.dev/v1/models -H "Authorization: Bearer $MODELSEED_API_KEY".
Can one n8n workflow generate both ad copy and product images via Modelseed?
Yes — call /v1/chat/completions with deepseek-v4-1-flash for copy and an HTTP Request node to /v1/images/generations with Doubao-Seedream-5.0-pro ($0.0657/image) using the same Bearer key.
How do I fund automated workflows without linking a company credit card?
Top up your Modelseed prepaid wallet via Binance Pay (from 0.50 USDT), USDT, or Lava, and track per-key spend directly in Usage Logs.