From bd9e0c267784868c3d9f3668700786dc721ac9a2 Mon Sep 17 00:00:00 2001 From: Zoe <62722391+juls0730@users.noreply.github.com> Date: Tue, 5 May 2026 18:40:05 -0500 Subject: [PATCH] refactor(xiaomi): round xiaomi models to powers of 2 & fix small errors --- providers/xiaomi/models/mimo-v2-flash.toml | 4 ++-- providers/xiaomi/models/mimo-v2-omni.toml | 6 +++--- providers/xiaomi/models/mimo-v2-pro.toml | 11 ++++++++--- providers/xiaomi/models/mimo-v2.5-pro.toml | 3 +-- providers/xiaomi/models/mimo-v2.5.toml | 3 +-- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/providers/xiaomi/models/mimo-v2-flash.toml b/providers/xiaomi/models/mimo-v2-flash.toml index b8a96c671..198464ec6 100644 --- a/providers/xiaomi/models/mimo-v2-flash.toml +++ b/providers/xiaomi/models/mimo-v2-flash.toml @@ -15,8 +15,8 @@ output = 0.30 cache_read = 0.01 [limit] -context = 256_000 -output = 64_000 +context = 262_144 +output = 65_536 [modalities] input = ["text"] diff --git a/providers/xiaomi/models/mimo-v2-omni.toml b/providers/xiaomi/models/mimo-v2-omni.toml index 7b2cb5337..003716e05 100644 --- a/providers/xiaomi/models/mimo-v2-omni.toml +++ b/providers/xiaomi/models/mimo-v2-omni.toml @@ -7,7 +7,7 @@ reasoning = true temperature = true tool_call = true knowledge = "2024-12" -open_weights = true +open_weights = false [interleaved] field = "reasoning_content" @@ -18,8 +18,8 @@ output = 2.00 cache_read = 0.08 [limit] -context = 256_000 -output = 128_000 +context = 262_144 +output = 131_072 [modalities] input = ["text", "image", "audio", "video", "pdf"] diff --git a/providers/xiaomi/models/mimo-v2-pro.toml b/providers/xiaomi/models/mimo-v2-pro.toml index 1037e0634..f86eedbcb 100644 --- a/providers/xiaomi/models/mimo-v2-pro.toml +++ b/providers/xiaomi/models/mimo-v2-pro.toml @@ -7,7 +7,7 @@ reasoning = true temperature = true tool_call = true knowledge = "2024-12" -open_weights = true +open_weights = false [interleaved] field = "reasoning_content" @@ -17,9 +17,14 @@ input = 1.00 output = 3.00 cache_read = 0.20 +[cost.context_over_200k] +input = 2.00 +output = 6.00 +cache_read = 0.40 + [limit] -context = 1_000_000 -output = 128_000 +context = 1_048_576 +output = 131_072 [modalities] input = ["text"] diff --git a/providers/xiaomi/models/mimo-v2.5-pro.toml b/providers/xiaomi/models/mimo-v2.5-pro.toml index 135f31191..ff03615a0 100644 --- a/providers/xiaomi/models/mimo-v2.5-pro.toml +++ b/providers/xiaomi/models/mimo-v2.5-pro.toml @@ -7,7 +7,7 @@ reasoning = true temperature = true tool_call = true knowledge = "2024-12" -open_weights = false +open_weights = true [cost] input = 1 @@ -29,4 +29,3 @@ output = ["text"] [interleaved] field = "reasoning_content" - diff --git a/providers/xiaomi/models/mimo-v2.5.toml b/providers/xiaomi/models/mimo-v2.5.toml index 6b5d98bcd..5f195e55a 100644 --- a/providers/xiaomi/models/mimo-v2.5.toml +++ b/providers/xiaomi/models/mimo-v2.5.toml @@ -7,7 +7,7 @@ reasoning = true temperature = true tool_call = true knowledge = "2024-12" -open_weights = false +open_weights = true [cost] input = 0.4 @@ -29,4 +29,3 @@ output = ["text"] [interleaved] field = "reasoning_content" -