{"slug":"qwen3-next-80b-a3b-instruct","name":"Qwen3 Next 80B A3B Instruct","family":"qwen","family_name":"Qwen","developer":"Alibaba","color":"#ff6a00","status":"active","released":"2025-09-01","snapshot_of":null,"open":true,"context":null,"max_output":32768,"knowledge_cutoff":"2025-04","modalities":["text"],"output_modalities":["text"],"reasoning":false,"tools":true,"structured_output":true,"huggingface":"Qwen/Qwen3-Next-80B-A3B-Instruct","speed":49,"latency":0.57,"short":"An open-weights text model from Alibaba, priced as one of the cheaper options in the registry. It supports tool calling and structured output, but its only benchmark sits below the median.","strengths":["Blended price of $0.34 per million tokens, well below the $1.01 median","Price ranks 47th of 194, among the cheaper models tested","Supports tool calling and structured output","Open weights with a 32k maximum response length"],"weaknesses":["LMArena text score of 1417, below the 1438 median, 80th of 114","No context window stated in the registry","Only one provider, OpenRouter, and no reasoning mode"],"best_for":"Low-cost agents and pipelines that need tool calling or structured output, not top-tier quality.","long":"Qwen3 Next 80B A3B Instruct is an open-weights text model from Alibaba, released September 2025. Its main appeal is price: input costs $0.09 per million tokens and output $1.10, a blended $0.34 against a registry median of $1.01. It supports tool calling and structured output but has no reasoning mode.\n\nIts only benchmark, LMArena text, scores 1417 against a median of 1438, ranking 80th of 114. The registry gives no context window, and the model is offered only through OpenRouter.\n\nPopularity ranks 145th of 194, so adoption looks limited. It suits low-cost tool-calling workloads more than tasks that need strong quality.","described":true,"gateway":false,"byok":true,"string":"openrouter:qwen/qwen3-next-80b-a3b-instruct","input":0.09,"output":1.1,"cache_read":null,"blended":0.3425,"efficiency":null,"bench":{"lmarena":1417.2},"offers":[{"provider":"openrouter","name":"OpenRouter","model_id":"qwen/qwen3-next-80b-a3b-instruct","api":["openai"],"input":0.09,"output":1.1,"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-next-80b-a3b-instruct","gateway_string":null}],"ranks":{"intelligence":null,"popularity":145,"efficiency":null,"speed":122,"price":47},"top_score":0.1071,"about":["An open-weights text model from Alibaba, priced as one of the cheaper options in the registry. It supports tool calling and structured output, but its only benchmark sits below the median.","Qwen3 Next 80B A3B Instruct is an open-weights text model from Alibaba, released September 2025. Its main appeal is price: input costs $0.09 per million tokens and output $1.10, a blended $0.34 against a registry median of $1.01. It supports tool calling and structured output but has no reasoning mode.","Its only benchmark, LMArena text, scores 1417 against a median of 1438, ranking 80th of 114. The registry gives no context window, and the model is offered only through OpenRouter.","Popularity ranks 145th of 194, so adoption looks limited. It suits low-cost tool-calling workloads more than tasks that need strong quality."],"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-next-80b-a3b-instruct', 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-next-80b-a3b-instruct', 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-next-80b-a3b-instruct',\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-next-80b-a3b-instruct')\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-next-80b-a3b-instruct'","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-next-80b-a3b-instruct'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport OPENROUTER_API_KEY='...'\n\ncodex --model 'qwen/qwen3-next-80b-a3b-instruct' \\\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-next-80b-a3b-instruct'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[{"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}}