OpenAI-compatible endpoint setup — plug in and chat.
SillyTavern supports any OpenAI-compatible API endpoint. Here is how to connect your DeepSeek API key — step by step.
Fill in these fields exactly:
| Setting | Value |
|---|---|
| API Base URL | https://modelrelayapis.cc/v1 |
| API Key | sk-gateway-xxxxxxxx... |
| Model | deepseek-v4-flash |
| Streaming | Enabled ✓ |
Important: The base URL must end with /v1. SillyTavern appends /chat/completions automatically.
Use exactly: deepseek-v4-flash
Do not add prefixes like openai/ or text-. Just the bare model ID.
Available models on this gateway:
deepseek-v4-flash — Fast, great for chat/roleplay. Recommended for SillyTavern.deepseek-v4-pro — Higher capability, more expensive per token. Available on all plans.Click Connect or send a test message in your chat. If everything is configured correctly, you should get a response within seconds.
Problem: Invalid or missing API key.
Fix: Check that your sk-gateway-... key is copied correctly — no extra spaces, no missing characters.
Problem: The path does not exist.
Fix: Make sure your Base URL ends with /v1. SillyTavern calls /v1/chat/completions.
Problem: Your API budget is exhausted.
Fix: Buy a new package to get a fresh key with budget.
Problem: Exceeded rate limit (30 or 60 RPM depending on plan).
Fix: Wait 60 seconds and try again. Reduce auto-retry frequency in SillyTavern settings.
Problem: Gateway or upstream DeepSeek service temporarily unavailable.
Fix: Wait 1-2 minutes and retry.
Streaming (SSE) is fully supported. Characters appear token-by-token. Make sure the Streaming toggle is enabled in your API connection settings.
This gateway filters reasoning_content by default. You only receive the final content field — exactly what SillyTavern expects. No stray thinking tokens in your character replies.
Buy a package and get your API key instantly after PayPal payment.
This is a third-party API gateway. Not affiliated with DeepSeek. OpenAI-compatible endpoint.
View Plans & Buy