A buy in was an amount of money that, when paid, granted a gambler entrance to a game.
In 2374, the buy in for a game of tongo at Quark's was five strips of latinum. Later, Quark's move was to "leverage the buy in and sell at five fifty". (DS9: "Change of Heart")