Cost to Buy a Vending Machine: A Complete Guide
Share
The world of vending has changed dramatically. Gone are the days of clunky machines that only accepted crumpled dollar bills and frequently jammed. Today’s best machines offer cashless payments, touchscreens, and even AI-powered coolers that let customers simply grab what they want and go. This leap in technology is the main reason the cost to buy a vending machine varies so widely. You can still find a basic, traditional machine for a lower price, but investing in modern features is an investment in a better customer experience and a more efficient business for you. Let’s break down how these features impact the price and why they are often worth every penny.
Key Takeaways
- Choose Your Entry Point Wisely: Vending machine prices range from under $200 for a simple bulk machine to over $10,000 for a high-tech model. The right choice depends on your budget, but always factor in ongoing costs like inventory and location fees to see the full financial picture.
- Modern Features Directly Increase Sales: Technology like cashless payment systems and remote monitoring aren't just fancy add-ons; they are investments. They create a better customer experience and streamline your operations, leading to higher profits and saving you valuable time.
- A Great Location is Non-Negotiable: You can have the best machine stocked with the most popular products, but it won't make money without consistent foot traffic. Researching and securing a profitable location is the single most important factor for your success.
How Much Does a Vending Machine Cost?
So, what’s the price tag on a vending machine? The honest answer is: it depends. The cost can swing from a few hundred dollars for a simple, used machine to thousands for a brand-new, high-tech model. Think of it like buying a car—the final price comes down to whether you’re looking for a basic, reliable ride or a luxury vehicle packed with the latest features.
Your initial investment is shaped by the machine's type, size, condition (new or used), and the technology it uses. A simple gumball machine will naturally cost much less than a smart cooler that accepts mobile payments and tracks inventory in real time. Before you can set a budget, you need to decide what kind of vending experience you want to offer and what your business goals are. Understanding the different categories is the first step in figuring out what you’ll need to spend to get your vending machine business off the ground. Let’s break down the typical costs for the most common types of machines on the market.
Bulk Vending Machines
These are the classic, no-frills machines you see dispensing gumballs, small toys, or handfuls of candy. They’re purely mechanical, requiring no electricity, which makes them incredibly simple to operate and place. Because of their simplicity, bulk vending machines are the most affordable entry point into the industry. A new machine typically costs between $50 and $200. You can often find used ones for even less, making them a low-risk way to test out a location or start your first vending route. They are perfect for laundromats, restaurants, and small storefronts where customers might want a small, inexpensive treat.
Snack Vending Machines
When you picture a classic vending machine, you’re probably thinking of a snack machine. These are the workhorses of the industry, offering everything from chips and cookies to pretzels and candy bars. They are a staple in office break rooms, schools, and waiting areas. A new snack vending machine generally costs between $3,000 and $5,000. The price varies based on capacity, the number of selections it offers, and whether it includes features like a refrigerated section or guaranteed product delivery sensors. This is a significant step up in investment, but it also comes with a much higher potential for profit.
Drink Vending Machines
Specializing in beverages, these machines dispense everything from canned sodas and juices to bottled water and energy drinks. They are essential for high-traffic locations like gyms, community centers, and large offices where people need to grab a cold drink on the go. Drink vending machines are complex pieces of equipment with built-in refrigeration systems, which places them in a higher price bracket. You can expect to pay between $4,000 and $6,000 for a new model. The final cost often depends on its capacity and whether it vends cans, bottles, or both.
Combo Vending Machines
Why choose between snacks and drinks when you can have both? Combo vending machines offer the best of both worlds in a single unit, making them a versatile and space-saving option. These machines are incredibly popular for locations that want to provide a variety of options but don’t have the space or foot traffic to justify two separate machines. Because they combine two functions, they offer great value. A new combo machine typically runs from $3,000 to $5,500, putting it right in the same range as a dedicated snack or drink machine while offering more variety to your customers.
Smart AI-Powered Vending Machines
Welcome to the future of vending. Smart machines, like the ones we offer at Genius Vend, are in a class of their own. These models are equipped with advanced technologies like AI-powered coolers, touch screens, and multiple cashless payment options. Instead of a clunky coil system, customers can simply tap their card, open the door, grab what they want, and go. The machine uses sensors to know what was taken and charges them automatically. This superior "Tap, Grab & Go" experience leads to more sales, and for you, the operator, it means remote inventory management and fewer service calls. The higher initial investment reflects this advanced capability, but it pays off with higher profits and happier customers.
What Determines a Vending Machine's Price?
When you start shopping for a vending machine, you'll quickly notice that prices are all over the map. You might see a simple gumball machine listed for a couple of hundred dollars, while a high-tech smart cooler can run into the thousands. This huge range exists because a machine's price tag is a reflection of several key factors, not just its ability to dispense a product. Think of it like buying a car—a basic, used model will get you from A to B, but a new one with all the latest features comes at a premium.
The main drivers behind a vending machine's cost are its age and condition, the technology it uses, its brand and warranty, and its overall size and capacity. Understanding how each of these elements affects the final price will help you make a smarter investment. It’s not just about finding the cheapest option, but about finding the right machine that fits your budget, your location's needs, and your long-term business goals. Let's break down exactly what you're paying for.

