I was loaned an extended length Dewalt 3/8 ratchet. I was kind of disappointed by its lack of power.
Sounds like you probably want an impacting cordless ratchet. That's an entirely different animal.
I have a mix of Milwaukee and Dewalt cordless ratchets and the Dewalts are significantly stronger although they don't snap your wrist quite as hard when they hit. I tend to favor the Milwaukee small head cordless for smaller stuff and the Dewalts for larger. If it doesn't need to be torqued to 50ftlbs or more I don't usually use the Dewalt. I like to be able to manually break stuff free and finish tightening with a cordless ratchet by hand and only use the trigger to spin fasteners off and on.
AFAIK the Dewalts still hold the title as the strongest cordless ratchets so far in ongoing testing @ Torque Test Channel which agrees with my observations so far.
DeWalt's batteries are too damn bulky for a ratchet. One of the selling points for my older Milwaukee M12's was that the entire thing - head, body, battery - is somewhat compact.
The 3/8" paid for it and its 1/4" brother when I was able to slide it through the frame rail in my truck to loosen (and later tighten) the clamps holding the brake and fuel lines. That saved me from having to raise the bed or drop the tank while replacing the brake line. No way would the porky DeWalt had slid in there...a pneumatic probably would have, but the hose would have been in the way.
I use DeWalt for my main cordless tools, but Milwaukee for anything smaller, such as the ratchets, screwdriver, and rotary tool. I find having the smaller batteries outweighs the negative of dealing with multiple systems.
TBH I don't find the difference in size between the Dewalt 12V and Milwaukeee 12v to be a factor at all. They are almost the same size. They are a lot smaller than their 20V cousins.

1.5ah Milwaukee M12 shown with a Dewalt 2ah 12V, a 3ah 20V, a 6ah 20V, and a 9ah 60V battery.
And though it seems a bit counterintuitive I find I'm very often able to snake the extended reach ratchet into the tightest places where the shorter ones won't go. Enough so I typically grab the longest ratchet first. It's kind of the opposite situation to a hand ratchet where being shorter helps you in tight places. With a cordless you don't need the room to ratchet back and forth you just need it to be long enough to reach it and whatever size the battery end is is not typically a factor at all.