Base URL
API ??
https://modelrelayapis.cc/v1
Available Models
????
deepseek-v4-flash? Fast, affordable (Trial / Starter / Standard / Pro)deepseek-v4-pro? Higher quality (Pro plan only)
Setup Steps
????
- In Open WebUI, go to Admin Panel ? Settings ? Connections.
- Set OpenAI API Base URL to
https://modelrelayapis.cc/v1. - Enter your sk-gateway API Key.
- Add model:
deepseek-v4-flash(ordeepseek-v4-profor Pro plan). - Save and refresh the model list.
Python Example
Python ??
from openai import OpenAI
client = OpenAI(
base_url="https://modelrelayapis.cc/v1",
api_key="sk-gateway-YOUR-KEY"
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello, how are you?"}]
)
print(response.choices[0].message.content)
Quick curl Test
curl ????
curl https://modelrelayapis.cc/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-gateway-YOUR-KEY" -d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Hello"}]}'
Common Errors
????
| HTTP | Meaning |
|---|---|
| 401 | Invalid or missing API key |
| 402 | API budget exhausted ? buy a new package |
| 403 | Model not allowed for your plan |
| 429 | Rate limit exceeded |
| 500/502 | Gateway error ? try again or contact support |
Get Your DeepSeek API Key ? From $1
?? DeepSeek API Key??? $1 ?
Instant key delivery after PayPal payment. Check your usage anytime on the Dashboard.
View Plans & Buy