Skip to content

Commit 71a683a

Browse files
authored
feat(models): first-class open models — MiniMax and Qwen providers, priced reseller catalogs, grouped model picker (#10629)
* fix(providers): never serve or list Together and Baseten with Sim's env key on hosted Neither provider has a hosted-billable model, so shouldBillModelUsage is false for all of them; falling back to TOGETHER_API_KEY / BASETEN_API_KEY on hosted Sim was unmetered inference on the platform account, and the model list endpoints enumerated the full catalog with it. Self-hosted keeps the operator's env key. * feat(models): group open-weight model hosts in model pickers Open models served by several providers (GLM, Kimi K3, gpt-oss, Qwen3.8 27B, Nemotron 3 Ultra, MiniMax M3) now show one readable name with a host tag per option, clustered together, lab's own provider first. Membership is an explicit openModel field on each catalog entry; stored ids, routing, billing, and the published block catalog are unchanged. The emcn Combobox gains option detail text and search terms. * feat(providers): add MiniMax provider Adds MiniMax as a BYOK model provider for the Agent block, served through MiniMax's OpenAI-compatible Chat Completions endpoint on the shared openai-compat path (organization egress via outboundFetch). Catalog models are MiniMax M3.1 Flash (reasoning effort low to max) and MiniMax M3 (with its above-512k input pricing tier). Requests set reasoning_split so thinking returns on reasoning_content and is replayed in tool loops, never mixed into the answer. Tools run with automatic tool choice, and structured outputs go through the prompt since MiniMax documents no response_format. * feat(providers): add Kimi K3.1 Pro and priced open-model catalogs for Fireworks, Together, and Baseten Adds kimi-k3.1-pro (Moonshot, hosted) and teaches the Kimi adapter that the whole K3 series accepts tool_choice required. Fireworks (hosted catalog, platform key): K3.1 Pro, MiniMax M3.1 Flash, Hy4 Flash, DeepSeek V4.1 Flash and its 1017 snapshot, GLM 5.3 Flash, each mapped to its serverless path; a test keeps every static entry resolvable. The sim-auto pool is an explicit list in lib/model-router and is unchanged. Corrects the glm-5.3 context window to the gateway's 1048576. Together and Baseten get static priced BYOK-only entries for the same models where each host serves them, merged ahead of the dynamic listing like Fireworks, and never part of getHostedModels. * feat(providers): add Alibaba Cloud Model Studio (Qwen) provider Adds Alibaba Cloud as a BYOK-only Agent block provider served through Model Studio's Singapore (International) OpenAI-compatible endpoint, with qwen4-max, qwen3.7-plus, qwen3.8-flash and the open qwen3.8-2.4t-a95b and qwen3.8-27b. Thinking maps to enable_thinking / reasoning_effort through a new requestFields option on the shared Chat Completions path; forced-tool requests turn thinking off because Qwen rejects a named tool_choice while thinking. * feat(models): group the new open-model hosts in model pickers * fix(models): retire Baseten slugs, tidy Fireworks catalog docs, guard hosted pricing * fix(models): list static Fireworks, Together and Baseten entries in model pickers once The model pickers read these providers' lists from their discovery routes, which returned only upstream ids: the static catalog entries (Fireworks' hosted catalog included) never reached a picker, and on hosted Sim, where no platform key lists the upstream catalog, Fireworks offered nothing but Auto. The routes now list the static entries first, then the discovered ids they do not already cover, and Fireworks maps a discovered serverless path back to its catalog id so the same model never lists twice. * fix(models): keep the published model order and match open-model hosts by lowercase id buildModelOptions no longer clusters open-model hosts, so the block catalog keeps staging's option order and only gains the new ids; the pickers cluster their own lists. Membership lookups lowercase like every other catalog lookup (the base model list delivers lowercased ids), every family needs two providers (drops the single-host hy4-flash family), Kie's kimi-k3 joins Kimi K3, and a lab member is searchable by its provider's name. * fix(combobox): never store a model's readable name as its id Typing an open model's readable name into the editable model field stored the name. It now stores the selected host when the field still names it, otherwise the first host, while ids, custom ids and references still store as typed. The model field clusters an open model's hosts, reuses emcn's exported OptionDetail, and the editable input announces the selection's host tag through aria-describedby. * refactor(providers): share the prompt-schema fallback and allow per-call request fields * fix(alibaba): keep thinking off on non-streaming open-model calls and route structured output through the prompt * refactor(byok): resolve BYOK-only providers from one table * test(providers): add key-gated MiniMax and Alibaba live acceptance suites * fix(byok): repair the provider section list broken by the Alibaba lane merge * fix(models): date Kimi K3.1 Pro by its API launch and drop Alibaba's unreachable forced-tool downgrade * test(providers): pass the route context in model-list route tests and check tool errors in the Alibaba live suite * fix(icons): use the supplied MiniMax and Qwen marks
1 parent e2a2377 commit 71a683a

