1
And it is based on velocity, velocity differential from prior pitch, late break, location, and total break.
It tries to be fair to both fastballs and offspeed by balancing those factors. It's nastier if you are yo-yo'ing speeds, if you throw harder, if you have more movement and especially more late movement, or if you spot your pitches well.