I am looking for an Arduino with a small footprint that has a decent amount of dynamic ram.
The mega works for me but the board is too large.
Looking at specs I am confused.
Flash/dynamic ram seems to be somewhat interchangeable terminology depending on where you look.
To get more RAM, you would need a Teensy 3 or 4. The original Teensy was the same AVR as the Arduino Leonardo, and doesn't have much more RAM than a Nano/Uno.
Other processors with more RAM:
Nano Every: 6k of RAM vs the Uno's 2k. That's "almost" as much as an Arduino Mega, in a much smaller and cheaper board.
Teensy++2 and Teensy LC have 8k of RAM. But neither one seems to be particularly popular.
Anything with an ARM chip: Arduino Zero, Arduino MKR boards, PJRC Teensy3, PJRC Teensy4, assorted SAMD21 and SAMD51 boards from Adafruit and Sparkfun, and the "Artemis" boards from Sparkfun These usually start with 32k of RAM, and go up to 256K on the SAMD51 boards, 384k on Artemis and 1M on the Teensy4.
ESP8266 and ESP32 chips have large RAMs, but some amount is used by the built-in WiFi firmware.