NewsCrawler.org

Qwen Code pull request sets a 1M context window for qwen4 model names

Qwen Code pull request sets a 1M context window for qwen4 model names
Image: Reddit

A pull request in the Qwen Code repository on GitHub adds a rule that gives model IDs starting with "qwen4" a context window of 1M. Before this change, these IDs matched the generic qwen rule and got a window of 262,144. Because of this, auto-compaction[1] started at 22% of the real window.

The change adds one ordered row to the token-limit table. The row sits after the qwen3.x 1M rule and before the 256K fallback, and it does not change output limits. The author says the ID qwen4-omni-120b-think is already used as a test fixture[2] in three test files, and that none of those tests check the window value.

The author states that the code and the models.dev catalog cannot confirm whether qwen4 really has a 1M window, so that assumption depends on maintainer knowledge. A catalog entry with a window value overrides the new row once it is published. At the time of the review, six CI checks had passed and the main test and lint jobs were still running. The author also notes that the /context header display was not checked against a live endpoint[3].

Read the original github.comDiscussion

Discussion

Commenters mostly question the framing: several say the model names are only examples used for testing the parser and that calling this a leak is misleading. Others are excited about a possible Qwen 4 release and ask about the size of the 120b model.

Sources

  • GitHub

    Alibaba's Qwen Code repo just leaked qwen4-max, qwen4-coder-plus, and qwen4-omni-120b

    135 comments

Terms

  1. endpoint — A network address of a service that accepts requests, such as an API address a tool sends its calls to.

Published: First seen: Читать по-русски

Open as a page