So the human weaponry in my sci fi I've been coming up with has been all basically current gen stuff, not the super advanced tech that you think we'd be using in 500 years. But how do you write a convincing conflict when military weapons could probably decimate entire companies?
Instead of that being a plot hole or failure of imagination, I decided to turn that into a plot point. The city under siege isn't a Marine base or something. There's no reason for them to have a standing army and current generation armaments. But they do have amazing industrial production (think massive 3D printers/fabricators, manufacturing robots, etc). They wouldn't necessarily have the facility to produce electrolasers or pulse masers or particle beams or plasma cannons. But industrial lathes can easily be designed to make gun barrels. That includes weapons like Metal Storms, automatic grenade launchers, the GAU-8 Avenger cannon, etc. Ancient designs, sure. But a slingshot firing a 10mm ball bearing is still more dangerous than a non-existent ray gun. A chemical plant making caseless propellant, electric firing system (with mechanical backup), and metal bullets make ammunition very simple to make.
Likewise, the power suits. A 10-foot tall, 1000 lb humanoid exo-frame is small enough to use in urban environments and has a wide range of non-military applications - construction, demolition, rescue, police, firefighting, etc. Modular construction would allow it to be quickly adaptable to the purpose. And there'd be a lot more reason to have them, than, say, a 200 ton hovertank with a main cannon that could crater the moon.