feat(deepinfra): add reasoning options

This commit is contained in:
Aiden Cline
2026-06-08 20:16:49 -05:00
parent 5bb6b2aaf8
commit 077a047eb0
39 changed files with 28 additions and 325 deletions
@@ -1,25 +0,0 @@
name = "MiniMax M2.1"
release_date = "2025-12-23"
last_updated = "2025-12-23"
attachment = false
reasoning = true
temperature = true
tool_call = true
open_weights = true
knowledge = "2025-06"
[cost]
input = 0.28
output = 1.20
cached_read = 0.14
[limit]
context = 196_608
output = 196_608
[modalities]
input = ["text"]
output = ["text"]
[interleaved]
field = "reasoning_content"
@@ -5,6 +5,7 @@ release_date = "2026-02-12"
last_updated = "2026-02-12"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
knowledge = "2025-06"
@@ -1,26 +0,0 @@
name = "MiniMax M2"
family = "minimax"
release_date = "2025-11-13"
last_updated = "2025-11-13"
attachment = false
reasoning = true
temperature = true
tool_call = true
knowledge = "2024-10"
open_weights = true
[interleaved]
field = "reasoning_content"
[cost]
input = 0.254
output = 1.02
cached_input = 0.127
[limit]
context = 262_144
output = 32_768
[modalities]
input = ["text"]
output = ["text"]
@@ -4,6 +4,7 @@ release_date = "2025-07-23"
last_updated = "2025-07-23"
attachment = false
reasoning = false
reasoning_options = []
temperature = true
knowledge = "2025-04"
tool_call = true
@@ -19,4 +20,4 @@ output = 66_536
[modalities]
input = ["text"]
output = ["text"]
output = ["text"]
@@ -1,22 +0,0 @@
name = "Qwen3 Coder 480B A35B Instruct"
family = "qwen"
release_date = "2025-07-23"
last_updated = "2025-07-23"
attachment = false
reasoning = false
temperature = true
knowledge = "2025-04"
tool_call = true
open_weights = true
[cost]
input = 0.4
output = 1.6
[limit]
context = 262_144
output = 66_536
[modalities]
input = ["text"]
output = ["text"]
@@ -4,6 +4,7 @@ release_date = "2026-02-01"
last_updated = "2026-04-20"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
knowledge = "2025-01"
tool_call = true
@@ -4,6 +4,7 @@ release_date = "2026-02-01"
last_updated = "2026-04-20"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
knowledge = "2025-01"
tool_call = true
@@ -4,6 +4,7 @@ release_date = "2026-04-01"
last_updated = "2026-04-01"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -1,4 +1,5 @@
base_model = "xiaomi/mimo-v2.5-pro"
reasoning_options = [{ type = "toggle" }]
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "xiaomi/mimo-v2.5"
reasoning_options = [{ type = "toggle" }]
[interleaved]
field = "reasoning_content"
@@ -1,23 +0,0 @@
name = "Claude Sonnet 3.7 (Latest)"
family = "claude-sonnet"
release_date = "2025-03-13"
last_updated = "2025-03-13"
attachment = true
reasoning = true
temperature = true
knowledge = "2024-10-31"
tool_call = true
open_weights = false
[cost]
input = 3.3
output = 16.5
cache_read = 0.33
[limit]
context = 200_000
output = 64_000
[modalities]
input = ["text", "image"]
output = ["text"]
@@ -1,22 +0,0 @@
name = "Claude Opus 4"
family = "claude-opus"
release_date = "2025-06-12"
last_updated = "2025-06-12"
attachment = true
reasoning = true
temperature = true
knowledge = "2025-03-31"
tool_call = true
open_weights = false
[cost]
input = 16.5
output = 82.5
[limit]
context = 200_000
output = 32_000
[modalities]
input = ["text", "image"]
output = ["text"]
@@ -3,6 +3,7 @@ release_date = "2025-05-28"
last_updated = "2025-05-28"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
knowledge = "2024-07"
tool_call = false
@@ -3,6 +3,7 @@ release_date = "2025-12-02"
last_updated = "2025-12-02"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
knowledge = "2024-12"
tool_call = true
@@ -1,4 +1,5 @@
base_model = "deepseek/deepseek-v4-flash"
reasoning_options = [{ type = "toggle" }]
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "deepseek/deepseek-v4-pro"
reasoning_options = [{ type = "toggle" }]
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "google/gemma-4-26b-a4b-it"
reasoning_options = [{ type = "toggle" }]
[cost]
input = 0.07
@@ -1,4 +1,5 @@
base_model = "google/gemma-4-31b-it"
reasoning_options = [{ type = "toggle" }]
[cost]
input = 0.13
@@ -1,20 +0,0 @@
name = "Llama 3.1 70B Turbo"
family = "llama"
release_date = "2024-07-23"
last_updated = "2024-07-23"
attachment = false
reasoning = false
tool_call = true
open_weights = true
[cost]
input = 0.40
output = 0.40
[limit]
context = 131_072
output = 16_384
[modalities]
input = ["text"]
output = ["text"]
@@ -1,20 +0,0 @@
name = "Llama 3.1 70B"
family = "llama"
release_date = "2024-07-23"
last_updated = "2024-07-23"
attachment = false
reasoning = false
tool_call = true
open_weights = true
[cost]
input = 0.40
output = 0.40
[limit]
context = 131_072
output = 16_384
[modalities]
input = ["text"]
output = ["text"]
@@ -1,20 +0,0 @@
name = "Llama 3.1 8B Turbo"
family = "llama"
release_date = "2024-07-23"
last_updated = "2024-07-23"
attachment = false
reasoning = false
tool_call = true
open_weights = true
[cost]
input = 0.02
output = 0.03
[limit]
context = 131_072
output = 16_384
[modalities]
input = ["text"]
output = ["text"]
@@ -1,20 +0,0 @@
name = "Llama 3.1 8B"
family = "llama"
release_date = "2024-07-23"
last_updated = "2024-07-23"
attachment = false
reasoning = false
tool_call = true
open_weights = true
[cost]
input = 0.02
output = 0.05
[limit]
context = 131_072
output = 16_384
[modalities]
input = ["text"]
output = ["text"]
@@ -4,6 +4,7 @@ release_date = "2024-12-06"
last_updated = "2024-12-06"
attachment = false
reasoning = false
reasoning_options = []
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2025-04-05"
last_updated = "2025-04-05"
attachment = false
reasoning = false
reasoning_options = []
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2025-04-05"
last_updated = "2025-04-05"
attachment = false
reasoning = false
reasoning_options = []
tool_call = true
open_weights = true
@@ -1,24 +0,0 @@
# https://deepinfra.com/moonshotai/Kimi-K2-Instruct-0905
name = "Kimi K2 0905"
family = "kimi"
release_date = "2025-09-05"
last_updated = "2025-09-05"
attachment = false
reasoning = false
temperature = true
tool_call = true
knowledge = "2024-10"
open_weights = true
[cost]
input = 0.40
output = 2.00
cache_read = 0.15
[limit]
context = 262_144
output = 262_144
[modalities]
input = ["text"]
output = ["text"]
@@ -1,22 +0,0 @@
name = "Kimi K2"
family = "kimi"
release_date = "2025-07-11"
last_updated = "2025-07-11"
attachment = false
reasoning = false
temperature = true
tool_call = true
knowledge = "2024-10"
open_weights = true
[cost]
input = 0.50
output = 2.00
[limit]
context = 131_072
output = 32_768
[modalities]
input = ["text"]
output = ["text"]
@@ -1,26 +0,0 @@
name = "Kimi K2 Thinking"
family = "kimi-thinking"
release_date = "2025-11-06"
last_updated = "2025-11-07"
attachment = false
reasoning = true
temperature = true
tool_call = true
knowledge = "2024-10"
open_weights = true
[interleaved]
field = "reasoning_content"
[cost]
input = 0.47
output = 2.00
cached_input = 0.141
[limit]
context = 131_072
output = 32_768
[modalities]
input = ["text"]
output = ["text"]
@@ -4,6 +4,7 @@ release_date = "2026-01-27"
last_updated = "2026-01-27"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
structured_output = true
temperature = true
tool_call = true
@@ -24,4 +25,4 @@ input = ["text", "image", "video"]
output = ["text"]
[interleaved]
field = "reasoning_content"
field = "reasoning_content"
@@ -4,6 +4,7 @@ release_date = "2026-04-21"
last_updated = "2026-04-21"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
structured_output = true
temperature = true
tool_call = true
@@ -6,6 +6,7 @@ release_date = "2025-08-05"
last_updated = "2025-08-05"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
temperature = true
tool_call = true
open_weights = true
@@ -6,6 +6,7 @@ release_date = "2025-08-05"
last_updated = "2025-08-05"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
temperature = true
tool_call = true
open_weights = true
@@ -1,26 +0,0 @@
name = "GLM-4.5"
family = "glm"
release_date = "2025-07-28"
last_updated = "2025-07-28"
attachment = false
reasoning = false
temperature = true
tool_call = true
knowledge = "2025-04"
open_weights = true
# https://deepinfra.com/zai-org/GLM-4.5
# It is now being redirected to GLM-4.6
status = "deprecated"
[cost]
input = 0.60
output = 2.20
[limit]
context = 131_072
output = 98_304
[modalities]
input = ["text"]
output = ["text"]
@@ -6,6 +6,7 @@ last_updated = "2025-09-30"
knowledge = "2025-04"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -24,4 +25,4 @@ output = 131_072
[modalities]
input = ["text"]
output = ["text"]
output = ["text"]
@@ -1,26 +0,0 @@
# https://deepinfra.com/zai-org/GLM-4.6V
name = "GLM-4.6V"
family = "glm"
release_date = "2025-09-30"
last_updated = "2025-09-30"
knowledge = "2025-04"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = true
[interleaved]
field = "reasoning_content"
[cost]
input = 0.30
output = 0.90
[limit]
context = 204_800
output = 131_072
[modalities]
input = ["text", "image"]
output = ["text"]
@@ -6,6 +6,7 @@ last_updated = "2026-01-19"
knowledge = "2025-04"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -6,6 +6,7 @@ last_updated = "2025-12-22"
knowledge = "2025-04"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -6,6 +6,7 @@ last_updated = "2026-04-07"
knowledge = "2025-04"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -6,6 +6,7 @@ last_updated = "2026-02-12"
knowledge = "2025-12"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true