1 of 3

Python 3, 111 bytes

def f(n):l=len(str(n))-4;return f"{round(n,~l):,}"[:4].replace(*",.").rstrip('.')+"KMBT"[-~l//3]if n>9999else n

Try it online!

This could probably be golfed further than this.