How long do BSFL last?

If kept properly cool, a cup of BSFL will last a couple of weeks. If kept at room temperature, they will start to pupate before then — black soldier fly larvae that are preparing to turn into flies will turn dark, so it's best to feed those ones off first.