A WordPress website costs an average of CHF 25,000 to CHF 45,000 over 5 years, while a comparable Astro.js website costs CHF 10,000 to CHF 22,000 — with better performance, fewer security risks, and lower ongoing costs. The difference isn’t in the initial build price, but in the hidden follow-up costs: hosting, plugins, updates, security, and performance optimization. This article calculates everything — line by line, with real Swiss market prices.
Why a 5-Year Comparison?
Most businesses only compare build costs. “WordPress costs CHF 8,000, Astro.js costs CHF 8,990 — let’s go with WordPress.” That’s a mistake.
A website isn’t a one-time purchase. It’s a living system that needs to be maintained, updated, and protected over years. Build costs typically account for only 30-40% of total costs over 5 years. The rest is consumed by hosting, plugins, maintenance, and security.
Scenario: Typical SME Website
For this comparison, we assume a typical Swiss SME website:
- 10 pages (Home, About, 4 service pages, Blog, Contact, Imprint, Privacy)
- Bilingual (German/English)
- Blog with monthly posts
- Contact form with email notification
- SEO-optimized with structured data
- Responsive design for all devices
- nDSG-compliant (privacy policy, cookie consent)
Item 1: Build Costs (one-time)
WordPress
| Item | Cost |
|---|---|
| Theme purchase (Premium) | CHF 80-200 |
| Theme customization | CHF 3,000-5,000 |
| Plugin configuration | CHF 500-1,500 |
| Content migration/creation | CHF 1,000-2,000 |
| SEO setup | CHF 500-1,000 |
| Multilingual (WPML/Polylang) | CHF 500-1,000 |
| Testing and launch | CHF 500-1,000 |
| Total build | CHF 6,000-11,700 |
Typical price at a Swiss agency: CHF 8,000-12,000
Astro.js
| Item | Cost |
|---|---|
| Design and development | CHF 5,000-8,000 |
| CMS integration (headless) | CHF 1,000-2,000 |
| Content creation | CHF 1,000-2,000 |
| SEO + structured data | CHF 500-1,000 |
| i18n (multilingual) | CHF 500-1,000 |
| Testing and launch | CHF 500-1,000 |
| Total build | CHF 8,500-15,000 |
Typical price at a Swiss agency: CHF 4,990-15,000
Score after build: WordPress is CHF 1,900-3,000 cheaper. But that’s just the beginning.
Item 2: Hosting (per year)
WordPress
WordPress needs a server with PHP, MySQL, and adequate resources. Options in Switzerland:
| Hosting type | Cost/year |
|---|---|
| Shared hosting (Hostpoint, cyon) | CHF 120-300 |
| Managed WordPress (Raidboxes, Kinsta) | CHF 360-600 |
| VPS/Cloud (for faster load times) | CHF 240-600 |
Realistic for an SME: CHF 240-480/year (managed hosting recommended for automatic updates and backups)
Astro.js
Astro.js websites are delivered as static HTML files. This enables:
| Hosting type | Cost/year |
|---|---|
| Vercel (Free tier) | CHF 0 |
| Vercel (Pro, custom domain) | CHF 240 |
| Netlify (Free/Pro) | CHF 0-228 |
| Cloudflare Pages | CHF 0 |
Realistic for an SME: CHF 0-240/year (Vercel Free is sufficient for most SME websites)
Difference per year: CHF 240-480 in favor of Astro.js
Item 3: Plugins and Licenses (per year)
WordPress
WordPress plugins are the biggest hidden cost driver. A typical SME website needs:
| Plugin | Cost/year |
|---|---|
| SEO (Yoast/RankMath Premium) | CHF 100-200 |
| Security (Wordfence/Sucuri) | CHF 100-300 |
| Backup (UpdraftPlus Premium) | CHF 70-100 |
| Caching (WP Rocket) | CHF 50-60 |
| Forms (Gravity Forms/WPForms) | CHF 60-250 |
| Multilingual (WPML) | CHF 80-200 |
| Page builder (Elementor Pro) | CHF 60-100 |
| Cookie consent (Complianz) | CHF 50-100 |
| Image optimization (ShortPixel) | CHF 50-100 |
| Total plugins/year | CHF 620-1,410 |
Realistic: CHF 800-1,200/year — and that’s just for plugin licenses. Not for configuration or updates.
Astro.js
Astro.js websites don’t need plugins. Functionality is implemented directly in code:
| Function | Cost/year |
|---|---|
| Headless CMS (Decap, Tina) | CHF 0 (open source) |
| Headless CMS (Sanity, Contentful) | CHF 0-360 |
| Forms (Resend, Formspree) | CHF 0-120 |
| Analytics (Plausible) | CHF 100-200 |
| Total/year | CHF 0-680 |
Realistic: CHF 100-300/year
Difference per year: CHF 500-1,100 in favor of Astro.js
Item 4: Maintenance and Updates (per year)
WordPress
WordPress requires regular maintenance — and it’s not optional:
| Maintenance task | Cost/year (agency) |
|---|---|
| Core updates (monthly) | CHF 600-1,200 |
| Plugin updates (monthly) | CHF 600-1,200 |
| Theme updates | CHF 300-600 |
| Database optimization | CHF 200-400 |
| Compatibility testing after updates | CHF 400-800 |
| Content adjustments (4-6 per year) | CHF 400-800 |
| Total maintenance/year | CHF 2,500-5,000 |
Realistic with agency management: CHF 1,800-3,600/year (CHF 150-300/month)
DIY alternative: Lower costs, but you invest your own time and risk compatibility issues.
Astro.js
Static websites need significantly less maintenance:
| Maintenance task | Cost/year (agency) |
|---|---|
| Framework updates (2-4x/year) | CHF 200-400 |
| Content adjustments (4-6 per year) | CHF 400-800 |
| Performance monitoring | CHF 200-400 |
| Total maintenance/year | CHF 800-1,600 |
Realistic with agency management: CHF 600-1,200/year
Difference per year: CHF 1,200-2,400 in favor of Astro.js
Item 5: Security (per year)
WordPress
WordPress is the most attacked CMS in the world. 43% of all websites run on WordPress — making it the prime target for hackers.
| Security measure | Cost/year |
|---|---|
| Firewall/WAF | CHF 100-300 |
| Malware scanning | CHF 100-200 |
| SSL certificate | CHF 0-100 |
| Security monitoring | CHF 200-500 |
| Emergency cleanup (statistically 1x/5 years) | CHF 200-600/year (amortized) |
| Total security/year | CHF 600-1,700 |
Realistic: CHF 400-800/year (with security plugin and managed hosting)
Astro.js
Static websites have no database, no PHP, no login page — the attack surface is minimal:
| Security measure | Cost/year |
|---|---|
| SSL certificate | CHF 0 (included with Vercel/Netlify) |
| CDN with DDoS protection | CHF 0 (included with Vercel/Netlify) |
| Total security/year | CHF 0 |
Difference per year: CHF 400-800 in favor of Astro.js
The 5-Year Total
WordPress (total cost over 5 years)
| Item | One-time | Per year | 5 years |
|---|---|---|---|
| Build | CHF 10,000 | — | CHF 10,000 |
| Hosting | — | CHF 360 | CHF 1,800 |
| Plugins/licenses | — | CHF 1,000 | CHF 5,000 |
| Maintenance | — | CHF 2,400 | CHF 12,000 |
| Security | — | CHF 600 | CHF 3,000 |
| Total | CHF 31,800 |
Astro.js (total cost over 5 years)
| Item | One-time | Per year | 5 years |
|---|---|---|---|
| Build | CHF 12,000 | — | CHF 12,000 |
| Hosting | — | CHF 120 | CHF 600 |
| Services/SaaS | — | CHF 200 | CHF 1,000 |
| Maintenance | — | CHF 900 | CHF 4,500 |
| Security | — | CHF 0 | CHF 0 |
| Total | CHF 18,100 |
Savings with Astro.js: CHF 13,700 over 5 years
That’s CHF 2,740 per year — or CHF 228 per month. And we haven’t even factored in indirect costs: lost customers due to slow load times, SEO disadvantages from poor performance, and time spent on WordPress troubleshooting.
Performance Comparison
Beyond costs, performance is a decisive factor:
| Metric | WordPress (typical) | Astro.js (typical) |
|---|---|---|
| Lighthouse Score (mobile) | 45-75 | 95-100 |
| First Contentful Paint | 2.0-4.5s | 0.5-1.2s |
| Largest Contentful Paint | 3.0-6.0s | 0.8-1.8s |
| Total Blocking Time | 300-1500ms | 0-50ms |
| Cumulative Layout Shift | 0.1-0.5 | 0-0.05 |
| Page size | 2-5 MB | 200-800 KB |
What this means: An Astro.js website loads 3-5x faster than a typical WordPress website. This directly impacts SEO, conversion rate, and AI visibility.
When WordPress Is Still the Better Choice
WordPress isn’t fundamentally bad. There are scenarios where WordPress makes sense:
1. Frequent Content Updates by Non-Technical Users
If multiple people update content daily (e.g., news portal, large blog), WordPress with its familiar backend is efficient.
2. Very Complex Functionality
If you need 50+ plugins (e-commerce with WooCommerce, membership area, online courses, booking system) and don’t have a budget for custom development.
3. Existing WordPress Ecosystem
If your team knows WordPress, processes are established, and switching would cost more than the long-term premium.
4. Extremely Low Budget
For websites under CHF 3,000, a WordPress template with minimal customization is possible. An equivalent Astro.js website under CHF 3,000 is unrealistic.
When Astro.js Is Clearly the Better Choice
1. Performance Is Business-Critical
For businesses that depend on fast load times (e-commerce, lead generation, local service providers).
2. AI Visibility Matters
For businesses that want to be found by ChatGPT and others. AI systems prefer fast websites with clean code.
3. Security Is a Priority
For industries with strict compliance requirements (healthcare, finance, law).
4. Long-Term Cost Efficiency
For businesses planning with the website for 5+ years and wanting to minimize total costs.
5. SEO and Lighthouse Score
For businesses that need a Lighthouse score of 95+ — barely achievable with WordPress without massive optimization.
Migration: From WordPress to Astro.js
If you already have a WordPress website and want to switch:
What It Costs
A migration from WordPress to Astro.js typically costs CHF 8,000-15,000, depending on:
- Number of pages and content
- Functionality of the existing website
- Design adjustments
- Data transfer
What You Gain
- Immediate performance improvement (typical: from Lighthouse 50-70 to 95-100)
- Elimination of plugin costs (CHF 800-1,200/year)
- Reduced maintenance costs (CHF 1,200-2,400/year less)
- No security risks from WordPress/plugins
- Better AI visibility
Payback Period
Migration costs typically pay for themselves in 2-3 years through lower ongoing costs.
Conclusion
The 5-year cost comparison is clear: Astro.js saves Swiss SMEs an average of CHF 13,700 over 5 years — while delivering better performance, higher security, and better AI visibility. The higher initial build costs (approx. CHF 2,000 more) are recouped after the first year.
WordPress has its place for specific use cases. But for most Swiss SMEs wanting a fast, secure, and future-proof website, Astro.js is the better choice.
Talk to us for a personalized cost comparison for your project.
Frequently Asked Questions (FAQ)
Is Astro.js really cheaper than WordPress?
Over 5 years, yes — an average of CHF 13,700 cheaper. Initial build costs are slightly higher with Astro.js (approx. CHF 2,000), but ongoing costs for hosting, plugins, maintenance, and security are drastically lower.
Can I edit content myself with Astro.js?
Yes. With a headless CMS (e.g., Sanity, Decap, Tina), you can edit text, images, and blog posts just as comfortably as with WordPress — without the drawbacks.
What happens if my Astro.js agency closes?
Astro.js is open source. Any developer with JavaScript skills can take over your website. With WordPress, you’re equally not locked to an agency — the difference is minimal.
Is WordPress insecure?
Not fundamentally, but the attack surface is much larger. PHP, MySQL, plugin vulnerabilities, and login pages are common entry points. Static websites (Astro.js) don’t have these risks.
How fast is an Astro.js website really?
Typical: Lighthouse score 95-100, First Contentful Paint under 1 second, total size under 500 KB. That’s 3-5x faster than an average WordPress website.
Can I migrate my WordPress blog to Astro.js?
Yes. Content can be exported and migrated to Astro.js. The process takes 1-4 weeks depending on scope. We’re happy to help with the migration.
Does Astro.js offer WooCommerce alternatives?
For simple shops, there’s Snipcart, Shopify (headless), or Medusa.js. For complex e-commerce requirements, WooCommerce/Shopify remains a valid option. The choice depends on your specific needs.
When is switching from WordPress to Astro.js worth it?
When your WordPress site is slow (Lighthouse under 70), generates high ongoing costs, or you want to prioritize AI visibility. Migration costs (CHF 8,000-15,000) pay for themselves in 2-3 years.