For about the same cost as machining a keyway off-site, you can purchase a CLIMAX Key Mill. These two-axis and three-axis mills cut keyways, slots, pockets, or flats on shaft diameters of 1.5 to 24 inches (38 to 610 mm). They can be operated in any position, thanks to their sealed gear box lubrication.