MaaS Platform Architecture: Technical Practices Behind the LLM IPO Wave

    This article examines the technical architecture of Model-as-a-Service (MaaS) platforms through the lens of recent public listings by large model vendors. It breaks down the four-layer model system (language, multimodal, agent, and code models), explains how to build internal evaluation sets for model selection, and covers key engineering workflows including fine-tuning, deployment, agent tool orchestration, multi-hardware chip adaptation, cost control, and observability. Developers will find a practical framework for balancing capability, cost, and compliance when choosing and operating MaaS platforms.

    1. Reading the Signal Behind the Capital Moves

    A standalone general-purpose LLM developer recently cleared its Hong Kong Stock Exchange listing hearing and filed a prospectus, becoming the first company of its kind to enter the public disclosure process. According to the filing, its sponsor is a leading investment bank. The company was founded in 2019, released its self-developed large model framework in 2021, and open-sourced a model with hundreds of billions of parameters in 2022. As of June 30, 2025, it had served more than 8,000 institutional customers across roughly 80 million devices. By 2024 revenue, it ranked first among independent general-purpose LLM developers in China and second among all general-purpose LLM developers, with a market share of about 6.6%.

    Notably, most comparison companies listed in the prospectus are model businesses owned by technology giants: one founded in 1999, listed on the Shenzhen Stock Exchange, and focused on speech and cognitive intelligence models; one founded in 1999, dual-listed in Hong Kong and New York, with world-leading general model capabilities but only about RMB 300 million in related 2024 revenue; one founded in 2014, listed in Hong Kong, which started in computer vision and now offers multimodal models; and one founded in 2000, known for knowledge-enhanced language models.

    For developers, the real value of these figures is not the rankings but two engineering implications. First, general-purpose LLMs have shifted from a capability race to a delivery race, where revenue scale and call volume are the core metrics. Second, independent vendors competing on the same stage as tech giants means the technical architecture of MaaS (Model as a Service) platforms is converging into a common industry paradigm. This article focuses on that paradigm.

    2. The Four-Layer Model System and Capability Abstraction

    Mainstream MaaS platforms typically organize their offerings around an integrated platform that provides four model categories, closing the loop through integration tools.

    1. Language models: handle understanding, generation, reasoning, and dialogue, and form the backbone of most business scenarios.
    2. Multimodal models: perform joint understanding or generation across images, video, audio, and text, suited to content moderation, document parsing, and industrial quality inspection.
    3. Agent models: layer planning and execution on top of language models, supporting multi-step task decomposition and calls to external systems.
    4. Code models: target code completion, repository-level understanding, bug fixing, and test case generation.

    Together, these four categories enable three foundational AI capabilities: deep thinking (multi-step reasoning and self-verification), world cognition (modeling real entities and relationships), and tool use (calling external capabilities such as retrieval, databases, and APIs). In engineering terms, treat the three as orthogonal dimensions. A model may reason well but call tools poorly, so selection should be driven by the specific business bottleneck rather than a vague pursuit of the “strongest model.”

    3. Flagship Model Iteration Cadence and the Engineering Value of Benchmarks

    Leading vendors have compressed their iteration cadence to quarterly or even monthly cycles. One flagship model released in September was followed by a version with enhanced coding ability in October, which then ranked first globally on a public coding leaderboard in November. The engineering value of such leaderboards is that they offer reproducible head-to-head scenarios: coding tasks have clear pass/fail criteria, making them more stable than open-ended dialogue evaluations.

    Leaderboards, however, should not be the sole basis for decisions. Companies are advised to build their own small-scale evaluation sets covering real business samples. An example structure:

    1. {
    2. "case_id": "faq-0421",
    3. "task_type": "code_fix",
    4. "input": "prompt containing context and error messages",
    5. "expected": ["compiles successfully", "core test cases pass"],
    6. "metrics": {"pass_rate": 0.9, "p95_latency_ms": 2200}
    7. }

    The evaluation set should record both quality metrics (pass rate, human ratings) and performance metrics (time to first token, throughput, cost per token) to support canary decisions when upgrading model versions.

    4. Fine-Tuning, Deployment, and Agent Development

    Integration tools on MaaS platforms typically cover three workflows:

    • Model fine-tuning: includes full-parameter fine-tuning and parameter-efficient fine-tuning (such as low-rank adaptation). On the data side, you need deduplication, anonymization, instruction construction, and difficulty stratification; on the training side, fix random seeds and data versions to ensure reproducibility.
    • Model deployment: supports public cloud API calls, dedicated instances, and on-premises deployment. For compliance-heavy scenarios, prioritize dedicated instances; for cost-sensitive scenarios with fluctuating traffic, prioritize elastic APIs.
    • Agent development: the core is tool orchestration and context management, handling tool description standards, failure retries, timeout circuit breaking, and human handoff.

    A minimal tool-calling pseudocode example:

    1. def run_agent(query, tools, model, max_steps=6):
    2. ctx = [{"role": "system", "content": SYSTEM_PROMPT}]
    3. for _ in range(max_steps):
    4. resp = model.chat(ctx, tools=tools)
    5. if resp.tool_calls:
    6. for call in resp.tool_calls:
    7. result = tools[call.name](**call.args) # add timeout and exception handling
    8. ctx.append({"role": "tool", "content": str(result)})
    9. else:
    10. return resp.content
    11. return "Maximum steps reached, escalating to human handling"

    5. Domestic Chip Adaptation and Compute Engineering

    A new-generation coding model completed adaptation to domestic accelerator chips at launch, reflecting a foundational MaaS engineering practice: multi-hardware backend abstraction for operators and inference frameworks. Key practices include: standardizing model formats and operator lists, and building a hardware capability matrix; providing fallback implementations or graph-level rewrites for unsupported operators; adding cross-hardware numerical consistency checks in CI with a defined error threshold rather than requiring exact equality; and recording throughput and latency distributions across different hardware during stress testing to avoid capacity planning based on a single hardware profile.

    6. Cost Control and Observability

    Inference cost is determined jointly by token volume, context length, cache hit rate, and hardware utilization. Common techniques include prompt and retrieval result compression, prefix cache reuse, batching and continuous batch generation, and routing requests to different model sizes by business tier. For observability, build on three common cloud capabilities: logging, monitoring and alerting, and distributed tracing. Core dashboard metrics are call volume, success rate, P95 time to first token, cost per thousand calls, cache hit rate, and human handoff rate.

    7. Selection Checklist

    1. First determine whether the business bottleneck is thinking, cognition, or tool use, then choose the model category.
    2. Use your own evaluation set for version canaries; treat leaderboards as reference only.
    3. Choose dedicated instances or on-premises deployment for compliance-first scenarios, and APIs for elastic scenarios.
    4. Before launching agents, implement timeouts, retries, circuit breaking, and human handoff.
    5. Base capacity planning on multi-hardware measurements and reserve operator fallback options.
    6. Start cost optimization with caching and routing, then consider fine-tuning and distillation.

    The general-purpose LLM market has entered a stage centered on delivery efficiency. Choosing a MaaS platform is essentially a trade-off triangle of capability, cost, and compliance. Master this framework and your architecture will stay stable through vendor changes and version iterations.