← All models

UI2Code^N

Published Publisher Zhipu AI

Overview

UI2Code^N is a vision-language model for interactive UI-to-code generation, built on GLM-4.1V-9B-Base. Its model card lists approximately 10 billion parameters, BF16 weights and an MIT license. The weights are available in the official Hugging Face repository. (huggingface.co)

Capabilities and uses

  • UI drafting: Generate front-end code from a UI screenshot; the official demo describes HTML, CSS and React examples.
  • UI editing: Modify existing UI code using natural-language instructions.
  • UI polishing: Compare a rendered implementation with the target image and iteratively refine the code using visual feedback.

These capabilities support design-to-code workflows, front-end prototyping and iterative interface refinement. The research describes a feedback-driven workflow and a relative visual preference optimization method. (github.com)

Limitations

Generated code and visual fidelity should be reviewed and tested before deployment. Iterative polishing depends on an external rendering and feedback workflow; it is not simply a single model response. Browser defaults, font fallback and display scaling can affect the rendered result. The official sources reviewed do not establish a hosted API model ID or a universal context limit for this model. (github.com)

Release date

November 11, 2025. The supplied official weight-file history records an upload on that date, and the associated paper was initially published on the same date. (huggingface.co)

Pricing

As of November 17, 2026, official input and output API prices for UI2Code^N could not be verified in either CNY/RMB or USD. The domestic BigModel pricing page required JavaScript and its prices could not be read; the international Z.AI pricing page did not list UI2Code^N. No rates for other models have been substituted. Self-hosting may incur infrastructure costs. (bigmodel.cn)

Official sources