The numbers
1 cup ≈ 127 g, 3/4 cup ≈ 95 g, 2/3 cup ≈ 85 g, 1/2 cup ≈ 64 g, 1/3 cup ≈ 42 g, 1/4 cup ≈ 32 g.
Why it varies
Higher protein, slightly denser than plain flour but close enough that the same cup measure works.
The reliable way
If the recipe gives grams, use grams. If it only gives cups, spoon the ingredient into the cup and level it rather than scooping from the bag — that alone removes most of the difference.