It depends on the parts, but typically, it'll be an hourly rate, plus any cad/cam costs incurred, plus material (with a markup) if the shop is supplying them.
Some people may charge you by the part, but that would not be typical from my experience.