Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,11 @@ providers = [
# OpenAI-compatible vendors
"nvidia-nim", "atlascloud", "wanjie-ark", "volcengine", "xiaomi-mimo",
"novita", "fireworks", "siliconflow", "siliconflow-cn", "arcee", "moonshot",
"huggingface", "together", "stepfun", "deepinfra", "meta",
"huggingface", "together", "stepfun", "deepinfra", "runcrate", "meta",
"groq", "cerebras", "baseten", "xai",
# Local servers (no API key required)
"ollama", "vllm", "sglang",
] # 30 providers; aliases like `nim`, `kimi`, `hf`, `grok` resolve automatically
] # 31 providers; aliases like `nim`, `kimi`, `hf`, `grok` resolve automatically
```

Any new OpenAI-compatible vendor is a one-row addition to
Expand Down
2 changes: 1 addition & 1 deletion docs/i18n/README_AR.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ providers = [
# مزودون متوافقون مع OpenAI
"nvidia-nim", "atlascloud", "wanjie-ark", "volcengine", "xiaomi-mimo",
"novita", "fireworks", "siliconflow", "siliconflow-cn", "arcee", "moonshot",
"huggingface", "together", "stepfun", "deepinfra",
"huggingface", "together", "stepfun", "deepinfra", "runcrate",
# خوادم محلية (لا تتطلب مفتاح API)
"ollama", "vllm", "sglang",
] # 25 مزوداً؛ الأسماء المستعارة مثل nim و kimi و hf تُحلّ تلقائياً
Expand Down
2 changes: 1 addition & 1 deletion docs/i18n/README_FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ providers = [
# Fournisseurs compatibles OpenAI
"nvidia-nim", "atlascloud", "wanjie-ark", "volcengine", "xiaomi-mimo",
"novita", "fireworks", "siliconflow", "siliconflow-cn", "arcee", "moonshot",
"huggingface", "together", "stepfun", "deepinfra",
"huggingface", "together", "stepfun", "deepinfra", "runcrate",
# Serveurs locaux (aucune clé API requise)
"ollama", "vllm", "sglang",
] # 25 fournisseurs ; les alias comme nim, kimi, hf sont résolus automatiquement
Expand Down
2 changes: 1 addition & 1 deletion docs/i18n/README_HI.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ providers = [
# OpenAI-संगत प्रदाता
"nvidia-nim", "atlascloud", "wanjie-ark", "volcengine", "xiaomi-mimo",
"novita", "fireworks", "siliconflow", "siliconflow-cn", "arcee", "moonshot",
"huggingface", "together", "stepfun", "deepinfra",
"huggingface", "together", "stepfun", "deepinfra", "runcrate",
# लोकल सर्वर (कोई API key आवश्यक नहीं)
"ollama", "vllm", "sglang",
] # 25 प्रदाता; nim, kimi, hf जैसे उपनाम स्वतः हल हो जाते हैं
Expand Down
2 changes: 1 addition & 1 deletion docs/i18n/README_PT.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ providers = [
# Provedores compatíveis com OpenAI
"nvidia-nim", "atlascloud", "wanjie-ark", "volcengine", "xiaomi-mimo",
"novita", "fireworks", "siliconflow", "siliconflow-cn", "arcee", "moonshot",
"huggingface", "together", "stepfun", "deepinfra",
"huggingface", "together", "stepfun", "deepinfra", "runcrate",
# Servidores locais (nenhuma chave de API necessária)
"ollama", "vllm", "sglang",
] # 25 provedores; aliases como nim, kimi, hf são resolvidos automaticamente
Expand Down
2 changes: 1 addition & 1 deletion docs/i18n/README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ providers = [
# OpenAI-совместимые провайдеры
"nvidia-nim", "atlascloud", "wanjie-ark", "volcengine", "xiaomi-mimo",
"novita", "fireworks", "siliconflow", "siliconflow-cn", "arcee", "moonshot",
"huggingface", "together", "stepfun", "deepinfra",
"huggingface", "together", "stepfun", "deepinfra", "runcrate",
# Локальные серверы (ключ API не требуется)
"ollama", "vllm", "sglang",
] # 25 провайдеров; псевдонимы вроде nim, kimi, hf разрешаются автоматически
Expand Down
2 changes: 1 addition & 1 deletion docs/i18n/README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ providers = [
# OpenAI 兼容厂商
"nvidia-nim", "atlascloud", "wanjie-ark", "volcengine", "xiaomi-mimo",
"novita", "fireworks", "siliconflow", "siliconflow-cn", "arcee", "moonshot",
"huggingface", "together", "stepfun", "deepinfra",
"huggingface", "together", "stepfun", "deepinfra", "runcrate",
# 本地服务(无需 API Key)
"ollama", "vllm", "sglang",
] # 共 25 个 provider;nim、kimi、hf 等别名自动解析
Expand Down
15 changes: 15 additions & 0 deletions src/providers/openai_compatible_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,21 @@ def resolved_class_name(self) -> str:
env_vars=("DEEPINFRA_API_KEY", "DEEPINFRA_TOKEN"),
aliases=("deep-infra", "deep_infra"),
),
ProviderSpec(
id="runcrate",
label="Runcrate",
default_base_url="https://api.runcrate.ai/v1",
default_model="deepseek-ai/DeepSeek-V4-Flash",
available_models=(
"deepseek-ai/DeepSeek-V4-Flash",
"deepseek-ai/DeepSeek-V4-Pro",
"zai-org/GLM-5.3",
"moonshotai/Kimi-K2.6",
"Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo",
),
env_vars=("RUNCRATE_API_KEY",),
aliases=("run-crate", "run_crate"),
),
# Meta's first-party API (api.meta.ai) — not a DeepSeek gateway; it serves
# its own ``muse-spark-1.1`` reasoning model over the OpenAI-compatible
# ``/v1/chat/completions`` endpoint (Bearer auth). ``muse``/``muse-spark``
Expand Down
2 changes: 2 additions & 0 deletions tests/test_provider_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"together",
"stepfun",
"deepinfra",
"runcrate",
"meta",
# OpenCode's openai-compatible profiles that this registry was missing
"groq",
Expand All @@ -63,6 +64,7 @@
"moonshot": ("https://api.moonshot.ai/v1", "kimi-k3"),
"ollama": ("http://localhost:11434/v1", "deepseek-coder:1.3b"),
"deepinfra": ("https://api.deepinfra.com/v1/openai", "deepseek-ai/DeepSeek-V4-Pro"),
"runcrate": ("https://api.runcrate.ai/v1", "deepseek-ai/DeepSeek-V4-Flash"),
"stepfun": ("https://api.stepfun.ai/v1", "step-3.7-flash"),
"siliconflow-cn": ("https://api.siliconflow.cn/v1", "deepseek-ai/DeepSeek-V4-Pro"),
"meta": ("https://api.meta.ai/v1", "muse-spark-1.1"),
Expand Down