Apple M4 chip with 10-core CPU, 10-core GPU, 16-core Neural Engine
Apple M4 Pro chip with 12‑core CPU, 16‑core GPU and 16‑core Neural Engine
I think with software development you need CPU more than GPU, unless you train AI models.
Two extra CPU cores will not make any noticeable difference.