I don't care about the cost.

Literal

Costs [possessive-の] thing [such as-など] don't-mind.

~のことなどかまわない means 'I don't care about things like X.' など adds a dismissive tone, trivializing the topic. かまわない means 'it doesn't matter, I don't mind.'