I would default to considering anything attracting funds through charging as commercial. The fact they are choosing not to try make a profit is not significant in itself. I'd prefer such cases to ask, and I'll hand out a perpetual (but non-transferable) free licence if I consider their cause, and how they are running it, to be a good one.
It becomes more difficult when there are multiple contributors to the software, and therefore multiple copyright owners. You would have to obtain the permission of all of the copyright holders before you can do that.
There are ways around this. For example, people submitting contributions to a project can be asked to agree to hand over copyright of their contributions, though this might not fly in all jurisdictions. Alternatively, all contributors could be asked to agree to delegate licensing decisions to the project lead team.
... And then you realize that most of the time everybody gets value, in some way, out of their work. So even if there are clear whites and blacks the gray area is insurmountable.