Question: who am i talking to?
Answer: In formal English, “to whom am I speaking” would be correct. “Whom” is the objective form of “who,” and “whom” is the object of the preposition “to” in the sentence “to whom am I speaking?”. However, here in the USA at least, we usually refrain from using the most formal kind of English in ordinary conversation.