Moonshot AI open-sourced Kimi K2.7-Code, a coding-specialized version of Kimi K2.7. The standout: 30% reduction in "over-thinking" — the model generates 30% fewer reasoning tokens than the previous Kimi K2-Code, with no quality loss on coding benchmarks. The result: long-range programming is significantly more economical.

The "over-thinking" problem: previous Kimi coding models would generate extensive reasoning traces before each code action, even for simple edits. This "over-thinking" wastes tokens and slows down the response. K2.7-Code's fix: a "selective reasoning" mechanism — the model decides when reasoning is needed (e.g., complex algorithmic problems) and when it's not (e.g., simple variable renames).

The technical details: K2.7-Code is trained with a "reasoning-conditional" loss. The model is rewarded for generating correct code with minimal reasoning, and penalized for generating unnecessary reasoning. The training data includes both "reasoning traces" (for complex problems) and "direct solutions" (for simple problems), and the model learns to switch between them based on the task.

The benchmark: on HumanEval, MBPP, and SWE-Bench, K2.7-Code scores within 1-2 points of the previous Kimi K2-Code, with 30% fewer tokens generated. The "cost per task" is 30% lower, which is significant for production deployments.

The "long-range programming" angle: the cost reduction is most significant for long-range programming (e.g., SWE-Bench tasks), where the model must reason about a large codebase. The 30% reduction in tokens translates to 30% lower API costs, making K2.7-Code significantly more competitive than closed-source alternatives.

The bigger takeaway: "selective reasoning" is the right approach for production coding models. The "always reason" assumption is wasteful, and the "selective reasoning" approach is significantly more efficient. For the industry, this signals that "coding models" will adopt selective reasoning, and the "best coding model" will be the one with the best reasoning efficiency, not just the best reasoning quality.