As part of the five-year fellowship, NSF Fellows receive a three-year annual stipend of $34,000 along with a $12,000 cost of education allowance for tuition and fees for a research-based master's or doctoral degree in a STEM (science, technology, engineering or mathematics) field.