The required quality for both the pinion and gear can be defined independently. The scale runs from 15(best) to 3(worst) according to AGMA 2000 or from 2 (best) to 11(worst) according AGMA 2015. In ISO 1328 also the low numbers are for better quality like in AGMA 2015. Under settings (see 11.1.3) the used tolerance standard can be choosen.
The actual quality achieved is dependent upon the manufacturing process used.