Having a tough time deciding who is in a better position.

The position is extremely dangerous for white. Several white pieces are misplaced, the g3 bishop in particular, while black has a very strong knight on e4, a nice bishop on f5, and a big advantage on the queenside. In fact, black is already threatening a decisive breakthrough with 1...b4.

In a practical game, I'd play 1.Nd2 with white to get rid of the e4 knight asap. Black still has an advantage after 1...Nxg3 2.fxg3 Bxc2 (winning a pawn), but white will be able to get some piece play for the sacrificed pawn after 3.Rc1 Bg6 4.Bd3 Bxd3 5.Qxd3 Nd7 6.0-0, and in the long term the white king will always be a bit safer than the black counterpart. Alternatively, 1...Nxc3 2.bxc3 Bxc2 also wins a pawn, but white will have good counterplay on the kingside after e.g. 3.Be2 Nd7 4.0-0 Be7 5.f4

The computer recommends 1.Kd1 to protect the c2 pawn, but this king position requires white to play extremely accurately not to be seriously worse. Black can play 1...Nxg3, but white is probably only slightly worse after something like 2.fxg3 Nd7 3.Bd3 Bxd3 4.cxd3! (4.Qxd3 Rb8 followed by c5 is very dangerous for white). Alternatively, 1...Nxc3 2.Qxc3 (2.bxc3? Nd7 is disastrous for white. Black will soon play a ...c5 break and create an extremely dangerous attack) 2...Qxc3 (2...Qb6!? 3.Bd3 b4 4.Qd2 Bxd3 5.Qxd4 c5 is a more adventurous option, but white is probably okay if they manage to get the king to safety in time) 3.bxc3 Nd7 gives black a nice endgame advantage due to white's permanent weakness on a3.

/r/chess Thread Link - i.redd.it