The half gallon does not give him much swimming room and will require a great deal of attention to keep it clean. As long as you are not trying to find a place for 50 at a time, each one having at least 2 or 3 gallons is usually the accepted minimum. By having a little more space in the tank, there is room for the needed heater, a little cover from an artificial plant and a small filter to help keep the water clean. Be aware when selecting a filter that bettas in general do not like high flow rates. That does not mean, as some seem to interpret it, that they don't like any circulation. They just need to be protected from strong water currents. I keep mine in much larger containers with other small tropicals so they see normal filter flows and have lots of room to swim around. They even play in the filter flows once they get used to it although at first they seem reluctant to get near the higher flow. My guess is that they have been reared in such small containers with no flow in them that they have not developed the muscle tone needed for more vigorous swimming.