You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(providers): add deepseek responses adapter
* docs(deepseek): add provider guide with reasoning effort mapping
Document DeepSeek V4's two-level reasoning_effort surface and the
low/medium -> high remap so users aren't surprised by the upgrade.
Cross-link from the Codex guide and add a comment on
normalizeReasoningEffort pointing to the user-facing table.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
</p>
24
24
25
25
<palign="center">
26
-
A fast and lightweight AI gateway written in Go, providing a unified OpenAI-compatible API for OpenAI, Anthropic, Gemini, xAI, Groq, OpenRouter, Z.ai, Azure OpenAI, Oracle, Ollama, and more.
26
+
A fast and lightweight AI gateway written in Go, providing a unified OpenAI-compatible API for OpenAI, Anthropic, Gemini, DeepSeek, xAI, Groq, OpenRouter, Z.ai, Azure OpenAI, Oracle, Ollama, and more.
27
27
</p>
28
28
29
29
<ahref="docs/dashboard.gif">
@@ -51,6 +51,7 @@ docker run --rm -p 8080:8080 \
51
51
-e OPENAI_API_KEY="your-openai-key" \
52
52
-e ANTHROPIC_API_KEY="your-anthropic-key" \
53
53
-e GEMINI_API_KEY="your-gemini-key" \
54
+
-e DEEPSEEK_API_KEY="your-deepseek-key" \
54
55
-e GROQ_API_KEY="your-groq-key" \
55
56
-e OPENROUTER_API_KEY="your-openrouter-key" \
56
57
-e ZAI_API_KEY="your-zai-key" \
@@ -90,6 +91,7 @@ Example model identifiers are illustrative and subject to change; consult provid
Copy file name to clipboardExpand all lines: docs/adr/0001-explicit-provider-registration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Context
4
4
5
-
GoModel supports multiple LLM providers, including OpenAI, Anthropic, Gemini, xAI, Groq, OpenRouter, Z.ai, Azure OpenAI, Oracle, Ollama, and custom OpenAI-compatible endpoints. Each provider must be registered with the factory before use.
5
+
GoModel supports multiple LLM providers, including OpenAI, Anthropic, Gemini, DeepSeek, xAI, Groq, OpenRouter, Z.ai, Azure OpenAI, Oracle, Ollama, and custom OpenAI-compatible endpoints. Each provider must be registered with the factory before use.
Copy file name to clipboardExpand all lines: docs/advanced/configuration.mdx
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,6 +181,7 @@ Set these to automatically register providers. No YAML configuration required.
181
181
|`OPENAI_API_KEY`| OpenAI |
182
182
|`ANTHROPIC_API_KEY`| Anthropic |
183
183
|`GEMINI_API_KEY`| Google Gemini |
184
+
|`DEEPSEEK_API_KEY`| DeepSeek |
184
185
|`OPENROUTER_API_KEY`| OpenRouter |
185
186
|`ZAI_API_KEY`| Z.ai |
186
187
|`XAI_API_KEY`| xAI (Grok) |
@@ -190,7 +191,7 @@ Set these to automatically register providers. No YAML configuration required.
190
191
|`OLLAMA_BASE_URL`| Ollama (no API key needed) |
191
192
|`VLLM_BASE_URL`| vLLM (no API key needed unless upstream requires) |
192
193
193
-
Most providers can use a custom base URL via `<PROVIDER>_BASE_URL` (for example `OPENAI_BASE_URL`). OpenRouter defaults to `https://openrouter.ai/api/v1` and can be overridden with `OPENROUTER_BASE_URL`. Z.ai defaults to `https://api.z.ai/api/paas/v4`; set `ZAI_BASE_URL=https://api.z.ai/api/coding/paas/v4` for the GLM Coding Plan endpoint. vLLM defaults to `http://localhost:8000/v1` when `VLLM_API_KEY` is set, but keyless deployments should set `VLLM_BASE_URL` explicitly to register the provider. Azure uses `AZURE_BASE_URL` for its deployment base URL and accepts an optional `AZURE_API_VERSION` override; otherwise it defaults to `2024-10-21`. Oracle requires `ORACLE_BASE_URL` because its OpenAI-compatible endpoint is region-specific.
194
+
Most providers can use a custom base URL via `<PROVIDER>_BASE_URL` (for example `OPENAI_BASE_URL`). DeepSeek defaults to `https://api.deepseek.com`; set `DEEPSEEK_BASE_URL` only for a compatible proxy or alternate DeepSeek endpoint. OpenRouter defaults to `https://openrouter.ai/api/v1` and can be overridden with `OPENROUTER_BASE_URL`. Z.ai defaults to `https://api.z.ai/api/paas/v4`; set `ZAI_BASE_URL=https://api.z.ai/api/coding/paas/v4` for the GLM Coding Plan endpoint. vLLM defaults to `http://localhost:8000/v1` when `VLLM_API_KEY` is set, but keyless deployments should set `VLLM_BASE_URL` explicitly to register the provider. Azure uses `AZURE_BASE_URL` for its deployment base URL and accepts an optional `AZURE_API_VERSION` override; otherwise it defaults to `2024-10-21`. Oracle requires `ORACLE_BASE_URL` because its OpenAI-compatible endpoint is region-specific.
194
195
195
196
Every provider type also accepts a comma-separated configured model list via
196
197
`<PROVIDER>_MODELS`, for example `OPENROUTER_MODELS`, `ORACLE_MODELS`,
@@ -311,6 +312,7 @@ The simplest way to add providers. GoModel checks for well-known API key environ
0 commit comments