[ { "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 3, "modelMatch": ".*(?:ox-alpha|glm-x-preview-f|x-preview-f-free).*", "apiMatch": "anthropic-messages" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning_effort\": \"low\"\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning_effort\": \"high\"\n }\n : {\n \"reasoning_effort\": \"max\"\n }", "rules": [ { "scope": "modelApiRules", "index": 4, "modelMatch": ".*(?:ox-alpha|glm-x-preview-f|x-preview-f-free).*", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 25, "modelMatch": ".*kimi-k3(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 27, "modelMatch": ".*k3(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 29, "modelMatch": ".*k3-256k(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" } ] }, { "map": "reasoningLevel == \"enabled\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 5, "modelMatch": ".*glm-5(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 7, "modelMatch": ".*GLM-5-Turbo(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 10, "modelMatch": ".*glm-5\\.1(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 11, "modelMatch": ".*glm-5\\.1-highspeed(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 12, "modelMatch": ".*glm-5v-turbo(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 13, "modelMatch": ".*glm-4\\.7(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 14, "modelMatch": ".*glm-4\\.7-flashx(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 15, "modelMatch": ".*glm-4\\.7-flash(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 16, "modelMatch": ".*glm-4\\.6(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 17, "modelMatch": ".*glm-4\\.5(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 18, "modelMatch": ".*glm-4\\.5-air(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 34, "modelMatch": ".*kimi-k2\\.6(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 35, "modelMatch": ".*kimi-k2\\.6(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 36, "modelMatch": ".*kimi-k2\\.5(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 37, "modelMatch": ".*kimi-k2\\.5(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 46, "modelMatch": ".*qwen3\\.5-plus(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 48, "modelMatch": ".*qwen3\\.5-flash(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 50, "modelMatch": ".*qwen-plus(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 52, "modelMatch": ".*qwen-flash(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 54, "modelMatch": ".*qwen3-vl-plus(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 56, "modelMatch": ".*mimo-v2\\.5(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 57, "modelMatch": ".*mimo-v2\\.5(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 58, "modelMatch": ".*mimo-v2\\.5-pro(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 59, "modelMatch": ".*mimo-v2\\.5-pro(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 60, "modelMatch": ".*mimo-v2-flash(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 61, "modelMatch": ".*mimo-v2-flash(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" } ] }, { "map": "reasoningLevel == \"max\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 6, "modelMatch": ".*GLM-5\\.2(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 8, "modelMatch": ".*glm-5\\.3(?:-flash)?(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" } ] }, { "map": "reasoningLevel == \"none\"\n ? {\n \"reasoning\": {\n \"effort\": \"none\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning\": {\n \"effort\": \"medium\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }\n : reasoningLevel == \"xhigh\"\n ? {\n \"reasoning\": {\n \"effort\": \"xhigh\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"max\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 19, "modelMatch": ".*gpt-5\\.6(?:-(?:sol|terra|luna))?(?:[.\\-:/\\[].*)?", "apiMatch": "openai-responses" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning\": {\n \"effort\": \"medium\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"xhigh\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 20, "modelMatch": ".*gpt-5\\.3-codex(?:[.\\-:/\\[].*)?", "apiMatch": "openai-responses" }, { "scope": "modelApiRules", "index": 23, "modelMatch": ".*grok-4\\.6(?:[.\\-:/\\[].*)?", "apiMatch": "openai-responses" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"medium\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : reasoningLevel == \"xhigh\"\n ? {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"xhigh\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"adaptive\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 21, "modelMatch": ".*claude-(?:fable|opus|sonnet)-5(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"output_config\": {\n \"effort\": \"max\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 24, "modelMatch": ".*kimi-k3(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 26, "modelMatch": ".*k3(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 28, "modelMatch": ".*k3-256k(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" } ] }, { "map": "reasoningLevel == \"off\"\n ? {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 31, "modelMatch": ".*kimi-k2\\.7-code(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 32, "modelMatch": ".*kimi-k2\\.7-code(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" } ] }, { "map": "reasoningLevel == \"off\"\n ? {\n \"reasoning\": {\n \"effort\": \"none\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 33, "modelMatch": ".*kimi-k2\\.7-code(?:[.\\-:/\\[].*)?", "apiMatch": "openai-responses" } ] }, { "map": "reasoningLevel == \"off\"\n ? {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"max\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 38, "modelMatch": ".*deepseek-v4-flash(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" }, { "scope": "modelApiRules", "index": 40, "modelMatch": ".*deepseek-v4-pro(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" } ] }, { "map": "reasoningLevel == \"off\"\n ? {\n \"thinking\": {\n \"type\": \"disabled\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"reasoning_effort\": \"low\"\n }\n : reasoningLevel == \"high\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"reasoning_effort\": \"high\"\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"reasoning_effort\": \"max\"\n }", "rules": [ { "scope": "modelApiRules", "index": 39, "modelMatch": ".*deepseek-v4-flash(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 41, "modelMatch": ".*deepseek-v4-pro(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"medium\"\n }\n }\n : {\n \"thinking\": {\n \"type\": \"enabled\"\n },\n \"output_config\": {\n \"effort\": \"xhigh\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 43, "modelMatch": ".*qwen3\\.8-(?:max|flash)(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning_effort\": \"low\"\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning_effort\": \"medium\"\n }\n : {\n \"reasoning_effort\": \"xhigh\"\n }", "rules": [ { "scope": "modelApiRules", "index": 44, "modelMatch": ".*qwen3\\.8-(?:max|flash)(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" } ] }, { "map": "reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"medium\"\n ? {\n \"reasoning\": {\n \"effort\": \"medium\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"xhigh\"\n }\n }", "rules": [ { "scope": "modelApiRules", "index": 45, "modelMatch": ".*qwen3\\.8-(?:max|flash)(?:[.\\-:/\\[].*)?", "apiMatch": "openai-responses" } ] }, { "map": "reasoningLevel == \"enabled\"\n ? {\n \"enable_thinking\": true\n }\n : {\n \"enable_thinking\": false\n }", "rules": [ { "scope": "modelApiRules", "index": 47, "modelMatch": ".*qwen3\\.5-plus(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 49, "modelMatch": ".*qwen3\\.5-flash(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 51, "modelMatch": ".*qwen-plus(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 53, "modelMatch": ".*qwen-flash(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" }, { "scope": "modelApiRules", "index": 55, "modelMatch": ".*qwen3-vl-plus(?:[.\\-:/\\[].*)?", "apiMatch": "openai-chat-completions" } ] }, { "map": "{\"output_config\": {\"effort\": reasoningLevel}}", "rules": [ { "scope": "providerSiteRules", "index": 0, "modelMatch": ".*gpt-5\\.(?:6(?:-(?:sol|terra|luna))?|3-codex)(?:[.\\-:/\\[].*)?", "apiMatch": "anthropic-messages", "baseURLMatch": "https://openrouter\\.ai/api(?:/v1)?/?" } ] }, { "map": "reasoningLevel == \"off\"\n ? {\n \"reasoning\": {\n \"effort\": \"none\"\n }\n }\n : reasoningLevel == \"low\"\n ? {\n \"reasoning\": {\n \"effort\": \"low\"\n }\n }\n : reasoningLevel == \"high\"\n ? {\n \"reasoning\": {\n \"effort\": \"high\"\n }\n }\n : {\n \"reasoning\": {\n \"effort\": \"max\"\n }\n }", "rules": [ { "scope": "providerSiteRules", "index": 2, "modelMatch": "deepseek-v4-flash", "apiMatch": "openai-responses", "baseURLMatch": "https://api\\.deepseek\\.com(?:/.*)?" }, { "scope": "providerSiteRules", "index": 3, "modelMatch": "deepseek-v4-pro", "apiMatch": "openai-responses", "baseURLMatch": "https://api\\.deepseek\\.com(?:/.*)?" } ] } ]