Speaking to reporters ahead of this weekend's Mexican Grand Prix, the seven-time world champion revealed he was in talks with the team about another multi-year contract.
Asked about his future, Hamilton, 37, said: "You're stuck with me for quite a bit longer.
"We are going to do another deal. We are going to sit down and discuss it in these next couple of months."
Hamilton, who will be 38 on 5 January, joined Mercedes in 2013 after starting his F1 career with McLaren in 2007.
He won his first title in 2008 and holds records for most victories (103) and pole positions (103), but this year faces completing a season without winning a single race for the first time.
"I want to keep racing," he said.
"I love what I do. I've been doing it for 30 years and I don’t feel that I should have to stop. I think I am currently still earning my keep. I still want to do better.
"I could stop now – and I have lots of other things in the pipeline that I will be super-focused and super-busy with – (but) I'm here for the sheer love of working in the organisation that I'm in.
"Mercedes-Benz have stuck with me through thick and thin. They stuck with me through being expelled at school.
"They stuck with me through everything that was going on through 2020. They've stuck with me through my mistakes and through the ups and downs."
He declined to consider if he could be described as Formula One's 'greatest of all time' driver.
When asked by American television host Jimmy Kilmmel, he replied: "I know what I am. I know how good I am, but I don't really like to talk about it.
"I like to just do the talking on the track.
"That's what my dad always said. When I was a kid when we were racing, we were on the receiving end of a lot of discrimination because we were the only people of colour on the racetrack.
"My dad said just do my talking on the track. So, even today I don't feel like I need to say anything. I just let what I'm doing on the circuit, what I'm doing off the circuit, kind of talk."
After a disappointing start to the season, when his Mercedes car suffered chronic 'porpoising' and bouncing problems, Hamilton has gradually clawed his way back to form and led last Sunday's United States Grand Prix before finishing second behind world champion Max Verstappen of Red Bull.