Evaluating Multi-Model Collaboration in Replicating a Chat Web Product with LLM Coding Tools

    This article reports on a hands-on evaluation in which six combinations of large language models and coding tools each built a chat-style web product from scratch. It covers requirements analysis, UI replication, and experience improvements, and compares how the models differed in their strategies. Developers can use the findings to guide their own prompt design and testing practices.

    In an era of increasingly capable AI coding tools, more teams are trying to use large language models to build a product prototype from zero. This article uses a typical chat-style web product as the replication target. It tests six combinations of “LLM + coding tool” side by side and records the full process, from requirements analysis to interface replication to experience optimization. It also summarizes how the models differed in strategy, so developers can learn from them.

    1. Evaluation Task Design

    This practice selected six combinations of large language models and tools. They covered common types such as general-purpose chat models, long-context models, and specialized coding assistants. Each group had to complete three deliverables independently:

    1. Product feature report: List all feature points of the target web page and draw a product feature structure diagram.
    2. Web page replication: Produce a front-end page that matches the original product in both features and UI.
    3. Improved version: Based on its understanding of the original product, add innovations in experience and functionality, and output a new improved page.

    This three-stage task, covering analysis, replication, and improvement, reflects the core workflow of a product manager and a front-end engineer. It therefore tests a model’s requirements understanding, code generation, and product design thinking fairly thoroughly.

    2. Two-Round Prompt Strategy

    The task used two rounds of prompts. The first round gave the complete requirements:

    1. Assume you are a senior product manager who needs to replicate a chat-style web product.
    2. The target page URL and API call documentation are provided. You can use a browsing tool
    3. to visit the page, and the account is already logged in. You need to complete:
    4. 1. Produce a product report that clearly describes the web page's feature points and
    5. a product feature structure diagram.
    6. 2. Replicate the web page on the front end, keeping its features and UI consistent
    7. with the original page.
    8. 3. Optimize the page based on your own understanding and produce a new improved version.
    9. You may freely design the UI/UX and features, and you may search the web for
    10. suitable additional features.

    The second round gave the model a real API key, so the page could move from a static display to one that calls the real API. All test groups followed the same procedure, but the models behaved very differently in this round.

    3. A Key Difference: The Dividing Line in Testing Depth

    After the real API was connected, the models fell into two broad groups:

    Shallow verification: Some models only ran the simplest connectivity test after replacing the key. They sent one message, confirmed that a reply came back, and confirmed that the page showed no errors, then declared the work finished. This approach looks efficient but misses many edge cases.

    Deep verification: Other models actively built multi-turn conversations, very long inputs, network disconnections, and concurrent requests. They found real bugs during testing and fixed them. For example, one model found that streamed output arrived out of order when a interrupted stream resumed. It then added retry and state management mechanisms.

    This difference shows that a model’s engineering rigor is an important selection criterion. For production use, developers should not assume that a model’s output is correct just because the model reports it as complete. They should state the requirements explicitly in the prompt, for example “cover at least N categories of boundary tests and output a test log.” This turns testing strategy from an implicit model habit into an explicit task constraint.

    4. Product Report and Structure Diagram: Requirements Understanding in Practice

    In the first stage, most models identified the basic feature modules of a chat product. These included session management, history, streamed message rendering, code highlighting, dark mode, and multi-turn context. The differences appeared mainly in two areas:

    • Granularity of the structure diagram: Strong outputs broke the structure down to three levels. For example, “session management” was split into creating a new session, renaming, deleting, pinning, and searching history. Weak outputs stopped at two top-level modules, such as “chat” and “settings.”
    • Discovery of implicit features: Some models found less obvious interaction details, such as keyboard shortcuts, message regeneration, and branching conversations. This shows how thoroughly a model explored the web page.

    We recommend adding quantitative requirements to the first-round prompt, such as “at least 20 feature points and a structure diagram with at least three levels.” This can raise the minimum quality of the output noticeably.

    5. Web Page Replication: The Practical Limits of Pixel-Level Fidelity

    Perfect replication is difficult in theory. In this evaluation, fidelity depended mainly on three factors:

    1. Sampling ability of the browsing tool: The number of page states a model can see, such as the logged-in state, the empty-session state, and error states, determines how complete the replication can be.
    2. Style inference: The model must infer layout, spacing, and colors from screenshots or DOM information. Models with strong front-end skills used CSS variables to manage design tokens centrally, which made later adjustments easier.
    3. Implementation of streamed interaction: The core experience of a chat product is streamed output. The model must handle server-sent events, typewriter-style rendering, and scroll following correctly.

    In practice, a good approach is to have the model first produce a design specification document covering the color palette, font sizes, and spacing, and then generate the code from it. This greatly reduces pages that look similar on the surface but feel different in use.

    6. The Improved Web Page: Where Product Thinking Stands Out

    The third task best separates the models. Common high-value improvements included:

    • Enhanced session sidebar: session grouping, tags, and full-text search.
    • Enhanced message actions: editing and resending a message, conversation branching, and exporting in multiple formats.
    • Enhanced input experience: a prompt template library, quick commands, and multimodal attachment previews.
    • System-level enhancements: a usage statistics panel, local persistence of sessions, and offline availability through a PWA.

    Strong models first explained why each feature was worth adding, and then implemented it. Weaker models tended to pile on features, which made the interface cluttered. This suggests that the improvement task should require “a sentence on user value for each new feature.” That requirement pushes the model toward product-oriented thinking.

    7. Practical Recommendations for Developers

    This evaluation supports three actionable recommendations:

    1. Make the testing strategy explicit: Do not rely on the model to test thoroughly on its own. State a checklist of boundary tests and acceptance criteria in the prompt.
    2. Accept deliverables in stages: Check the documents and structure diagram first, then the replicated page, and finally the improved version. This prevents errors from carrying through every stage.
    3. Protect API keys: Inject the key only in the second round, and use a temporary key with a limited quota that can be revoked at any time. Do not hard-code keys in page code. Pass them through environment variables or a backend proxy.

    General cloud platform capabilities, such as logging services and monitoring and alerting, can also track call volume and error rates for applications produced by AI coding tools. This helps a prototype move closer to a production-ready service.

    8. Conclusion

    This multi-model evaluation shows that current large language models can handle the full path of a chat-style web product, from analysis to prototype. However, the models differ significantly in testing depth, requirements discovery, and their ability to justify product decisions. For developers, mastering systematic prompt design and staged acceptance is more valuable than chasing any single model. Tools will keep changing, but the methods can be reused.