The Stock Exchange of Thailand index gained 6.51 points or 0.47 per cent on Wednesday, to end the day at 1,379.12 points.