Is it possible to have something comparable to free ChatGPT (not the paid version) locally? I think free chatgpt is version 3 or 3.5, right?

What is the hardware needed? A simple consumer gpu (RTX) would suffice?