New vs. Used
One of the first decisions you'll make is whether to buy a new or used machine, and this choice has the biggest impact on your initial cost. A used machine can be a great entry point, with prices for basic models often falling between $200 and $600. This lower upfront investment can be appealing when you're just starting out. However, you're also taking on more risk. A used machine may require more maintenance, lack modern payment options, and won't come with a warranty.
On the other hand, a new machine typically costs between $3,000 and $10,000. While that's a significant jump, you're paying for reliability, the latest features, and peace of mind. New machines come with a manufacturer's warranty, ensuring you're covered if something goes wrong. This is a crucial part of how to start a vending machine business on solid footing.
Tech and Payment Options
The technology inside a vending machine is a major price factor. A simple machine that only accepts cash will be on the lower end of the price spectrum. But today's customers expect more convenient ways to pay. Machines equipped with credit card readers, mobile payment systems like Apple Pay, and touchscreens offer a much better user experience, which can lead to more sales.
More advanced machines, like Genius Vend's smart coolers, use AI and remote monitoring to track inventory in real-time. This role of technology in modern vending allows operators to manage their routes more efficiently and keep popular items in stock. While these high-tech features increase the initial cost, they can also improve your profitability and simplify operations.
Brand Reputation and Warranty
Just like with any other major purchase, brand reputation matters. Well-known manufacturers with a long history of building durable, reliable machines often charge more. You're paying for quality engineering and the assurance that the machine will stand up to heavy use. A trusted brand is also more likely to offer strong customer support if you run into any issues.
A warranty is another critical component tied to price, especially for new machines. It’s your safety net against defects and unexpected breakdowns. A comprehensive warranty that covers parts and labor can save you hundreds or even thousands of dollars in repair costs down the line. When comparing prices, always check what kind of warranty is included—a slightly higher price for a better warranty is often a worthwhile investment.
Size and Capacity
It makes sense that the bigger the machine, the more it will cost. A machine's size determines its capacity—how many products it can hold. A small countertop machine will be far less expensive than a large, standalone combo machine that vends both snacks and drinks. The type of product also plays a role. Standard snack machines are generally the most affordable.
Drink machines, especially those requiring refrigeration, tend to be more expensive due to the complex cooling components. Combo machines offer versatility but usually fall in the mid-to-high price range. When choosing, think about your location. A high-traffic area will need a machine with a larger capacity to avoid constant restocking, justifying the higher initial cost.
Where to Buy Vending Machines
Finding the right place to buy your vending machine is a huge step. The seller you choose impacts the price, quality, and support you'll receive down the line. You have a few solid options, from going straight to the source to finding a local expert. Let's walk through the most common places to find your next machine.
Direct from Manufacturers like Genius Vend
Going straight to the source is a great move if you want the latest technology. When you buy directly from a manufacturer like Genius Vend, you get access to brand-new models with the most advanced features, like AI recognition and remote management. This route ensures you receive a full warranty and direct customer support from the experts who built the machine. While the initial price might be higher than a used model, you're investing in reliability and cutting-edge tech that can lead to higher profits and fewer headaches.
Authorized Dealers and Distributors
Authorized dealers are a manufacturer's official partners, making them a reliable source for new or certified refurbished machines. Because they have a direct relationship with the brand, they provide legitimate products that almost always include a warranty and customer support. This is a solid option if you want the security of a new machine but prefer working with a local or regional seller. You can be confident you're getting a quality product and have someone to call if you run into any issues after the sale.
Online Marketplaces
Websites like eBay and Craigslist can be a great place to find a deal, especially on used equipment. You can find a massive variety of machines at competitive prices, which is perfect if you're on a tight budget. However, you need to be careful. Always vet sellers, ask for detailed photos and maintenance records, and understand that warranties are rare. Following some basic tips for shopping online can help you avoid common pitfalls and protect your investment when buying from an individual seller.
Local Vending Suppliers
There's a lot of value in working with experts in your own backyard. Local vending suppliers offer a personal touch and can give you priceless advice on which machines and products sell best in your specific area. You also get the huge advantage of seeing the machines in person before you buy. Building a relationship with a local supplier can be incredibly helpful for future repairs, parts, and restocking advice, making them a valuable partner as you grow your business.
How to Finance Your Vending Machine
So, you’ve found the perfect machine, but the price tag feels a little daunting. Don't let that stop you! Paying the full cost upfront is just one path, and it’s not the one most business owners take. Financing is a smart way to get your vending business off the ground without draining your savings. It allows your new machine to start earning money for you while you pay it off over time. Think of it as putting your new asset to work right away.
There are several fantastic options out there designed specifically for entrepreneurs like you. We'll walk through the most common paths: equipment financing programs, direct financing from manufacturers, and lease-to-own arrangements. Each has its own perks, so you can find the one that fits your budget and business goals perfectly.
Equipment Financing Programs
This is one of the most straightforward ways to fund your purchase. Think of it as a loan made specifically for your vending machine. Instead of a huge upfront payment, you make smaller, manageable monthly payments over a set period. The best part? Equipment financing often covers 100% of the machine's cost, so you can hold onto your cash for other startup expenses, like initial inventory. This approach lets you acquire the exact machine you want and get it placed and earning revenue immediately. It’s a popular choice for a reason—it makes high-quality equipment accessible from day one.
Manufacturer Financing
Why juggle a separate lender when you can get everything in one place? Many manufacturers, including the most reputable brands, offer financing options directly to their customers. This can seriously simplify the buying process. You’re already building a relationship with the manufacturer, so handling the financing with them just makes sense. They often provide flexible terms, quick approvals, and sometimes even no-money-down deals designed to help you succeed with their equipment. This is a great route to explore because the company selling the machine is invested in your success and can tailor a financing plan that works for your new venture.
Lease-to-Own Options
If you want to minimize your initial commitment, a lease-to-own arrangement could be the perfect fit. This works a bit like renting an apartment—you make regular lease payments for a specific term. At the end of the term, you have the option to buy the machine outright, often for a predetermined price. Vending machine leasing is an excellent way to get a machine in a prime location and start generating cash flow with the lowest possible upfront cost. It gives you the flexibility to test a location or the business model itself before fully committing to the purchase.
Beyond the Purchase: The Ongoing Costs of Ownership
The sticker price of a vending machine is just the first line item on your budget. To run a successful business, you need to account for the recurring expenses that come with owning and operating a machine. These ongoing costs are where you’ll find your true cost of ownership, and planning for them from the start is the key to long-term profitability. Think of these as the essential investments that keep your machine running, stocked, and making money for you day after day. From the products you sell to the electricity that keeps the drinks cold, each expense plays a role in your bottom line. Understanding these costs helps you set the right prices, choose the right locations, and build a sustainable business model that grows with you.
Maintenance and Repairs
Just like a car, your vending machine needs regular upkeep to perform its best. This includes routine cleaning to keep it looking appealing and preventative checks to catch small issues before they become big problems. You’ll also need to budget for unexpected repairs. Components like cooling systems, payment readers, or dispensing motors can wear out over time. Setting aside a small fund for these fixes ensures that a single breakdown won’t derail your profits. Consistent machine maintenance is a non-negotiable part of protecting your investment.
Inventory and Restocking
Your products are the heart of your business, and keeping your machine stocked is your largest ongoing expense. The cost of inventory will depend entirely on what you sell—gourmet snacks will cost more than standard chips and candy. A busy location means more sales, but it also means you’ll be buying new products more frequently. Smart inventory management is crucial. You want to have enough stock to meet demand without tying up too much cash in products that could expire. This constant flow of purchasing and selling is the core of your business operations.
Location Commissions
Securing a great spot for your machine often comes with a price. Most property owners will require a commission, which is a percentage of your gross sales, in exchange for the space and electricity your machine uses. These location commissions typically range from 5% to 25%, depending on the location’s foot traffic. This fee is a standard cost of doing business, so be sure to negotiate the rate and factor it into your pricing strategy to ensure each sale remains profitable. A signed agreement clarifying this percentage is a must.
Insurance and Licensing
Protecting your business is an expense you can’t afford to skip. General liability insurance is essential to cover you in case of accidents, theft, or damage to your machine or the location’s property. Beyond that, many cities and states require specific business licenses or permits to operate vending machines. Before you place your first machine, it’s a good idea to check with your local government to understand the specific requirements. Thinking about insurance needs early on will save you from potential headaches and fines down the road.
Utility Bills
Every vending machine needs power to run, which means every machine has a utility cost. While many location agreements include electricity in the commission fee, this isn’t always the case. It’s critical to clarify who is responsible for the utility bills before you sign a contract. Refrigerated machines and smart freezers naturally consume more energy than a simple snack dispenser. Choosing a modern, energy-efficient model can help minimize these operating costs and is a smart consideration when comparing different machines.
Are Premium Vending Features Worth the Price?
When you see the price tag on a high-tech vending machine, it’s natural to wonder if the extra cost is really worth it. After all, a basic machine still dispenses snacks and drinks. But thinking about premium features isn't about adding flashy bells and whistles—it's about investing in tools that can directly increase your profits and simplify your life as an operator. The right technology transforms a simple vending machine into a smarter, more efficient business asset.
Modern customers expect convenience. They’re used to tapping their phone to pay for coffee and getting real-time updates on their deliveries. A vending machine that only accepts wrinkled dollar bills and requires you to guess when it needs a refill feels outdated and can lead to missed sales. Investing in premium features is about meeting your customers where they are and running your business more effectively. Let’s break down some of the most common advanced features to see how they provide a real return on your investment.
Cashless Payment Systems
Think about the last time you needed cash. It’s becoming less and less common for people to carry it. Equipping your machine with a cashless payment system is one of the most impactful upgrades you can make. It allows customers to pay with credit cards, debit cards, and mobile wallets like Apple Pay or Google Pay. This simple convenience opens you up to a much larger pool of potential buyers. More payment options almost always lead to more sales. This feature caters to the growing trend of cashless transactions and ensures you never lose a sale just because a customer didn't have a dollar bill on hand.
Remote Monitoring Technology
How much time do you spend driving to your machines just to check inventory levels? Remote monitoring technology completely changes the game. It gives you the power to see real-time sales data and inventory levels from your phone or computer. This means you can stop wasting time and gas on unnecessary site visits. You’ll know exactly which products are sold out and which are sitting on the shelf, allowing you to optimize your restocking trips and ensure popular items are always available. This data-driven approach helps you make smarter decisions and reduce operational costs significantly over time.
Energy-Efficient Models
An often-overlooked operating cost is electricity. Your vending machine runs 24/7, and those utility bills add up. Investing in an energy-efficient model might cost a bit more upfront, but it can lead to substantial long-term savings. These machines are designed with modern compressors, better insulation, and LED lighting to consume less power while keeping products perfectly chilled. Over the life of the machine, the savings on your electricity bills can easily offset the initial higher price, making it a financially savvy and environmentally friendly choice.
User-Friendly Touchscreens
A clunky, confusing interface can be a major turn-off for customers. Modern, user-friendly touchscreens create a smooth and engaging purchasing experience that can lead to higher sales and better customer satisfaction. Instead of punching in a cryptic code, customers can browse products on a bright, clear display. These digital screens also open up opportunities for dynamic advertising. You can run promotions, display nutritional information, or even feature eye-catching videos. This level of interactivity makes your machine stand out and provides a premium customer experience that encourages repeat business.
Costly Mistakes to Avoid When Buying a Vending Machine
Buying your first vending machine is a huge step, but it's easy to get tripped up by a few common mistakes. A great deal can quickly turn sour if you don't know what to watch out for. Think of this as your friendly guide to sidestepping the most expensive pitfalls on your path to vending success. From overlooking critical details on a used machine to picking a location that’s a total dud, a little foresight goes a long way.
Making a smart investment isn't just about the sticker price; it's about understanding the full picture. You need to consider where the machine will live, how much it will cost to keep it running, and whether the seller's promises hold up. By avoiding these key errors, you'll protect your investment and set your business up for a much smoother, more profitable start. Let's walk through exactly what you need to keep on your radar.
Skipping Inspections on Used Machines
A used machine might seem like a bargain, but that low price can be deceiving if you don't do your homework. Before you hand over any cash, you need to inspect the machine thoroughly. Used machines can have hidden issues, and skipping this step can lead to a string of expensive repairs and lost sales right out of the gate.
Check everything from the inside out. Does the cooling unit get cold? Do the coin mechanism and bill validator accept and dispense money correctly? Test the card reader if it has one. Look for rust, dents, or any signs of neglect. If you're not comfortable doing this yourself, consider hiring a technician. A small fee for an inspection is much better than a huge, unexpected repair bill later on.
Picking the Wrong Location
You could have the best machine stocked with the most popular products, but if it's in the wrong spot, it won't make money. Your machine's location is the single most important factor in its success. A poor location with low foot traffic or the wrong demographic is a recipe for failure. Don't just accept the first spot that becomes available; you need to be strategic.
Before you commit, spend time observing potential locations. How many people walk by each day? Who are they—students, office workers, hospital visitors? Make sure your product selection matches the audience. Researching and securing a profitable vending machine location is a critical step that directly impacts your bottom line, so take the time to get it right.
Ignoring Future Maintenance Needs
The initial purchase price is just one part of your total investment. Every vending machine requires ongoing maintenance to stay in good working order, and these costs can add up. You'll need to budget for regular cleaning, restocking trips, and potential repairs for things like motors or cooling systems. Ignoring these future needs can put a serious strain on your finances.
When you're creating your budget, be sure to set aside funds for maintenance. For new machines, check the warranty details to see what's covered. For used machines, it's even more important to have a cash reserve for unexpected breakdowns. Factoring in these ongoing costs from the start will help you maintain profitability and keep your machine running smoothly for years.
Not Verifying a Seller's Sales Claims
When buying a machine that's already on location, the seller will often quote you impressive monthly sales figures. While they might be telling the truth, you should always verify their claims. Taking someone at their word without seeing proof is a risky move that could leave you with an underperforming machine.
Ask the seller to provide sales reports from the machine's software or payment processor. If possible, ask to see their inventory purchasing records. A legitimate seller with a profitable machine should have no problem backing up their numbers. If they're hesitant or make excuses, that's a major red flag. A little due diligence can save you from a bad investment and ensure you're getting the value you're paying for.
Comparing Vending Brands: Price vs. Value
When you’re shopping for a vending machine, it’s easy to get fixated on the sticker price. But the smartest operators know that the initial cost is only one part of the equation. The real goal is to find the best value—a machine that will maximize your profits and minimize your headaches over the long run. This means looking beyond the price tag to consider the technology, reliability, and support that come with your purchase. A cheaper machine might save you money today, but a smarter machine can make you more money for years to come.
Genius Vend Smart Machines
Genius Vend’s lineup of AI-powered vending machines is built around maximizing your return on investment. Models like the NANO™ start around $3,499, while a smart freezer like the FROST™ is priced closer to $4,999. While this is a significant investment, the price includes technology designed to make you more profitable. Features like automated inventory tracking mean you’ll never waste a trip restocking items that are already full. The 99% dispensing accuracy and simple "Tap, Grab & Go" experience create happy, repeat customers. These aren't just features; they are tools that directly contribute to higher sales and lower operating costs, giving you a clear path to profitability.
Traditional Manufacturer Options
If you look at traditional vending machines, you'll find prices ranging anywhere from $3,000 to $8,000. These machines can be a cost-effective entry point if your main priority is basic functionality. They dispense snacks and drinks reliably and have been a business staple for decades. However, they lack the integrated technology that defines a smart machine. You won't get remote inventory management or the frictionless checkout that modern consumers love. While the upfront cost might be comparable to a smart machine, you'll spend more time on manual tasks and potentially miss out on sales from customers who prefer a modern, cashless experience.
What to Look for in a Warranty
No matter which brand you choose, a solid warranty is non-negotiable. Think of it as insurance for your investment. A good warranty protects you from unexpected repair costs and shows that the manufacturer stands behind its product. Before you buy, ask specific questions about what the warranty covers. Does it include both parts and labor? Are critical components like the cooling system or payment processor covered under an extended plan? A comprehensive warranty provides peace of mind and can save you thousands in the long run, making it a crucial factor in the overall value of your vending machine.
How to Budget for Your First Vending Machine
Creating a budget is one of the most important first steps you'll take on your vending journey. It helps you set realistic expectations and map out a clear path to profitability. Think of it less as a restriction and more as a roadmap for your business. By understanding your initial investment, ongoing costs, and potential return, you can make smarter decisions from day one. Let's walk through the three main parts of budgeting for your first machine.
Breaking Down Your Startup Investment
Your biggest initial expense will be the vending machine itself. The good news is that there are options for almost every budget. You can often start a basic vending business with an initial investment of around $2,000 if you opt for a used or refurbished machine, which typically cost between $1,200 and $3,000. New machines offer more reliability and modern features, with prices ranging from $3,000 to $10,000, depending on their size, technology, and capabilities. Beyond the machine, remember to factor in the cost of your initial inventory, any business licenses or permits required in your area, and transportation to get the machine to its location.
Planning Your Monthly Operating Expenses
Once your machine is up and running, you’ll have recurring costs to keep it profitable. These are the ongoing expenses that keep your business humming along. The most significant will be restocking your inventory—the snacks, drinks, or products you sell. But there are other important costs to consider, including potential commissions you pay to the location owner, fuel for driving your route, and a small fund for maintenance and repairs. You should also account for business insurance and any software fees for remote monitoring, which can save you significant time and money in the long run by reducing unnecessary trips.
Calculating Your Payback Period
Your payback period is the time it takes for your machine to generate enough profit to cover its initial purchase price. On average, it takes about 12 to 16 months to pay off a new vending machine. However, this timeline can change based on a few key factors. A machine in a high-traffic location like an office building or a busy community center will likely pay for itself faster than one in a quieter spot. The products you sell and your pricing strategy also play a huge role. By choosing the right location and stocking it with popular, high-margin items, you can shorten your payback period and start earning pure profit sooner.
Related Articles
- How Much to Buy a Vending Machine: The Real Cost
- The True Cost to Buy a Vending Machine in 2025
- How Much to Buy a Vending Machine? A Cost Breakdown
- How Much Can I Make With a Vending Machine?
Frequently Asked Questions
What's the absolute minimum I need to get started in the vending business? If you're looking for the most budget-friendly entry point, you can often find a simple, used bulk or snack machine for a few hundred dollars. Your total startup investment, including the machine and your first round of products, could be around $2,000. Just remember that a lower upfront cost on a used machine often means you're taking on more risk with potential repairs and you'll miss out on modern features like cashless payments.
Is it better to buy a new or a used vending machine? This really comes down to your budget and business strategy. A used machine can get you started for less money, but it comes without a warranty and may need more maintenance. A new machine is a larger initial investment, but you're paying for reliability, the latest technology that customers expect, and the peace of mind that comes with a manufacturer's warranty. A new machine is an asset built for long-term success, while a used one is often a way to test the waters.
Besides the machine, what other costs should I expect right away? The machine is your biggest purchase, but it's not your only one. You'll need to budget for your initial inventory to fully stock the machine, which can cost a few hundred dollars depending on the products you choose. You should also set aside funds for any local business licenses or permits required in your area. Thinking about these day-one expenses will give you a much more realistic picture of your total startup cost.
Do I have to pay to place my vending machine somewhere? In most cases, yes. Securing a high-traffic location usually involves paying the property owner a commission, which is a percentage of the machine's monthly sales. This fee is a standard business expense that covers the space and electricity your machine uses. The rate is negotiable but typically falls between 5% and 25%, so it's important to factor this into your pricing to make sure every sale is profitable.
Why should I consider a more expensive smart machine over a basic model? While a basic machine gets the job done, a smart machine is designed to make you more money with less effort. Features like cashless payment options mean you never miss a sale from customers who don't carry cash. Remote inventory monitoring saves you countless hours and fuel by showing you exactly what needs restocking from your phone. This technology leads to a better customer experience and more efficient operations, which often translates to higher profits that can quickly cover the higher initial cost.