Skip to content
Closed
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
6 changes: 6 additions & 0 deletions providers/arka-ai/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions providers/arka-ai/models/DeepSeek-R1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "deepseek/deepseek-r1"
reasoning_options = []

[interleaved]
field = "reasoning_content"

[cost]
input = 0.712923
output = 2.851693
8 changes: 8 additions & 0 deletions providers/arka-ai/models/DeepSeek-V3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "deepseek/deepseek-v3"

[cost]
input = 0.356462
output = 1.425847
18 changes: 18 additions & 0 deletions providers/arka-ai/models/DeepSeek-V4-Pro.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Effort: reasoning_effort = high|max (low accepted; maps per DeepSeek lab convention)
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "deepseek/deepseek-v4-pro"
reasoning_options = [
{ type = "toggle" },
{ type = "effort", values = ["high", "max"] },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 2.214748
output = 4.429496
17 changes: 17 additions & 0 deletions providers/arka-ai/models/GLM-4.7-Flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled,
# the zhipuai-native wire). First-party providers/zhipuai/models/glm-4.7-flash.toml
# declares the same toggle. This route returned upstream_error (HTTP 400) at verification
# time, so the wire is evidenced from Arka's verified GLM siblings (GLM-5, GLM-5.1)
# served through the same gateway (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "zhipuai/glm-4.7-flash"
reasoning_options = [
{ type = "toggle" },
]

[interleaved]
field = "reasoning_content"

# No per-token price published for this model.
17 changes: 17 additions & 0 deletions providers/arka-ai/models/GLM-5.1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled,
# the zhipuai-native wire)
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "zhipuai/glm-5.1"
reasoning_options = [
{ type = "toggle" },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 1.425847
output = 4.990464
14 changes: 14 additions & 0 deletions providers/arka-ai/models/GLM-5.2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "zhipuai/glm-5.2"
reasoning_options = [
{ type = "effort", values = ["high", "max"] },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 1.425847
output = 4.990464
17 changes: 17 additions & 0 deletions providers/arka-ai/models/GLM-5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled,
# the zhipuai-native wire)
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "zhipuai/glm-5"
reasoning_options = [
{ type = "toggle" },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 0.712923
output = 3.208155
12 changes: 12 additions & 0 deletions providers/arka-ai/models/Kimi-K2.7-Code.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "moonshotai/kimi-k2.7-code"
reasoning_options = []

[interleaved]
field = "reasoning_content"

[cost]
input = 1.1585
output = 4.812233
9 changes: 9 additions & 0 deletions providers/arka-ai/models/MiniMax-M2.5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "minimax/MiniMax-M2.5"
reasoning_options = []

[cost]
input = 0.374285
output = 1.497139
15 changes: 15 additions & 0 deletions providers/arka-ai/models/MiniMax-M3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Toggle: enable_thinking true|false (thinking.type = disabled also accepted).
# reasoning_content is not exposed; reasoning is visible only via
# usage.completion_tokens_details.reasoning_tokens.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "minimax/MiniMax-M3"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 0.374285
output = 1.497139
8 changes: 8 additions & 0 deletions providers/arka-ai/models/Qwen3-Coder-Flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3-coder-flash"

[cost]
input = 0.178231
output = 0.712923
8 changes: 8 additions & 0 deletions providers/arka-ai/models/Qwen3-Coder-Next.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3-coder-next"

[cost]
input = 0.712923
output = 0.712923
17 changes: 17 additions & 0 deletions providers/arka-ai/models/Qwen3.5-27B.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Toggle: enable_thinking true|false only; thinking.type = disabled is accepted but has no
# effect on this model. Reasoning is not exposed separately (no reasoning_content or
# reasoning_tokens); the toggle is verified via completion length.
# Budget: thinking_budget is accepted but not enforced, so no budget_tokens control is
# advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.5-27b"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 0.106939
output = 0.855508
15 changes: 15 additions & 0 deletions providers/arka-ai/models/Qwen3.5-Flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Budget: thinking_budget is accepted but not enforced (reasoning length unchanged at
# budget=256 vs no budget), so no budget_tokens control is advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.5-flash"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 0.035646
output = 0.356462
15 changes: 15 additions & 0 deletions providers/arka-ai/models/Qwen3.5-Plus.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Budget: thinking_budget is accepted but not enforced, so no budget_tokens control is
# advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.5-plus"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 0.142585
output = 0.855508
15 changes: 15 additions & 0 deletions providers/arka-ai/models/Qwen3.6-Max.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Budget: thinking_budget is accepted but not enforced, so no budget_tokens control is
# advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.6-max-preview"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 1.604078
output = 9.624465
15 changes: 15 additions & 0 deletions providers/arka-ai/models/Qwen3.6-Plus.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Budget: thinking_budget is accepted but not enforced, so no budget_tokens control is
# advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.6-plus"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 1.425847
output = 8.55508
15 changes: 15 additions & 0 deletions providers/arka-ai/models/Qwen3.7-Max.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Budget: thinking_budget is accepted but not enforced, so no budget_tokens control is
# advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.7-max"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 2.13877
output = 6.41631
15 changes: 15 additions & 0 deletions providers/arka-ai/models/Qwen3.7-Plus.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Budget: thinking_budget is accepted but not enforced, so no budget_tokens control is
# advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.7-plus"
reasoning_options = [
{ type = "toggle" },
]

[cost]
input = 0.356462
output = 1.425847
14 changes: 14 additions & 0 deletions providers/arka-ai/models/Step-3.7-Flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "stepfun/step-3.7-flash"
reasoning_options = [
{ type = "effort", values = ["low", "medium", "high"] },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 0.240612
output = 1.44367
19 changes: 19 additions & 0 deletions providers/arka-ai/models/deepseek-v4-flash-0731.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Effort: reasoning_effort = low|high|max (all three levels verified live, matching the
# first-party deepseek baseline; unlike alibaba's hosted copy, low is not mapped away)
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "deepseek/deepseek-v4-flash-0731"
reasoning_options = [
{ type = "toggle" },
{ type = "effort", values = ["low", "high", "max"] },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 0.178231
output = 0.356462
19 changes: 19 additions & 0 deletions providers/arka-ai/models/kimi-k3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Reasoning is always on: disabling it (enable_thinking=false or thinking.type=disabled)
# returns HTTP 400 "invalid temperature: only 0.6 is allowed" from the non-thinking lane
# even when temperature=0.6 is explicitly set (the value the error demands), so that lane
# is unusable by callers. Effort controls (reasoning_effort, output_config.effort,
# thinking.type=adaptive + output_config.effort) are accepted without any observable
# change in reasoning depth. No client control is therefore advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "moonshotai/kimi-k3"
reasoning_options = []

[interleaved]
field = "reasoning_content"

[cost]
input = 3.564617
output = 17.823084
20 changes: 20 additions & 0 deletions providers/arka-ai/models/qwen3.8-max.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Toggle: enable_thinking true|false (Arka also accepts thinking.type = enabled|disabled)
# Effort: reasoning_effort = low|medium|xhigh (high and max accepted as aliases)
# Budget: thinking_budget is accepted but not enforced (reasoning length unchanged at
# budget=64 vs budget=16384), so no budget_tokens control is advertised.
# Verified live on https://api.arka-ai.ru/v1/chat/completions (accessed 2026-08-18).
# Cost: converted from Arka AI's RUB list price at 82.9977 RUB/USD (CBR rate captured 2026-08-13).
# Sources: https://arka-ai.ru (pricing) and https://api.arka-ai.ru/v1/models.

base_model = "alibaba/qwen3.8-max"
reasoning_options = [
{ type = "toggle" },
{ type = "effort", values = ["low", "medium", "xhigh"] },
]

[interleaved]
field = "reasoning_content"

[cost]
input = 2.13877
output = 6.41631
5 changes: 5 additions & 0 deletions providers/arka-ai/provider.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name = "Arka-AI"
npm = "@ai-sdk/openai-compatible"
env = ["ARKA_API_KEY"]
api = "https://api.arka-ai.ru/v1"
doc = "https://arka-ai.ru"
Loading