I just bought an 2018 Audi A4 ($47k) and my wife just bought a Model 3 ($54k). I previously owned an S4 which (roughly $56k). I also test drove a few 4-series BMWs and few random Mercedes in the same price range.
TL;DR: I would take the Model 3 any day at that price. I have buyers remorse.
Drive feel:
The Model 3 is an absolute joy to drive and I would take it any day over either of my Audis and over any of the BMWs or Mercedes. Every gas car feels laggy now and they are kind of ruined for me. I drive my wife's car at every opportunity now even though I have a 3 week old Audi in my garage.
Autopilot makes gridlock traffic no longer a big deal. This is pretty huge and I hated driving my Audi long distance to Tahoe over July 4th weekend in traffic. I do NOT trust it with anything beyond gridlock traffic though. Not even for merges.
Interior:
The Model 3 seats are super comfy but the whole interior feels budget and I really hope you like minimalism because its extremely minimal and borderline cheap. BMW/Audi/Mercedes: I hope you like BUTTONS EVERYWHERE FOR EVERYTHING (I certainly don't). The interior feels much more premium than the Model 3 though.
Side note: Why does a tachometer still exist as a massive dial taking up most of your dash? I doubt 98% of people ever look at it.
The interface:
While significantly improved from my 2015 S4, the A4 UI is still an atrocity. Bluetooth is still awful and it auto plays whatever the hell happened to be running on my iPhone last. Lack of a touch screen (except BMW) is surprisingly frustrating now that I've used one.
The central display in the Model 3 is incredible and I love almost everything about it. Who needs bluetooth when you have Google Maps and high quality streaming audio over an incredible sounding sound system? I rarely even WANT to connect my phone.
Random:
The keyless unlock for the Model 3 is amazing as long as it actually works with your phone. My wife's Pixel XL works about 50% of the time and it makes it infuriating. PLEASE GIVE US A KEYFOB, TESLA
I can turn on the AC remotely on a hot day! The Model 3 is cold by the time we get in! There are so many delights with this car and that goes a long way.