{"slug":"qwen3.5-122b-a10b","name":"Qwen3.5-122B-A10B","family":"qwen","family_name":"Qwen","developer":"Alibaba","color":"#ff6a00","status":"active","released":"2026-02-23","snapshot_of":null,"open":true,"context":262144,"max_output":65536,"knowledge_cutoff":null,"modalities":["text","image","video"],"output_modalities":["text"],"reasoning":true,"tools":true,"structured_output":true,"huggingface":"Qwen/Qwen3.5-122B-A10B","speed":57,"latency":0.77,"short":"An open-weights model from Alibaba, released February 2026, that accepts text, image and video input. It is priced below the registry median, but its two benchmark results are weak.","strengths":["Open weights with text, image and video input","Blended price of $0.72 per million tokens, below the $1.01 median","262k context window and 65k maximum response length","Supports tool calling, reasoning mode and structured output"],"weaknesses":["SciCode score 35.6%, 94th of 96, against a 50.2% median","LMArena rating 1417.7, 79th of 114, below the 1437.6 median","Only two benchmark results and two hosting providers"],"best_for":"Low-cost agents needing tool calling or image and video input, not demanding coding or science tasks.","long":"Qwen3.5-122B-A10B is an open-weights model from Alibaba, released in February 2026. It accepts text, image and video input and supports tool calling, reasoning mode and structured output. Its 262k context window is large, and responses can run to 65k tokens.\n\nPrice is its clearest advantage. Input costs $0.26 per million tokens and output $2.08, giving a blended price of $0.72 per million, below the registry median of $1.01. It ranks 81st of 194 on price, so it sits in the middle of the registry rather than at either extreme.\n\nBenchmark evidence is thin and mostly weak. The model has only two results: 35.6% on SciCode, 94th of 96, and an LMArena rating of 1417.7, just below the median. It ranks 147th of 194 on popularity and is served by only OpenRouter and Novita.","described":true,"gateway":false,"byok":true,"string":"openrouter:qwen/qwen3.5-122b-a10b","input":0.26,"output":2.08,"cache_read":null,"blended":0.715,"efficiency":null,"bench":{"scicode":35.6,"lmarena":1417.7},"offers":[{"provider":"openrouter","name":"OpenRouter","model_id":"qwen/qwen3.5-122b-a10b","api":["openai"],"input":0.26,"output":2.08,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":262144,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:qwen/qwen3.5-122b-a10b","gateway_string":null},{"provider":"novita","name":"Novita","model_id":"qwen/qwen3.5-122b-a10b","api":["openai"],"input":0.4,"output":3.2,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":262144,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":null,"gateway_string":null}],"ranks":{"intelligence":null,"popularity":147,"efficiency":null,"speed":110,"price":81},"top_score":0.1024,"about":["An open-weights model from Alibaba, released February 2026, that accepts text, image and video input. It is priced below the registry median, but its two benchmark results are weak.","Qwen3.5-122B-A10B is an open-weights model from Alibaba, released in February 2026. It accepts text, image and video input and supports tool calling, reasoning mode and structured output. Its 262k context window is large, and responses can run to 65k tokens.","Price is its clearest advantage. Input costs $0.26 per million tokens and output $2.08, giving a blended price of $0.72 per million, below the registry median of $1.01. It ranks 81st of 194 on price, so it sits in the middle of the registry rather than at either extreme.","Benchmark evidence is thin and mostly weak. The model has only two results: 35.6% on SciCode, 94th of 96, and an LMArena rating of 1417.7, just below the median. It ranks 147th of 194 on popularity and is served by only OpenRouter and Novita."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent('openrouter:qwen/qwen3.5-122b-a10b', instructions='Be concise, reply with one sentence.')\n\nresult = agent.run_sync('Where does \"hello world\" come from?')\nprint(result.output)","soon":false},{"file":"structured_output.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic import BaseModel\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('openrouter:qwen/qwen3.5-122b-a10b', output_type=CityLocation)\n\nresult = agent.run_sync('Where were the olympics held in 2012?')\nprint(result.output)\n#> city='London' country='United Kingdom'","soon":false},{"file":"tools.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\nimport random\n\nfrom pydantic_ai import Agent, RunContext\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent(\n    'openrouter:qwen/qwen3.5-122b-a10b',\n    deps_type=str,\n    instructions=\"You're a dice game, roll the die and see if it matches the user's guess.\",\n)\n\n\n@agent.tool_plain\ndef roll_dice() -> str:\n    \"\"\"Roll a six-sided die and return the result.\"\"\"\n    return str(random.randint(1, 6))\n\n\n@agent.tool\ndef get_player_name(ctx: RunContext[str]) -> str:\n    \"\"\"Get the player's name.\"\"\"\n    return ctx.deps\n\n\nresult = agent.run_sync('My guess is 4', deps='Anne')\nprint(result.output)","soon":false},{"file":"streaming.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport asyncio\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['OPENROUTER_API_KEY'] = '...'\n\nagent = Agent('openrouter:qwen/qwen3.5-122b-a10b')\n\n\nasync def main():\n    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:\n        async for text in response.stream_text(delta=True):\n            print(text, end='', flush=True)\n\n\nasyncio.run(main())","soon":false},{"file":"pax.sh","lang":"sh","code":"export OPENROUTER_API_KEY='...'\n\nuvx pax --model 'openrouter:qwen/qwen3.5-122b-a10b'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport OPENROUTER_API_KEY='...'\n\npi --model 'openrouter/qwen/qwen3.5-122b-a10b'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport OPENROUTER_API_KEY='...'\n\ncodex --model 'qwen/qwen3.5-122b-a10b' \\\n  -c model_provider='openrouter' \\\n  -c model_providers.openrouter.name='OpenRouter' \\\n  -c model_providers.openrouter.base_url='https://api.openrouter.example/v1' \\\n  -c model_providers.openrouter.env_key='OPENROUTER_API_KEY'","soon":false},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/openai-compatible\nimport { createOpenAICompatible } from '@ai-sdk/openai-compatible'\nimport { generateText } from 'ai'\n\nprocess.env.OPENROUTER_API_KEY = '...'\n\nconst openrouter = createOpenAICompatible({\n  name: 'openrouter',\n  baseURL: 'https://api.openrouter.example/v1',\n  apiKey: process.env.OPENROUTER_API_KEY,\n})\n\nconst { text } = await generateText({\n  model: openrouter('qwen/qwen3.5-122b-a10b'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[{"id":"scicode","name":"SciCode","unit":"%","desc":"Scientific programming problems written by researchers","category":"coding","floor":0,"ceiling":100,"url":"https://scicode-bench.github.io/","credit":"SciCode, via Epoch AI (CC BY 4.0)"},{"id":"lmarena","name":"LMArena text","unit":"","desc":"Rating from blind human votes between pairs of chat responses","category":"preference","floor":1100,"ceiling":1600,"url":"https://lmarena.ai/leaderboard/text","credit":"LMArena (CC BY 4.0)"}],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}