When someone sells a home there are two sides, a listing side, (the agent who represents the seller) and a selling side, (the agent who represents the buyer).
The seller generally pays a commission to both sides. The seller will generally pay a commission of 2.5 – 3% to each side. Commissions are negotiable by law however when the seller signs a listing agreement that is where the commission for each side is specified. There are plenty of brokerages that will charge less based on the services offered for the listing side of the transaction.
Ask your realtor to look on the multiple listing service for the particular home you are interested in to find out how much commission they are paying the selling agent (known as the buyers agent). Generally it is 2.5 to 3%. You will not be able to find out how much the seller is paying the listing agent as that is not posted on the MLS. The commission information is only on the MLS and gets distilled out when the listing is sent out to the third party databases like redfin or sdlookup or any other places.