| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448 |
- [
- {
- "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(?:/.*)?"
- }
- ]
- }
- ]
|