Is it my responsibility as an undergrad student to figure out if my thesis is affordable?
Is it my responsibility as an undergrad student to figure out if my thesis is affordable?

Usually, no.  This is an example of where your faculty advisor should help you.
Do take a few minutes to research costs before discussing it with your advisor.
There might be exceptions if, based on your area of study, you were expected to know about costs already.