Don’t know if I’d call it a gem yet, looks cloudy from the picture. To test for yourself and for future finds a diamond tester is a minimal investment. Setting is also a clue.
Since this came from a beach, it has been abraded by quartz sand, likely either glass or even paste. The surface clouding due to minute scratches is the key.