{"slug":"qwen3.6-35b-a3b","name":"Qwen3.6 35B A3B","family":"qwen","family_name":"Qwen","developer":"Alibaba","color":"#ff6a00","status":"active","released":"2026-04-17","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.6-35B-A3B","speed":19,"latency":0.72,"short":"Open-weight Alibaba model released April 2026, accepting text, image and video input. It is inexpensive and efficient for its scores, but trails the registry on most benchmarks.","strengths":["Input $0.14 and output $1 per million tokens, price rank 48 of 194","Intelligence per dollar ranks 21st of 194 models","262k token context window with text, image and video input","Supports tool calling, structured output and a reasoning mode"],"weaknesses":["Intelligence index of 41.7, 105th of 114 against a median of 59.5","FrontierMath at 20.4%, 76th of 80 models","WebDev Arena rating of 1250, 82nd of 85 models"],"best_for":"Cost-sensitive agents that need tool calling and image or video input, where top reasoning scores are not required.","long":"Qwen3.6 35B A3B is an open-weight Alibaba model released in April 2026. Its main appeal is cost: $0.14 per million input tokens and $1 per million output tokens, with intelligence per dollar ranked 21st of 194. It has a 262k context window, accepts text, image and video, and supports tool calling and structured output.\n\nCapability is the weak point. Its intelligence index of 41.7 ranks 105th of 114, well below the median of 59.5. FrontierMath, SciCode and WebDev Arena all sit in the bottom ten, and GPQA Diamond and OTIS Mock AIME are below the median too.\n\nIt suits cost-sensitive agents where tool use and image or video input matter more than top reasoning scores. Test it on the target task before relying on it.","described":true,"gateway":true,"byok":true,"string":"gateway/doubleword:Qwen/Qwen3.6-35B-A3B-FP8","input":0.14,"output":1,"cache_read":null,"blended":0.355,"efficiency":117.5,"bench":{"index":41.7,"gpqa":84.8,"aime":86.7,"frontiermath":20.4,"terminal":24.6,"scicode":36.6,"webdev":1250.2},"offers":[{"provider":"doubleword","name":"Doubleword","model_id":"Qwen/Qwen3.6-35B-A3B-FP8","api":["openai"],"input":0.14,"output":1,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":null,"deprecated":false,"gateway":true,"gateway_route":"doubleword","byok":true,"string":null,"gateway_string":"gateway/doubleword:Qwen/Qwen3.6-35B-A3B-FP8"},{"provider":"openrouter","name":"OpenRouter","model_id":"qwen/qwen3.6-35b-a3b","api":["openai"],"input":0.1,"output":0.95,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":null,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:qwen/qwen3.6-35b-a3b","gateway_string":null},{"provider":"novita","name":"Novita","model_id":"qwen/qwen3.6-35b-a3b","api":["openai"],"input":0.248,"output":1.485,"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":102,"popularity":36,"efficiency":21,"speed":178,"price":48},"top_score":0.7085,"about":["Open-weight Alibaba model released April 2026, accepting text, image and video input. It is inexpensive and efficient for its scores, but trails the registry on most benchmarks.","Qwen3.6 35B A3B is an open-weight Alibaba model released in April 2026. Its main appeal is cost: $0.14 per million input tokens and $1 per million output tokens, with intelligence per dollar ranked 21st of 194. It has a 262k context window, accepts text, image and video, and supports tool calling and structured output.","Capability is the weak point. Its intelligence index of 41.7 ranks 105th of 114, well below the median of 59.5. FrontierMath, SciCode and WebDev Arena all sit in the bottom ten, and GPQA Diamond and OTIS Mock AIME are below the median too.","It suits cost-sensitive agents where tool use and image or video input matter more than top reasoning scores. Test it on the target task before relying on it."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent('gateway/doubleword:Qwen/Qwen3.6-35B-A3B-FP8', 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['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('gateway/doubleword:Qwen/Qwen3.6-35B-A3B-FP8', 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['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent(\n    'gateway/doubleword:Qwen/Qwen3.6-35B-A3B-FP8',\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['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent('gateway/doubleword:Qwen/Qwen3.6-35B-A3B-FP8')\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 PYDANTIC_AI_GATEWAY_API_KEY='...'\n\nuvx pax --model 'gateway/doubleword:Qwen/Qwen3.6-35B-A3B-FP8'","soon":true},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport PYDANTIC_AI_GATEWAY_API_KEY='...'\n\ncodex --model 'Qwen/Qwen3.6-35B-A3B-FP8' \\\n  -c model_provider='gateway' \\\n  -c model_providers.gateway.name='Pydantic AI Gateway' \\\n  -c model_providers.gateway.base_url='https://gateway.pydantic.dev/proxy/doubleword/v1' \\\n  -c model_providers.gateway.env_key='PYDANTIC_AI_GATEWAY_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.PYDANTIC_AI_GATEWAY_API_KEY = '...'\n\nconst doubleword = createOpenAICompatible({\n  baseURL: 'https://gateway.pydantic.dev/proxy/doubleword',\n  apiKey: process.env.PYDANTIC_AI_GATEWAY_API_KEY,\n})\n\nconst { text } = await generateText({\n  model: doubleword('Qwen/Qwen3.6-35B-A3B-FP8'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[{"id":"index","name":"Intelligence index","unit":"","desc":"Our composite of the benchmarks below, 0-100","category":"reference","floor":0,"ceiling":100,"url":"/methodology/","credit":"Pydantic, from the sources credited below"},{"id":"gpqa","name":"GPQA Diamond","unit":"%","desc":"Graduate-level science questions, multiple choice","category":"reasoning","floor":25,"ceiling":97,"url":"https://epoch.ai/benchmarks/gpqa-diamond","credit":"Epoch AI (CC BY 4.0)"},{"id":"aime","name":"OTIS Mock AIME","unit":"%","desc":"Competition mathematics problems with exact answers","category":"reasoning","floor":0,"ceiling":100,"url":"https://epoch.ai/benchmarks/otis-mock-aime-2024-2025","credit":"Epoch AI (CC BY 4.0)"},{"id":"frontiermath","name":"FrontierMath","unit":"%","desc":"Original research-level mathematics problems, tiers 1 to 3","category":"reasoning","floor":0,"ceiling":95,"url":"https://epoch.ai/frontiermath","credit":"Epoch AI (CC BY 4.0)"},{"id":"terminal","name":"Terminal-Bench","unit":"%","desc":"Tasks completed in a terminal; the best result of any agent using the model","category":"coding","floor":0,"ceiling":100,"url":"https://www.tbench.ai/leaderboard/terminal-bench/2.0","credit":"Terminal-Bench, via Epoch AI (CC BY 4.0)"},{"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":"webdev","name":"WebDev Arena","unit":"","desc":"Rating from human votes on web apps the models built","category":"coding","floor":1000,"ceiling":1900,"url":"https://web.lmarena.ai/leaderboard","credit":"LMArena, via Epoch AI (CC BY 4.0)"}],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}