49 files changed

Lines changed: 2402 additions & 223 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/docs/content/docs/platform/costs.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ The settings page groups keys into **Models**, **Search & web**, and **Enrichmen
132132
| Ollama Cloud | Model calls |
133133
| Kie | Model calls |
134134
| Thinking Machines | Model calls |
135+
| MiniMax | Model calls |
136+
| Alibaba Cloud | Model calls (Qwen) |
135137
| Fal.ai | Image and video generation |
136138
</Tab>
137139
<Tab>

‎apps/docs/content/docs/workflows/blocks/agent.mdx‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ Select a model beginning with `thinkingmachines/` to run Inkling, Inkling-Small,
5252

5353
Bring your own Thinking Machines Tinker API key. On Sim Cloud, a workspace admin can add it under **Workspace settings → BYOK → Thinking Machines**. On self-hosted Sim, provide the key in the Agent block's **API Key** field, using a [secret reference](/platform/credentials). Tinker's serverless inference is in beta: file attachments are not sent, tools run with automatic tool choice only, and structured outputs are requested through the prompt.
5454

55+
#### MiniMax
56+
57+
Select `minimax/minimax-m3.1-flash` or `minimax/minimax-m3` to run MiniMax's M-series models through MiniMax's OpenAI-compatible API. Both models accept image attachments and think before answering. MiniMax returns the thinking separately, so it never appears in the block's answer. On MiniMax M3.1 Flash, **Reasoning Effort** sets the thinking depth from `low` to `max`, MiniMax's default. Thinking tokens count toward **Max Tokens**, so a small limit can use up the budget before the model writes an answer, leaving it empty.
58+
59+
Bring your own MiniMax API key from the international platform (platform.minimax.io). On Sim Cloud, a workspace admin can add it under **Workspace settings → BYOK → MiniMax**. On self-hosted Sim, provide the key in the Agent block's **API Key** field, using a [secret reference](/platform/credentials). MiniMax ignores temperature, tools run with automatic tool choice only, and structured outputs are requested through the prompt.
60+
61+
#### Alibaba Cloud (Qwen)
62+
63+
Select `qwen4-max`, `qwen3.7-plus`, `qwen3.8-flash`, or the open-weight `qwen3.8-27b` to run Qwen through Alibaba Cloud Model Studio. Thinking is on by default: set **Reasoning Effort** to `none` (or **Thinking Level** to `none` on `qwen3.7-plus`) to turn it off. Model Studio runs `qwen3.8-27b` with thinking only when the response streams, so Sim turns its thinking off for every call that doesn't stream: requests without streaming, and every model call of a request that uses tools.
64+
65+
Bring your own Model Studio API key from the Singapore (International) region; keys from other regions don't work with this endpoint. On Sim Cloud, a workspace admin can add it under **Workspace settings → BYOK → Alibaba Cloud**. On self-hosted Sim, provide the key in the Agent block's **API Key** field, using a [secret reference](/platform/credentials). Forcing a tool turns thinking off for that request, because Qwen can't force a tool while thinking. Structured outputs are requested through the prompt. Images are sent to multimodal models.
66+
5567
#### Jev evaluation models
5668

5769
Select `jev-latest` from TypeSafe in the Agent model selector. Hosted Sim supplies a key and bills model usage through the normal credit system; workspace or organization BYOK keys override the hosted key without model charges. Self-hosted users enter their TypeSafe key in the block. Use `jev-1.13.0` to pin a version or `jev-preview` to follow preview releases. These models use **State** and **Questions** in place of conversational messages. State accepts text or a reference to a JSON object or array. Questions is a JSON object keyed by the answer names you want:
@@ -188,6 +200,8 @@ Live tool-call chips stream for **OpenAI, Anthropic, Azure Anthropic, Google, Ve
188200

