I have took a look in the dictionary, "耗" is a verb, in your situation, it means "withstand". "起" is an adverb here, meaning "can" or "being able to", "得" is a preposition connecting the verb and the adverb. So the whole term means "have the ability to withstand". For example,
1. When you have a row with someone, you may say 「我今天时间很多,跟你耗得起 (I have a lot of time today, so I can withstand (wasting my time))」
Hope my answer helps you!