Chinese company trained GPT-4 rival with just 2,000 GPUs — 01.ai spent $3M compared to OpenAI's $80M to $100M

Nvidia
(Image credit: Nvidia)

As Chinese entities do not have access to tens of thousands of advanced AI GPUs from companies like Nvidia, companies from this country must innovate to train their advanced AI models. Kai-Fu Lee, the founder and head of 01.ai, said this week that his company has trained one of its advanced AI models using 2,000 GPUs with just $3 million.

“The thing that shocks my friends in the Silicon Valley is not just our performance, but that we trained the model with only $3 million and GPT-4 was trained with $80 to $100 million,” said Kai-Fu Lee (via @tsarnick). “GPT-5 is rumored to be trained with about a billion dollars. […] We believe in scaling law, but when you do excellent detailed engineering, it is not the case. […] As a company in China, first, we have limited access to GPUs due to the U.S. regulations [and a valuation disadvantage compared to American AI companies].”

In contrast to competitors like OpenAI, which spent $80-100 million to train GPT-4 and reportedly up to $1 billion for GPT-5, 01.ai trained its high-performing model with just $3 million, according to Kai-Fu Lee. According to a company website chart, 01.ai's Yi-Lightning holds the sixth position in model performance measured by LMSIS at UC Berkeley.

This accomplishment is, of course, particularly notable because of the company’s impressive cost-efficiency. The stark difference demonstrates that achieving top-tier AI capabilities does not always require enormous budgets, as careful engineering and targeted optimizations can yield similar results at a fraction of the cost and the compute resources.

It is believed that OpenAI used 10,000 Nvidia A100 GPUs to train its GPT-3 model and many more H100 processors to train its GPT-4 and GPT-4o models. Using various innovative solutions, 01.ai had to train its Yi-Lightning model using 2,000 undisclosed GPUs. However, last year, Kai-Fu Lee said his company had enough GPUs to execute its roadmap for 1.5 years. The numbers, however, do not add up. One Nvidia H100 GPU costs around $30,000, so two thousands of such GPUs would cost $6 million.

To enhance model performance, 01.ai focused on reducing the bottlenecks in its inference process by turning computational demands into memory-oriented tasks, building a multi-layer caching system, and designing a specialized inference engine to optimize speed and resource allocation. As a result, ZeroOne.ai’s inference costs are dramatically lower than those of similar models — 10 cents per million tokens — about 1/30th of the typical rate comparable models charge.

“When we only have 2000 GPUs, the team has to figure out how to use it,” said Kai-Fu Lee. “I, as the CEO, have to figure out how to prioritize it, and then not only do we have to make training fast, but we also have to make inference fast. So, our inference is designed by figuring out the bottlenecks in the entire process by trying to turn a computational problem to a memory problem, by building a multi-layer cache, by building a specific inference engine, and so on. But the bottom line is, our inference cost is 10 cents per million tokens.”

Chinese companies, in general and 01.ai in particular, face significant challenges. Due to U.S. export restrictions, they have minimal access to advanced GPUs. They also have a valuation disadvantage compared to American AI companies, which affects their available resources and investment opportunities.

Anton Shilov
Contributing Writer

Anton Shilov is a contributing writer at Tom’s Hardware. Over the past couple of decades, he has covered everything from CPUs and GPUs to supercomputers and from modern process technologies and latest fab tools to high-tech industry trends.

  • Parrhesia
    The problem is that China fakes everything, and even when they have something close to what they describe, anything IT related becomes an instant security risk.
    Reply
  • psykhon-
    And of course TH didn't verify any of this claims, otherwise they will have nothing to write about when finding all of this is nothing but the usual "Chinese" claims.

    Here, write another article about this: "one guy manage to build chatgpt7 using only 24 8 bits microcontrollers"
    Reply
  • zolarV
    Honestly, how is that even a feat if true? They're piggybacking on all the work OpenAI's scientists have done anyways.

    Its kind of like the 6th guy to make fire saying he is sooo much better because he did it faster than the first guy. When the 6th guy was able to watch guys 1-5 do it.
    Reply
  • NinoPino
    After writing "01.ai had to train its Yi-Lightning model using 2,000 undisclosed GPUs", it is a nonsense to write "The numbers, however, do not add up. One Nvidia H100 GPU costs around $30,000, so two thousands of such GPUs would cost $6 million"
    Reply
  • NinoPino
    Parrhesia said:
    ... China fakes everything, ...
    This is obviously a false affirmation.
    Reply
  • NinoPino
    zolarV said:
    Honestly, how is that even a feat if true?
    Because can demostrate a better way to do the same things. Obviously.

    zolarV said:
    They're piggybacking on all the work OpenAI's scientists have done anyways.
    And OpenAI is piggybacking all the research done by others previously. Every technological progress work like this.

    zolarV said:

    Its kind of like the 6th guy to make fire saying he is sooo much better because he did it faster than the first guy. When the 6th guy was able to watch guys 1-5 do it.
    Like all competitive sports...
    Reply
  • zolarV
    NinoPino said:
    Because can demostrate a better way to do the same things. Obviously.


    And OpenAI is piggybacking all the research done by others previously. Every technological progress work like this.


    Like all competitive sports...
    I see my entire point completely went over your head.
    Reply
  • JohnE777
    Kai Fu Lee is pretty reputable having an American PhD in Computer Science and leading teams at Microsoft, Google and Apple. I'd believe him.
    Reply