"I am not anxious, I am excited about making my debut in Sepang this weekend", Gasly said. The Ferrari driver's championship chances were dealt a harsh blow at the last race in Singapore after he crashed out on the opening lap.
Hamilton was clearly surprised to be on pole after a torrid weekend where he had failed to be quicker than fifth in any practice session.
Vettel left the Ferrari garage during the first stage of qualifying but was unable to set a time and complained over team radio that his turbo was not working.
Raikkonen was a first-bend casualty in the Singapore carnage along with Max Verstappen.
Hamilton will start Sunday's race, underway at 8am live on Sky Sports F1, 19 positions ahead of Vettel following a qualifying hour of unexpected drama at Sepang.
"It's a bit more painful when you get that close", the softly spoken Finnish driver said.
"But there wasn't enough time so we ended up staying with it and also it was a risk changing the auto again before qualifying and maybe getting something wrong". The guys worked a miracle today and did the change successfully in time. So I have to anticipate he will bounce back even stronger. Ferrari are strong, Mercedes are a bit odd for now but I'm sure they'll get quicker tomorrow so we need to improve.
Oil prices slip, pulling back from recent gains
Brent for November settlement dropped 58 cents to end the session at US$58.44 a barrel on the ICE Futures Europe exchange. Both WTI and Brent benchmarks fell on Tuesday, but they were both still up over $2.00 week on week.
The Malaysian Grand Prix has been a permanent fixture on the Formula One calendar since it hosted it's first race in 1999. "I thought my auto was not too bad but we didn't do too many timed laps and we can go an terrible lot faster".
"We're always going to try and make the fastest race and I don't really know what else".
"We will have a tough battle. So I think it's more the driver here than the vehicle, to be honest".
He added: "We had such a hard day (on Friday) and it was hard to know where we stood".
"But I can feel for Ferrari and I can feel for Sebastian because I know it's a hard situation".
"We didn't put the tyres in the right window the whole weekend and then when the temperatures dropped and cloud cover started to come over the circuit, the auto was very quick". "You are never going to make the ideal lap but it's a bit more painful when you get so close".
While an engine failure condemned Vettel to last on the grid, Hamilton, a distant sixth in Friday practice and just fourth in Q2, secured one of the most unlikely pole positions of his career with a bolt-from-the-blue lap at the start of Q3.