even if I die; at the risk of one's life; even if it kills me
Literal or emphatic: expresses that one will do something even if it costs one's life. Often used in dramatic or determined statements.
I'll protect the secret even if it kills me.
I won't let her go even if I die.
at all costs; no matter what; definitely
Hyperbolic adverbial use: strongly emphasizes determination or refusal, often without literal risk of death. Common in everyday speech.
I absolutely won't apologize.
I wouldn't do that job no matter what.