189201
| Provider | Streamed thinking | Models |
190202
|----------|-------------------|--------|
203+
| MiniMax | Full thinking deltas | `minimax/minimax-m3.1-flash` |
204+
| Alibaba Cloud | Full thinking deltas | `qwen4-max`, `qwen3.7-plus`, `qwen3.8-flash`, `qwen3.8-27b` |
191205
| OpenAI | Summaries only — Requires OpenAI organization verification; falls back to no summaries. | `gpt-6.2-astra`, `gpt-6.2-sol`, `gpt-6-astra`, `gpt-6.1-sol`, `gpt-6.1-terra`, `gpt-6-sol`, `gpt-6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-5.5-pro`, `gpt-5.5`, `gpt-5.4-pro`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.3-codex`, `gpt-5.2-pro`, `gpt-5.2`, `gpt-5.1`, `gpt-5-pro`, `gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `o3` |
192206
| Anthropic | Summaries only — These generations omit full thinking; Sim requests summarized thinking on streaming runs. | `claude-fable-5-2`, `claude-fable-5-1`, `claude-fable-5`, `claude-sonnet-5-5`, `claude-sonnet-5`, `claude-opus-5-5`, `claude-opus-5`, `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6`, `claude-sonnet-4-6`, `claude-opus-4-5`, `claude-haiku-5-5`, `claude-haiku-4-5` |
193207
| Azure OpenAI | Summaries only — Requires OpenAI organization verification; falls back to no summaries. | `azure/gpt-6.1-sol`, `azure/gpt-6.1-terra`, `azure/gpt-6-sol`, `azure/gpt-6-luna`, `azure/gpt-6-astra`, `azure/gpt-5.6-sol`, `azure/gpt-5.6-terra`, `azure/gpt-5.6-luna`, `azure/gpt-5.5`, `azure/gpt-5.4-pro`, `azure/gpt-5.4`, `azure/gpt-5.4-mini`, `azure/gpt-5.4-nano`, `azure/gpt-5.2`, `azure/gpt-5.1`, `azure/gpt-5.1-codex`, `azure/gpt-5`, `azure/gpt-5-mini`, `azure/gpt-5-nano` |
@@ -200,7 +214,7 @@ Live tool-call chips stream for **OpenAI, Anthropic, Azure Anthropic, Google, Ve
200214
| Cerebras | Full thinking deltas | `cerebras/qwen-3.8-27b` |
201215
| Groq | Full thinking deltas | `groq/openai/gpt-oss-120b`, `groq/openai/gpt-oss-20b`, `groq/openai/gpt-oss-safeguard-20b`, `groq/qwen/qwen3.8-27b` |
202216
| Meta | Not streamed | `muse-spark-1.3`, `muse-spark-1.1` |
203-
| Kimi | Full thinking deltas | `kimi-k3`, `kimi-k2.6` |
217+
| Kimi | Full thinking deltas | `kimi-k3.1-pro`, `kimi-k3`, `kimi-k2.6` |
204218
| Kie | Summaries only | `kie/claude-sonnet-5-5`, `kie/claude-opus-5-5`, `kie/claude-opus-5`, `kie/claude-fable-5`, `kie/claude-sonnet-5`, `kie/claude-opus-4-8`, `kie/claude-opus-4-7`, `kie/claude-opus-4-6`, `kie/claude-sonnet-4-6`, `kie/claude-opus-4-5`, `kie/claude-sonnet-4-5`, `kie/claude-haiku-4-5`, `kie/gpt-6-1-sol`, `kie/gpt-6-astra`, `kie/gpt-6-sol`, `kie/gpt-6-luna`, `kie/gpt-5-6-sol`, `kie/gpt-5-6-terra`, `kie/gpt-5-6-luna`, `kie/gpt-5-5`, `kie/grok-4-6`, `kie/grok-4-5`, `kie/grok-4-3`, `kie/kimi-k3` |
205219
| Z.ai | Full thinking deltas | `glm-5.3`, `glm-5.3-flashx`, `glm-5.3-flash`, `glm-5.2`, `glm-5.1`, `glm-5`, `glm-5-turbo`, `glm-4.7`, `glm-4.6`, `glm-4.5`, `glm-4.5-air` |
206220

