Amazon (AMZN -1.14%) has upped its rewards credit card perks, making it an offer on par with Target's (TGT 1.28%) REDcard, and one that's perhaps better than Costco's (COST -0.55%) revamped Anywhere card.

The new Amazon Prime Rewards Visa Signature Card offers Amazon Prime members 5% back on all Amazon.com purchases as well as 2% back at restaurants, gas stations, and drugstores, and 1% back on every other purchase. In order to get the full reward value from the Chase (NYSE: JPM) card, cardholders must join Prime for $99 a year. Non-Prime members who get the card still receive 3% back at Amazon.com, 2% back at restaurants, gas stations, and drugstores, and 1% back on every other purchase, according to a press release.

"We are adding even more value to Prime by offering rewards on Amazon and everywhere else you shop," said Max Bardon, vice president at Amazon. The new card also offers other benefits, including no foreign transaction fees, travel protection, and 24/7 concierge service.

The new Amazon card offers 5% back on Amazon.com purchases for Prime members. Image source: Visa.

How do Costco and Target compare?

Target's REDcard offers 5% back on all purchases at the company's stores or at Target.com. The card also offers an extra 30 days for returns as well as free shipping on most items from Target.com. What the retailer does not offer is discounts on purchases made outside its stores or website.

Costco's Visa Anywhere Card offers 2% cash back on all purchases at the company's warehouse clubs or its website. It also offers 4% back on gas purchases (with a $7,000 limit), 3% back on restaurant and travel purchases, as well as 1% back on all other purchases made with the card.

For avid Amazon shoppers who also buy gas, eat at restaurants, and travel occasionally, it's hard to see how this new offer is not a game-changer. The deal may not sway Target customers, because the in-store/online discount is the same (even though Amazon offers more perks beyond that) but compared to Costco's card, Amazon's offers a pretty major difference in discount.

The previous Amazon card offered 3% off on its website, which may not have been enough to sway Costco loyalists. In this case, the online retailer has topped the warehouse club's in-store discount by 3% while adding a lesser, but still nice package of non-store discounts.

How can Amazon do this?

Costco can offer in-store discounts because it makes about 75% of profits from membership fees. Amazon charges $99 a year to join Prime, but that revenue is offset by offering free shipping, video, and music services as part of the package. That means that while Prime members do reportedly spend more each year -- about $1,200 per year, compared to about $600 per year for non-Prime customers, according to Consumer Intelligence Research Partners (CIRP) -- they also come with increased costs for the company.

The big question around this deal is how Amazon can afford the increased money back given that over the last five years its profit margin has ranged from negative numbers to a high of 2.82% in the quarter which ended June 30, 2016. (Profit margin is not profit and things like effective tax strategy improve Amazon's bottom line).

It's likely that as is the case with Costco's credit card (and likely all rewards card deals), some of the added discount will be paid back to the online retailer from the credit card company. In addition, increased sales would lead to added efficiencies for Amazon. These are razor-thin numbers, but Amazon has always prized customer addition and sales over profits, at least in the short term.

This deal may not be a money maker for the company, but it should be a sales driver. It should also be tempting to Costco customers who are driven by value, as Amazon has clearly trumped the warehouse club's offer for in-store purchases.