Skip to content
Open
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
feat(llm): add AIGROW provider
  • Loading branch information
guglielmo-io committed Nov 23, 2026
commit 497a1c2bf86b0a5a71ca916cf6a85ee08c1ad130
8 changes: 8 additions & 0 deletions app/models/llm_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,14 @@ def select_service_endpoint(
default_base_url="https://atmorouter.dev/v1",
model_docs_url="https://atmorouter.dev/models",
),
LLMProviderSpec(
"aigrow",
"AIGROW",
api_key_url="https://aigrow.gg/dashboard/api",
default_model="claude-haiku-5.5",
default_base_url="https://aigrow.gg/v1",
model_docs_url="https://aigrow.gg/v1/models",
),
# 本地部署与通用网关
LLMProviderSpec(
"ollama",
Expand Down
8 changes: 8 additions & 0 deletions config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,14 @@ atmorouter_api_key = ""
atmorouter_base_url = ""
atmorouter_model_name = ""

# AIGROW, a prepaid OpenAI-compatible API for Claude, GPT, Gemini, Grok, Qwen
# and Kimi models.
# API key: https://aigrow.gg/dashboard/api
# Model list: https://aigrow.gg/v1/models
aigrow_api_key = ""
aigrow_base_url = ""
aigrow_model_name = ""

# OpenAI or another OpenAI Chat Completions-compatible provider.
# API key: https://platform.openai.com/api-keys
openai_api_key = ""
Expand Down
8 changes: 8 additions & 0 deletions test/services/test_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,13 @@ def test_current_default_model_names(self):
atmorouter.api_key_url, "https://atmorouter.dev/dashboard/keys"
)
self.assertEqual(atmorouter.model_docs_url, "https://atmorouter.dev/models")
aigrow = get_llm_provider("aigrow")
self.assertEqual(aigrow.default_model, "claude-haiku-5.5")
self.assertEqual(aigrow.default_base_url, "https://aigrow.gg/v1")
self.assertEqual(aigrow.adapter, "openai_compatible")
self.assertTrue(aigrow.requires_api_key)
self.assertEqual(aigrow.api_key_url, "https://aigrow.gg/dashboard/api")
self.assertEqual(aigrow.model_docs_url, "https://aigrow.gg/v1/models")
iflytek = get_llm_provider("iflytek")
self.assertEqual(iflytek.default_model, "spark-x2.5")
self.assertEqual(
Expand Down Expand Up @@ -783,6 +790,7 @@ def test_provider_registry_preserves_product_group_order(self):
"cheapaimodel",
"uberllm",
"atmorouter",
"aigrow",
"ollama",
"claude_code",
"oneapi",
Expand Down
1 change: 1 addition & 0 deletions test/services/test_webui_i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"llm_provider_label.cheapaimodel",
"llm_provider_label.uberllm",
"llm_provider_label.atmorouter",
"llm_provider_label.aigrow",
"llm_provider_label.shengsuanyun",
"llm_provider_label.infistar",
"llm_provider_label.apinebula",
Expand Down
2 changes: 2 additions & 0 deletions webui/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@
"llm_provider_tips.uberllm": "##### MartLLM Configuration\n- **API Key**: Sign up and create an API key at [MartLLM]({api_key_url})\n- **Base Url**: Defaults to `{default_base_url}`\n- **Model Name**: Defaults to `{default_model}`; see the [model list]({model_docs_url}) for other model IDs in `provider/model` form\n\nMartLLM is a pay-as-you-go, OpenAI-compatible API: one API key serves models from many labs (GPT, Claude, Gemini, DeepSeek, Qwen, Kimi and more). It is prepaid; there is no free tier.",
"llm_provider_label.atmorouter": "AtmoRouter",
"llm_provider_tips.atmorouter": "##### AtmoRouter Configuration\n- **API Key**: Sign in and create an API key on the [AtmoRouter API keys page]({api_key_url})\n- **Base Url**: Defaults to `{default_base_url}`\n- **Model Name**: Defaults to `{default_model}`; see the [model list]({model_docs_url}) for other model IDs in `family/model` form\n\nAtmoRouter is a prepaid, OpenAI-compatible API gateway. Deposit USDC on Solana or pay with QRIS; usage is billed per token. API documentation: [AtmoRouter docs](https://atmorouter.dev/docs).",
"llm_provider_label.aigrow": "AIGROW",
"llm_provider_tips.aigrow": "##### AIGROW Configuration\n- **API Key**: Create an API key at [AIGROW]({api_key_url})\n- **Base Url**: Defaults to `{default_base_url}`\n- **Model Name**: Defaults to `{default_model}`; the [model list]({model_docs_url}) shows every model ID and its per-token price (no key needed)\n\nAIGROW is a prepaid, OpenAI-compatible API: one API key serves Claude, GPT, Gemini, Grok, Qwen and Kimi models, with plain IDs such as `claude-haiku-5.5` or `gpt-6.2-sol`. There is no free tier.",
"API Key": "API Key",
"Base Url": "Base Url",
"Account ID": "Account ID",
Expand Down
2 changes: 2 additions & 0 deletions webui/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@
"llm_provider_tips.uberllm": "##### MartLLM 配置说明\n- **API Key**: 在 [MartLLM]({api_key_url}) 注册并创建 API Key\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;可在 [模型列表]({model_docs_url}) 查看其它 `provider/model` 格式的模型 ID\n\nMartLLM 是按量付费、兼容 OpenAI 接口的模型 API,一个 API Key 可调用 GPT、Claude、Gemini、DeepSeek、Qwen、Kimi 等多家厂商的模型。需预充值,无免费额度。",
"llm_provider_label.atmorouter": "AtmoRouter",
"llm_provider_tips.atmorouter": "##### AtmoRouter 配置说明\n- **API Key**: 登录后在 [AtmoRouter API Keys 页面]({api_key_url}) 创建 API Key\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;可在 [模型列表]({model_docs_url}) 查看其它 `family/model` 格式的模型 ID\n\nAtmoRouter 是预付费、兼容 OpenAI 接口的模型网关。可通过 Solana 上的 USDC 或 QRIS 充值,按 token 计费。接口说明见 [AtmoRouter 文档](https://atmorouter.dev/docs)。",
"llm_provider_label.aigrow": "AIGROW",
"llm_provider_tips.aigrow": "##### AIGROW 配置说明\n- **API Key**: 在 [AIGROW]({api_key_url}) 创建 API Key\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;[模型列表]({model_docs_url}) 列出全部模型 ID 及按 token 计费的价格(无需 Key)\n\nAIGROW 是预充值、兼容 OpenAI 接口的模型 API,一个 API Key 可调用 Claude、GPT、Gemini、Grok、Qwen 和 Kimi 模型,模型 ID 不带厂商前缀,例如 `claude-haiku-5.5`、`gpt-6.2-sol`。无免费额度。",
"API Key": "API Key",
"Base Url": "Base Url",
"Account ID": "Account ID",
Expand Down
Loading