MillBill is a machining agent that uses geometric feedback.
MillBill uses an LLM for machining decisions and a geometric harness for toolpaths, material removal, and 97.4% surface accuracy in simulation.
Key Takeaways
- MillBill separates machining planning from geometry: the LLM chooses operations, tools, and parameters, while a geometric harness handles coordinates, features, setups, toolpaths, material removal, and tolerance feedback.
- The harness gives the model measurable feedback, such as per-feature deviations, allowing the machining plan to be refined across multiple passes without asking the LLM to calculate coordinates directly.
- In a 100-part GrabCAD simulation evaluation, MillBill with Qwen3.8-27B achieved 97.4% of the target surface within 0.1 mm, outperforming GPT-6 Astra, Claude Opus 5.5, and CNC-Net.
- The project is released openly with code, 4,294 paired GrabCAD parts and milling stocks, and a simulator that scores generated G-code under the same accuracy rules.
- The current stage is a research benchmark rather than a finished machine controller, with future impact depending on whether the simulator and dataset become a common evaluation standard for machining planners.
A language model can now help produce machining instructions for a three-axis CNC machine without calculating coordinates, by leaving geometry to a separate harness. MillBill takes a boundary representation part model, its stock and its material, then outputs G-code, the machine control language, for indexed 3-axis milling. The key design choice is a clean split: the LLM chooses machining decisions, while a geometric system handles features, setups, toolpaths, material removal and tolerance feedback.

Before the release: why coordinate-free planning mattered
A CNC program normally depends on exact geometry: where a cutter moves, which setup can reach a face, how much material is removed and whether the finished part stays inside a tolerance window. Large language models can reason about process choices, but making them output coordinates directly can mix two different tasks: machining strategy and solid-model geometry.
MillBill starts from that separation. The model is not asked to compute coordinates. It is asked to make the machining plan: operations, tools and cutting parameters.
During the build: separating decision-making from geometry
The system adds a geometric harness around the language model. The harness recognizes features in the part, then chooses machining setups according to what the cutters can actually reach, not only according to whether a surface is visible. It generates every toolpath, simulates material removal and returns per-feature deviations.
Those deviations give the model a way to refine the plan in the next pass. In effect, the release moves coordinate calculation out of the language model and into a deterministic geometry layer. The LLM plans; the harness measures, simulates and feeds back.
After testing: the 100-part simulation score
The evaluation used 100 GrabCAD parts. Every generated program was scored by simulation rather than by a human guess or by text similarity.
With the open Qwen3.8-27B running locally, MillBill left 97.4% of the target surface within 0.1 mm. The comparison set includes the best frontier code-writing agent, GPT-6 Astra, at 94.3%, Claude Opus 5.5 at 83.0% and CNC-Net at 42.3%.
The gap shows that the harness matters as much as the language model when the task is physical machining rather than ordinary code generation. A model that writes plausible programs can still fail if it cannot coordinate reachability, toolpaths and material removal.
Now: the open release package
The project is available as an open release. It includes code, 4,294 GrabCAD parts paired with milling stocks, and a simulator that can score any planner's G-code.
That combination makes the work more than a single demo. Other teams can use the same parts, stocks and simulator to compare how different planners perform under the same accuracy rules. The public links are https://github.com/kulibinai/millbill and https://huggingface.co/datasets/kulibinai/millbill.
Current stage: a research benchmark, not a finished machine controller
The current stage is an open research release centered on simulation. It shows that a language model can contribute to CNC planning when its role is limited to machining decisions and when a geometry harness handles coordinates, toolpaths and material removal.
The reported numbers apply to the stated 100-part GrabCAD evaluation and the listed models. The next meaningful signal will be whether the open simulator and paired parts become a common way to compare other machining planners under the same accuracy rules.
Comments
No comments yet. Be the first to comment.