William Stephenson contributed in many ways to the war against Hitler. Not the least of his achievements was running an espionage camp in Whitby, Ontario, Canada, where he trained American, Canadian, and British operatives. Retiring in Bermuda, he was visited by Ian Fleming who listened to his stories with great interest. Ian admitted to using some of William’s characteristics in the building of James Bond.
I think the more direct inspiration was Gus March-Phillips. The recent movie “The Ministry of Ungentlemanly Warfare” is a fictionalized telling of the work that the team Ian Fleming was on, based of some of the recently declassified missions.
Either way, if you’re interested in the topic it’s a really fun movie.
James Bond was explicitly an amalgamation of different spies that Ian Fleming knew, however, given what he wrote about William Stephenson, if anything, mixing in characteristics of other people like Gus March-Phillips is what made James Bond flawed in comparison:
Christopher Lee too was an inspiration too if I’m not wrong.