{
 "kind": "model",
 "slug": "qwen-qwen3-5-9b",
 "path": "models/open/qwen-qwen3-5-9b/",
 "name": "Qwen3.5-9B",
 "maker": "Qwen",
 "density": "full",
 "crumbs": [
  [
   "Models",
   "models/"
  ],
  [
   "Open models",
   "models/open/"
  ]
 ],
 "lead": "A small model that also reads images.",
 "chips": [
  {
   "label": "Text and agents",
   "path": "models/open/"
  },
  {
   "label": "Commercial use"
  },
  {
   "label": "Runs on 16 GB"
  }
 ],
 "primary": {
  "label": "Copy model id",
  "copy": "Qwen/Qwen3.5-9B"
 },
 "links": [
  {
   "label": "Hugging Face",
   "href": "https://huggingface.co/Qwen/Qwen3.5-9B"
  },
  {
   "label": "Demos",
   "href": "https://huggingface.co/spaces?search=Qwen3.5-9B"
  }
 ],
 "track": "New versions, price and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "Commercial use",
   "value": "Allowed",
   "status": "yes",
   "sub": "Apache 2.0",
   "quote": "each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce",
   "note": "Apache 2.0 allows use in paid and closed products, with no fee.",
   "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/LICENSE"
  },
  {
   "key": "local",
   "label": "On your machine",
   "status": "yes",
   "value": "16 GB of memory",
   "sub": "9.7B parameters, ~5.8 GB at 4-bit",
   "note": "Our estimate: about 0.6 GB per billion parameters at 4-bit, with room for the context.",
   "src": "https://huggingface.co/Qwen/Qwen3.5-9B"
  },
  {
   "key": "api",
   "label": "Through an API",
   "status": "yes",
   "value": "$0.1 / $0.15",
   "sub": "per 1M tokens, DeepInfra",
   "note": "Cheapest live provider with tool calling, as the provider reports its price.",
   "src": "https://huggingface.co/docs/inference-providers"
  },
  {
   "key": "tools",
   "label": "Tool calling",
   "status": "yes",
   "value": "4 of 5 providers",
   "sub": "5 providers, 4 with tool calling",
   "note": "Providers whose API supports tool calling for this model, as each reports it.",
   "src": "https://huggingface.co/Qwen/Qwen3.5-9B"
  }
 ],
 "vfoot": "Checked against its official pages on Nov 23, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Qwen3.5-9B does",
   "parts": [
    {
     "t": "prose",
     "text": "Qwen3.5-9B is an open language model by Alibaba Cloud's Qwen team that chats, writes code, uses tools and also understands images and video. It thinks before it answers by default, and you can turn that off per request. The weights are on Hugging Face, free to use in paid products under Apache 2.0."
    },
    {
     "t": "h3",
     "text": "What people use it for"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Ask questions about pictures",
       "text": "Send a photo, chart or screenshot together with a question, for example a geometry task drawn on paper.",
       "idea": false
      },
      {
       "title": "Summarize long videos",
       "text": "Give it a video link and ask for a summary; with a changed setting it samples more frames from hour-long videos.",
       "idea": false
      },
      {
       "title": "Run a server that calls tools",
       "text": "Start a local server with tool calling switched on, so an agent app can let the model use functions.",
       "idea": false
      },
      {
       "title": "Text-only server with more memory",
       "text": "If you only need text, skip the image part to free graphics memory for longer chats.",
       "idea": false
      },
      {
       "title": "Build agents with Qwen-Agent",
       "text": "Use the maker's Qwen-Agent library to give the model tools, such as a file system helper.",
       "idea": false
      },
      {
       "title": "Serve users in many languages",
       "text": "Chat and translate in 201 languages and dialects, as the maker reports.",
       "idea": false
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Qwen3.5-9B popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "2,445",
       "l": "likes on Hugging Face"
      },
      {
       "n": "6.2M",
       "l": "downloads, last 30 days"
      },
      {
       "n": "12",
       "l": "Hugging Face trending score"
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none."
    }
   ]
  },
  {
   "id": "run",
   "nav": "Run it",
   "h2": "Where to run Qwen3.5-9B",
   "parts": [
    {
     "t": "h3",
     "text": "Through an API"
    },
    {
     "t": "table",
     "head": [
      "Provider",
      "$ per 1M in / out",
      "Tools",
      "Context"
     ],
     "rows": [
      [
       "DeepInfra (98.6% up, 24h)",
       "$0.1 / $0.15",
       "Yes",
       "262K"
      ],
      [
       "Parasail (100% up, 24h)",
       "$0.1 / $0.25",
       "No",
       "262K"
      ],
      [
       "OpenRouter",
       "$0.1 / $0.25",
       "Yes",
       "262K"
      ],
      [
       "PrimeIntellect (100% up, 24h)",
       "$0.17 / $0.25",
       "Yes",
       "262K"
      ],
      [
       "Together (98.8% up, 24h)",
       "$0.17 / $0.25",
       "Yes",
       "262K"
      ]
     ],
     "num": true
    },
    {
     "t": "small",
     "text": "As reported by each provider via Hugging Face Inference Providers and OpenRouter, checked Nov 26, 2026."
    },
    {
     "t": "h3",
     "text": "On your machine"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Parameters",
       "v": "9.7B"
      },
      {
       "l": "Memory at 4-bit",
       "v": "about 5.8 GB",
       "sub": "Our estimate: 0.6 GB per billion parameters, with room for the context."
      },
      {
       "l": "GGUF builds",
       "v": "69 on Hugging Face",
       "sub": "For llama.cpp, Ollama and LM Studio; e.g. unsloth/Qwen3.5-9B-GGUF"
      },
      {
       "l": "MLX builds",
       "v": "10 on Hugging Face",
       "sub": "For Apple silicon"
      }
     ]
    }
   ]
  },
  {
   "id": "license",
   "nav": "License",
   "h2": "Qwen3.5-9B license",
   "parts": [
    {
     "t": "prose",
     "text": "Free to use, change and sell in paid products under Apache 2.0. If you pass the model files on, include the license and mark files you changed; Qwen's trademarks are not licensed."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid product",
       "v": "Yes",
       "status": "yes",
       "sub": "Apache 2.0 allows use in paid and closed products, with no fee.",
       "quote": "each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce",
       "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/LICENSE"
      },
      {
       "l": "Ship the weights to users",
       "v": "With conditions",
       "status": "cond",
       "sub": "Pass on a copy of the license and mark any files you changed.",
       "quote": "You must cause any modified files to carry prominent notices stating that You changed the files",
       "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/LICENSE"
      },
      {
       "l": "Ship it inside your app",
       "v": "With conditions",
       "status": "cond",
       "sub": "Shipping the weights inside an app counts as passing them on, so the license copy goes with them.",
       "quote": "You must give any other recipients of the Work or Derivative Works a copy of this License",
       "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/LICENSE"
      },
      {
       "l": "Work for clients",
       "v": "Yes",
       "status": "yes",
       "sub": "You may build and deliver client projects on it under the same terms.",
       "quote": "each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce",
       "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/LICENSE"
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Qwen3.5-9B",
       "me": true,
       "facts": [
        "2,445 likes",
        "Apache 2.0"
       ]
      },
      {
       "name": "Qwen3.8-27B",
       "path": "models/open/qwen-qwen3-8-27b/",
       "why": "Qwen · image-text-to-text",
       "facts": [
        "21.7K likes",
        "Apache 2.0"
       ]
      },
      {
       "name": "Kimi-K3",
       "path": "models/open/moonshotai-kimi-k3/",
       "why": "moonshotai · image-text-to-text",
       "facts": [
        "12K likes",
        "Custom license"
       ]
      },
      {
       "name": "Llama-3.1-8B-Instruct",
       "path": "models/open/meta-llama-llama-3-1-8b-instruct/",
       "why": "meta-llama · text-generation",
       "facts": [
        "9,102 likes",
        "Llama 3.1 license"
       ]
      },
      {
       "name": "Qwen3.8-Flash-Next",
       "path": "models/open/qwen-qwen3-8-flash-next/",
       "why": "Qwen · image-text-to-text",
       "facts": [
        "7,502 likes",
        "Custom license"
       ]
      }
     ],
     "more": "All text and agents models",
     "more_path": "models/open/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Serve Qwen/Qwen3.5-9B with a current vLLM nightly (vllm serve Qwen/Qwen3.5-9B --max-model-len 262144 --reasoning-parser qwen3), call it with the OpenAI Python client at http://localhost:8000/v1, and to skip thinking pass extra_body={\"chat_template_kwargs\": {\"enable_thinking\": False}} instead of /no_think."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Install vLLM from its nightly builds; the model needs the newest code.",
       "code": "uv pip install vllm --torch-backend=auto --extra-index-url https://wheels.vllm.ai/nightly",
       "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/README.md"
      },
      {
       "text": "Start the server; it answers at http://localhost:8000/v1.",
       "code": "vllm serve Qwen/Qwen3.5-9B --port 8000 --tensor-parallel-size 1 --max-model-len 262144 --reasoning-parser qwen3",
       "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/README.md"
      },
      {
       "text": "Point the OpenAI Python client at your server.",
       "code": "pip install -U openai\n\n# Set the following accordingly\nexport OPENAI_BASE_URL=\"http://localhost:8000/v1\"\nexport OPENAI_API_KEY=\"EMPTY\"",
       "src": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/README.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Model id to use"
    },
    {
     "t": "tabs",
     "label": "Where to run",
     "items": [
      {
       "tab": "OpenRouter",
       "intro": "OpenAI-compatible: base URL https://openrouter.ai/api/v1",
       "code": "qwen/qwen3.5-9b"
      },
      {
       "tab": "Hugging Face router",
       "intro": "OpenAI-compatible: base URL https://router.huggingface.co/v1",
       "code": "Qwen/Qwen3.5-9B"
      },
      {
       "tab": "Local (GGUF)",
       "intro": "A community GGUF build on Hugging Face; read its card before use.",
       "code": "unsloth/Qwen3.5-9B-GGUF"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "Adding /think or /no_think to prompts, as with Qwen3",
       "fix": "Pass extra_body={\"chat_template_kwargs\": {\"enable_thinking\": False}} to get a direct answer",
       "why": "The model card says the Qwen3 soft switch is not officially supported here."
      },
      {
       "dont": "Using chat_template_kwargs on Alibaba Cloud Model Studio",
       "fix": "Send \"enable_thinking\": False directly in the request there",
       "why": "The hosted service expects the flag at the top level, not inside chat_template_kwargs."
      },
      {
       "dont": "Installing the last stable vLLM or SGLang release",
       "fix": "Install from the main branch or nightly builds as the model card shows",
       "why": "The model needs code that only the main branches have."
      },
      {
       "dont": "Cutting the context window far below 128K to save memory",
       "fix": "Keep at least 128K tokens, or use the text-only flag to free memory",
       "why": "Thinking relies on long context."
      },
      {
       "dont": "Sending earlier thinking text back in the chat history",
       "fix": "Keep only the final answers of earlier turns",
       "why": "The provided chat template drops thinking content; other frameworks must do it themselves."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Can I use Qwen3.5-9B in a paid product?",
       "a": "Yes. It is under Apache 2.0; include the license when you pass the files on.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/README.md",
        "quote": "license: apache-2.0"
       }
      },
      {
       "q": "How do I get answers without the thinking part?",
       "a": "Set enable_thinking to False through chat_template_kwargs in the request; /no_think is not officially supported.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/README.md",
        "quote": "You can obtain direct response from the model without thinking by configuring the API parameters."
       }
      },
      {
       "q": "Does it read images and video?",
       "a": "Yes. The model has a vision encoder, and the card shows image and video requests.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/README.md",
        "quote": "Type: Causal Language Model with Vision Encoder"
       }
      },
      {
       "q": "Which settings should I use?",
       "a": "For thinking on general tasks, temperature 1.0, top_p 0.95, top_k 20, min_p 0 and presence_penalty 1.5; the card lists other sets for precise coding and for answers without thinking.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.5-9B/raw/main/README.md",
        "quote": "Thinking mode for general tasks: temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0"
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "Qwen"
  ],
  [
   "Task",
   "Text and agents"
  ],
  [
   "Pipeline",
   "image-text-to-text"
  ],
  [
   "On Hugging Face since",
   "Feb 27, 2026"
  ],
  [
   "License",
   "Apache 2.0"
  ],
  [
   "Parameters",
   "9.7B"
  ],
  [
   "Context",
   "262K tokens"
  ],
  [
   "Hugging Face",
   "Qwen/Qwen3.5-9B"
  ]
 ],
 "good": [
  "The language part has 9 billion parameters, plus a separate image and video reader.",
  "It reads 262,144 tokens out of the box and can be stretched to about 1,010,000 tokens.",
  "If memory runs out, shorten the window, but keep at least 128K tokens so thinking still works well."
 ],
 "checked_line": "Hand-checked from 3 official pages on Nov 23, 2026; numbers refresh daily.",
 "logo": null
}