To who/whom am I speaking with? | WordReference …
Since the person with whom you are speaking is the object, the correct way to ask is "With whom am I speaking" or " Whom am I speaking with" Prepositons are preferably not used at the end of a sentence. " To whom am I speaking " is wrong as far as the preposition is concerned.