^^^ It's been a few years since I wuz a roasting, grinding, pinky extended "snob" ....
Green beans keep until roasted ... roasted beans are optimal for around 3 weeks and then begin to "lose it".... freshly roasted is THE one thing I have not compromised on....
My BBQ joint (an older black dude does all their's) roasts every 3 weeks... so my goto coffee is never more than 3-6 weeks outta the roaster....
AHHHH...
I usually buy as much BBQ as I do his dark Sumatra ... 1.5 lbs every visit.
I do NOT eat all of the Q .... just for the record
FRESH is best ....
edited: I used to keep my freshly roasted beans in a vacuum (suck the air out) cannister... now just a Tupperwear thing... in a dark cabinet at room temp... never in the freezer.