Skip to content

Commit 25a4972

Browse files
authored
Merge pull request #538 from no1wudi/dev
feat: add xiaomi provider with mimo-v2-flash model
2 parents f21fef4 + b8d9ded commit 25a4972

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

providers/xiaomi/logo.svg

Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name = "MiMo-V2-Flash"
2+
family = "mimo-v2-flash"
3+
release_date = "2025-12-17"
4+
last_updated = "2025-12-17"
5+
attachment = false
6+
reasoning = true
7+
temperature = true
8+
knowledge = "2024-12-01"
9+
tool_call = true
10+
open_weights = true
11+
12+
[cost]
13+
input = 0.07
14+
output = 0.21
15+
16+
[limit]
17+
context = 256_000
18+
output = 32_000
19+
20+
[modalities]
21+
input = ["text"]
22+
output = ["text"]
23+
24+
[interleaved]
25+
field = "reasoning_content"

providers/xiaomi/provider.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name = "Xiaomi"
2+
env = ["XIAOMI_API_KEY"]
3+
npm = "@ai-sdk/openai-compatible"
4+
api = "https://api.xiaomimimo.com/v1"
5+
doc = "https://platform.xiaomimimo.com/#/docs"

0 commit comments

Comments
 (0)