I'm not sure how long the OSB will last. I had a Children's Tree house from the OSB and it was painted. It lasted pretty long, but it did not have constant soil contact such as a framing for a raised bed would endure.Building the raised beds will be my first project at the new place so this interests me. 5 years or less would you say?
I understand that each individual has different circumstances, and budgets.
Here are some of my IDEAS and THOUGHTS for a raised bed. Consider the cost of materials, and the amount of work involved. Also consider how it will look/function in a few years.
Basic plywood, or OSB, Easy and fast. Cut to desired height, also need some stakes to hold in position on ground. Take into consideration price of paint.
Pressure treated outdoor wood. Will last pretty long. Fast and no need to paint. May get somewhat more labor involved depending on height desired. Will also need to be staked into ground.

Cinder blocks layed out for the perimeter. They are not very expensive compared to other landscape bricks/blocks. Some base preparation needed to get a good looking finished job. Cinder blocks are 8 inches in height. The holes in cinder block can be used as individual plant holders creating a flowery perimeter.

Retaining wall blocks, usually in 4 to 6 inch heights are very good, but the price is also somewhat high when you need many of them.

One option if you have the ability and time, and need quite a few beds ,,,, is to make your own cement walls. This is labor intensive, but not very expensive. Construct an outer frame and an inner frame from plywood. The cement width of 4 inches would do for most needs. Maybe less for small beds. The height, is what you desire to make your frame. In 2 days remove frame, and set up for next bed. The one frame set will make countless beds provided you do not damage it during removal. If you purchase bulk sand and stone, and then bags of Portland cement, the material will not set you back that much. If you purchase bags of concrete cement mix, (cement,sand,stone, all in one bag) then that route will cost slightly more. Pix below gives IDEA what would be involved.

What this comes down to,,,,,, is. Calculate your material costs, and labor involved. Most of all, consider how you will like your finished product.
