Would you accept this counteroffer?

Background:I live in an HCOL (think NY/SF) city, just hit 5 YOE and work as a backend engineer. I’ve worked at this company for a year and 5 months now. TC is currently 245k and could potentially drop after I hit my 3rd year working at this company si…