The invention discloses a two-speed gantry jig comprising a shell of an integrated structure. A cutter spindle is arranged on one side of the shell, a spindle driving motor used for driving the cutter spindle to move is arranged on one side, away from the cutter spindle, of the shell, a driving gear, a transition gear and a spindle gear which are sequentially in drive connection are mounted in the shell, central axes of the driving gear, the transition gear and the spindle gear are parallel to one another, the driving gear is in drive connection with the output end of the spindle driving motor, the spindle gear is in drive connection with the cutter spindle, the driving gear, the transition gear and the spindle gear are in triangular layout, and a spacer bush avoiding groove is arranged in one side, close to the cutter spindle, of the shell and corresponding to the transition gear. The two-speed gantry jig has the advantages that the driving gear, the transition gear and the spindle gear are in triangular layout, so that a change gear is more compact in structure; by the arranged spacer bush avoiding groove used for collecting cooling fluid, independent arrangement of a liquid collection tank is avoided, and overall mounting space is saved.