Add Arka-AI provider (OpenAI-compatible model hub) - #4951
Conversation
Adds Arka-AI (https://arka-ai.ru), an OpenAI-compatible model hub at https://api.arka-ai.ru/v1, with 23 chat/reasoning models sourced from DeepSeek, Qwen (Alibaba), Kimi (Moonshot), MiniMax, GLM (Zhipu), and Step. Provider files are override-only with base_model pointing at existing lab entries. reasoning_options are copied from each underlying lab's first-party entry (toggle / effort / budget_tokens as applicable). Cost is 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. Logo is the official Arka AI mark (currentColor).
Action items
|
…nenforced controls - Add top-of-file wire-path comments to all 15 toggle model files, verified live against https://api.arka-ai.ru/v1/chat/completions: enable_thinking true|false is the canonical toggle (thinking.type = enabled|disabled also accepted), except Qwen3.5-27B where only enable_thinking takes effect. - deepseek-v4-flash-0731: effort levels low|high|max all verified on Arka, matching the first-party deepseek baseline. - kimi-k3: reasoning is always on; disabling it 400s on the non-thinking lane and effort controls have no observable effect, so reasoning_options is now []. - GLM-4.7-Flash: keep toggle, evidenced from the zhipuai lab baseline and Arka's verified GLM siblings (route returned upstream_error at verification time). - Remove budget_tokens from 8 Qwen files: thinking_budget is accepted but not enforced (reasoning length unchanged at budget=64..32768, streaming and non-streaming).
|
Addressed all three review items in 7001370, verified live against [high] Toggle wire-path comments — added top-of-file wire notes to all 15 toggle files. Live probing showed [medium] deepseek-v4-flash-0731 effort — now [medium] GLM-4.7-Flash — keeping Two additional corrections surfaced by probing:
|
Action items
|
|
No actionable findings. |
Summary
Adds Arka-AI (https://arka-ai.ru) — an OpenAI-compatible model hub serving
https://api.arka-ai.ru/v1— with 23 chat/reasoning models from DeepSeek, Qwen (Alibaba), Kimi (Moonshot), MiniMax, GLM (Zhipu), and Step.name = "Arka-AI",npm = "@ai-sdk/openai-compatible",env = ["ARKA_API_KEY"],api = "https://api.arka-ai.ru/v1".logo.svgis the official Arka AI mark (singlecurrentColor, no fixed size).Models (23)
All provider files are override-only and
base_modelexisting lab entries:DeepSeek-V4-Prodeepseek/deepseek-v4-prodeepseek-v4-flash-0731deepseek/deepseek-v4-flash-0731DeepSeek-V3deepseek/deepseek-v3DeepSeek-R1deepseek/deepseek-r1GLM-5.2/GLM-5.1/GLM-5/GLM-4.7-Flashzhipuai/*Qwen3.5-27B/-Plus/-Flash,Qwen3.6-Plus/-Max,Qwen3.7-Max/-Plus,qwen3.8-max,Qwen3-Coder-Next/-Flashalibaba/*MiniMax-M2.5/MiniMax-M3minimax/*Kimi-K2.7-Code/kimi-k3moonshotai/*Step-3.7-Flashstepfun/*Notes
reasoning_optionsare copied from each underlying lab's first-party provider entry (e.g. DeepSeek V4 =toggle+effort[high,max], Qwen =toggle+budget_tokens, Kimi K3 =toggle+effort[low,high,max]).interleaved = { field = "reasoning_content" }where the underlying host exposes it.bun validatepasses.