It sounds like you're weighing the trade-offs between a traditional SPA with a CRUD backend and SSR with edge compute. SSR (like SvelteKit with Cloudflare Workers) offers benefits like improved SEO, faster initial load times, and better edge caching, but it can add complexity and cost. Hosting on services like Cloudflare Workers can be efficient for serverless execution, though it might increase your hosting bill compared to a simple VPS. If your team values simplicity and you don't need extensive SSR features, a separate backend with FastAPI/Svelte might be the more cost-effective and maintainable approach. The choice depends on project scale and team preference.
Claude Code has outstanding performance in code understanding and web page generation stability, thanks to its deep context modeling and architecture-aware mechanism, especially when dealing with legacy systems, it can accurately restore component relationships. Although Codex CLI (o4-mini) is open source and responsive, its hallucination problems in complex architectures may be related to the compression strategy of the sparse expert hybrid architecture and the training goal of prioritizing generation speed. OpenAI is optimizing Codex CLI by integrating the context control capabilities of Windsurf IDE, and plans to introduce a hybrid inference pipeline in the o3-pro version to reduce the hallucination rate.