‎apps/sim/app/(landing)/models/utils.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const PROVIDER_PREFIXES: Record<string, string[]> = {
2626
* ("Anthropic (Claude) API Pricing & Models"). Providers left out use their own name for both.
2727
*/
2828
const PROVIDER_MODEL_FAMILIES: Record<string, { family: string; apiName?: string }> = {
29+
alibaba: { family: 'Qwen' },
2930
anthropic: { family: 'Claude' },
3031
'azure-anthropic': { family: 'Claude' },
3132
google: { family: 'Gemini', apiName: 'Google Gemini' },
@@ -57,6 +58,7 @@ const TOKEN_REPLACEMENTS: Record<string, string> = {
5758
qwen: 'Qwen',
5859
glm: 'GLM',
5960
kimi: 'Kimi',
61+
minimax: 'MiniMax',
6062
nova: 'Nova',
6163
llama: 'Llama',
6264
meta: 'Meta',

‎apps/sim/app/api/providers/baseten/models/route.test.ts‎

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { authMockFns, createMockRequest, resetEnvMock, setEnv } from '@sim/testing'
22
import { jsonResponse } from '@sim/testing/helpers/http'
33
import { apiKeyByokMock, apiKeyByokMockFns } from '@sim/testing/mocks/api-key-byok.mock'
4+
import { resetEnvFlagsMock, setEnvFlags } from '@sim/testing/mocks/env-flags.mock'
45
import { providersUtilsMock, providersUtilsMockFns } from '@sim/testing/mocks/providers-utils.mock'
56
import { workspaceAuthzMock, workspaceAuthzMockFns } from '@sim/testing/mocks/workspace-authz.mock'
67
import { workspaceContextMock } from '@sim/testing/mocks/workspace-context.mock'
@@ -15,6 +16,9 @@ vi.mock('@sim/platform-authz/workspace', () => workspaceAuthzMock)
1516
vi.mock('@/lib/workspaces/application/context', () => workspaceContextMock)
1617

1718
import { GET } from '@/app/api/providers/baseten/models/route'
19+
import { getStaticProviderModels } from '@/providers/models'
20+
21+
const STATIC_MODELS = getStaticProviderModels('baseten').map((model) => model.id)
1822

1923
const mockGetSession = authMockFns.mockGetSession
2024
const mockGetBYOKKey = apiKeyByokMockFns.mockGetBYOKKey
@@ -42,11 +46,13 @@ describe('GET /api/providers/baseten/models', () => {
4246
mockGetBYOKKey.mockResolvedValue(null)
4347
mockGetSession.mockResolvedValue(null)
4448
mockResolveEffectiveWorkspacePermission.mockResolvedValue(null)
49+
setEnvFlags({ isHosted: false })
4550
setEnvKey(undefined)
4651
})
4752

4853
afterAll(() => {
4954
resetEnvMock()
55+
resetEnvFlagsMock()
5056
})
5157

5258
it('uses the BYOK key when workspaceId, session, and permission are present', async () => {
@@ -57,11 +63,12 @@ describe('GET /api/providers/baseten/models', () => {
5763
mockFetch.mockResolvedValueOnce(jsonResponse({ data: [{ id: 'model-a' }] }))
5864

5965
const res = await GET(
60-
createMockRequest('GET', undefined, {}, 'http://localhost:3000/api/test?workspaceId=ws-1')
66+
createMockRequest('GET', undefined, {}, 'http://localhost:3000/api/test?workspaceId=ws-1'),
67+
{ params: Promise.resolve({}) }
6168
)
6269

6370
expect(res.status).toBe(200)
64-
expect(await res.json()).toEqual({ models: ['baseten/model-a'] })
71+
expect(await res.json()).toEqual({ models: [...STATIC_MODELS, 'baseten/model-a'] })
6572

6673
expect(mockGetBYOKKey).toHaveBeenCalledWith('ws-1', 'baseten')
6774
expect(authHeaderFromLastFetch(mockFetch)).toBe('Bearer byok-key')
@@ -74,12 +81,30 @@ describe('GET /api/providers/baseten/models', () => {
7481
mockFetch.mockResolvedValueOnce(jsonResponse({ data: [{ id: 'model-a' }] }))
7582

7683
const res = await GET(
77-
createMockRequest('GET', undefined, {}, 'http://localhost:3000/api/test?workspaceId=ws-1')
84+
createMockRequest('GET', undefined, {}, 'http://localhost:3000/api/test?workspaceId=ws-1'),
85+
{ params: Promise.resolve({}) }
7886
)
7987

8088
expect(res.status).toBe(200)
81-
expect(await res.json()).toEqual({ models: ['baseten/model-a'] })
89+
expect(await res.json()).toEqual({ models: [...STATIC_MODELS, 'baseten/model-a'] })
8290
expect(mockGetBYOKKey).not.toHaveBeenCalled()
8391
expect(authHeaderFromLastFetch(mockFetch)).toBe('Bearer env-key')
8492
})
93+
94+
it("never lists the catalog with Sim's env key on hosted", async () => {
95+
setEnvFlags({ isHosted: true })
96+
setEnvKey('env-key')
97+
mockGetSession.mockResolvedValue({ user: { id: 'user-1' }, session: { id: 'session-1' } })
98+
mockResolveEffectiveWorkspacePermission.mockResolvedValue(null)
99+
mockFetch.mockResolvedValueOnce(jsonResponse({ data: [{ id: 'model-a' }] }))
100+
101+
const res = await GET(
102+
createMockRequest('GET', undefined, {}, 'http://localhost:3000/api/test?workspaceId=ws-1'),
103+
{ params: Promise.resolve({}) }
104+
)
105+
106+
expect(res.status).toBe(200)
107+
expect(await res.json()).toEqual({ models: STATIC_MODELS })
108+
expect(mockFetch).not.toHaveBeenCalled()
109+
})
85110
})

‎apps/sim/app/api/providers/together/models/route.test.ts‎

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { authMockFns, createMockRequest, resetEnvMock, setEnv } from '@sim/testing'
22
import { jsonResponse } from '@sim/testing/helpers/http'
33
import { apiKeyByokMock, apiKeyByokMockFns } from '@sim/testing/mocks/api-key-byok.mock'
4+
import { resetEnvFlagsMock, setEnvFlags } from '@sim/testing/mocks/env-flags.mock'
45
import { providersUtilsMock, providersUtilsMockFns } from '@sim/testing/mocks/providers-utils.mock'
56
import { workspaceAuthzMock, workspaceAuthzMockFns } from '@sim/testing/mocks/workspace-authz.mock'
67
import { workspaceContextMock } from '@sim/testing/mocks/workspace-context.mock'
@@ -19,6 +20,9 @@ vi.mock('@sim/platform-authz/workspace', () => workspaceAuthzMock)
1920
vi.mock('@/lib/workspaces/application/context', () => workspaceContextMock)
2021

2122
import { GET } from '@/app/api/providers/together/models/route'
23+
import { getStaticProviderModels } from '@/providers/models'
24+
25+
const STATIC_MODELS = getStaticProviderModels('together').map((model) => model.id)
2226

2327
const mockGetSession = authMockFns.mockGetSession
2428
const mockGetBYOKKey = apiKeyByokMockFns.mockGetBYOKKey
@@ -53,10 +57,12 @@ describe('GET /api/providers/together/models', () => {
5357
mockGetBYOKKey.mockResolvedValue(null)
5458
mockGetSession.mockResolvedValue(null)
5559
mockResolveEffectiveWorkspacePermission.mockResolvedValue(null)
60+
setEnvFlags({ isHosted: false })
5661
})
5762

5863
afterAll(() => {
5964
resetEnvMock()
65+
resetEnvFlagsMock()
6066
})
6167

6268
it('uses the BYOK key when a workspace, session, and permission are present', async () => {
@@ -66,10 +72,12 @@ describe('GET /api/providers/together/models', () => {
6672
mockGetBYOKKey.mockResolvedValue({ apiKey: 'byok-together-key' })
6773
mockFetch.mockResolvedValue(jsonResponse([{ id: 'moonshotai/Kimi-K2-Instruct' }]))
6874

69-
const res = await GET(requestWithWorkspace('ws-1'))
75+
const res = await GET(requestWithWorkspace('ws-1'), { params: Promise.resolve({}) })
7076

7177
expect(res.status).toBe(200)
72-
expect(await res.json()).toEqual({ models: ['together/moonshotai/Kimi-K2-Instruct'] })
78+
expect(await res.json()).toEqual({
79+
models: [...STATIC_MODELS, 'together/moonshotai/Kimi-K2-Instruct'],
80+
})
7381

7482
expect(mockGetBYOKKey).toHaveBeenCalledWith('ws-1', 'together')
7583
expect(fetchAuthHeader()).toBe('Bearer byok-together-key')
@@ -81,11 +89,36 @@ describe('GET /api/providers/together/models', () => {
8189
mockResolveEffectiveWorkspacePermission.mockResolvedValue(null)
8290
mockFetch.mockResolvedValue(jsonResponse([{ id: 'moonshotai/Kimi-K2-Instruct' }]))
8391

84-
const res = await GET(requestWithWorkspace('ws-1'))
92+
const res = await GET(requestWithWorkspace('ws-1'), { params: Promise.resolve({}) })
8593

8694
expect(res.status).toBe(200)
87-
expect(await res.json()).toEqual({ models: ['together/moonshotai/Kimi-K2-Instruct'] })
95+
expect(await res.json()).toEqual({
96+
models: [...STATIC_MODELS, 'together/moonshotai/Kimi-K2-Instruct'],
97+
})
8898
expect(mockGetBYOKKey).not.toHaveBeenCalled()
8999
expect(fetchAuthHeader()).toBe('Bearer env-together-key')
90100
})
101+
102+
it("never lists the catalog with Sim's env key on hosted", async () => {
103+
setEnvFlags({ isHosted: true })
104+
setEnv({ TOGETHER_API_KEY: 'env-together-key' })
105+
mockGetSession.mockResolvedValue({ user: { id: 'user-1' }, session: { id: 'session-1' } })
106+
mockResolveEffectiveWorkspacePermission.mockResolvedValue(null)
107+
mockFetch.mockResolvedValue(jsonResponse([{ id: 'moonshotai/Kimi-K2-Instruct' }]))
108+
109+
const res = await GET(requestWithWorkspace('ws-1'), { params: Promise.resolve({}) })
110+
111+
expect(res.status).toBe(200)
112+
expect(await res.json()).toEqual({ models: STATIC_MODELS })
113+
expect(mockFetch).not.toHaveBeenCalled()
114+
})
115+
116+
it('lists a discovered model the static catalog covers once, under its catalog id', async () => {
117+
setEnv({ TOGETHER_API_KEY: 'env-together-key' })
118+
mockFetch.mockResolvedValue(jsonResponse([{ id: 'zai-org/glm-5.3' }]))
119+
120+
const res = await GET(requestWithWorkspace(), { params: Promise.resolve({}) })
121+
122+
expect(await res.json()).toEqual({ models: STATIC_MODELS })
123+
})
91124
})

‎apps/sim/app/workspace/[workspaceId]/settings/components/byok/byok.tsx‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ import {
4646
ZaiIcon,
4747
ZeroBounceIcon,
4848
} from '@/components/icons'
49+
import { MiniMaxIcon } from '@/components/icons/minimax'
4950
import { NebiusIcon } from '@/components/icons/nebius'
51+
import { QwenIcon } from '@/components/icons/qwen'
5052
import { ThinkingMachinesIcon } from '@/components/icons/thinking-machines'
5153
import { canMutateWorkspaceSettingsSection } from '@/components/settings/navigation'
5254
import { type BYOKProviderId, MAX_BYOK_KEYS_PER_PROVIDER } from '@/lib/api/contracts/byok-keys'
@@ -190,6 +192,20 @@ const PROVIDERS: (BYOKManagerProvider & { id: BYOKProviderId })[] = [
190192
description: 'LLM calls',
191193
placeholder: 'Enter your Thinking Machines Tinker API key',
192194
},
195+
{
196+
id: 'minimax',
197+
name: 'MiniMax',
198+
icon: MiniMaxIcon,
199+
description: 'LLM calls',
200+
placeholder: 'Enter your MiniMax API key',
201+
},
202+
{
203+
id: 'alibaba',
204+
name: 'Alibaba Cloud',
205+
icon: QwenIcon,
206+
description: 'LLM calls',
207+
placeholder: 'Enter your Model Studio (Singapore) API key',
208+
},
193209
{
194210
id: 'falai',
195211
name: 'Fal.ai',
@@ -392,6 +408,8 @@ const PROVIDER_SECTIONS: BYOKProviderSection[] = [
392408
'ollama-cloud',
393409
'kie',
394410
'thinkingmachines',
411+
'minimax',
412+
'alibaba',
395413
'falai',
396414
],
397415
},

0 commit comments

Comments
 (0)