Model reference · open weights

Yi-4bits

Available as managed deployment LLMs 01-ai Text gen 1 variants 399 dl/mo

Yi-4bits is an open-weight language model from 01-ai. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Maker01-ai
TypeLanguage models
TaskText gen
Parameters (lead)6.1B
Context4k tokens
Runs withtransformers
Released2023-11-22
Popularity399 downloads / month
LicenceOpen weights

About

What Yi-4bits is

🤗 Hugging Face • 🤖 ModelScope • ✡️ WiseModel

👩‍🚀 Ask questions or discuss ideas on  GitHub

📝 Check out   Yi Tech Report

📚 Grow at  Yi Learning Hub

What is Yi?

Introduction

  • 🤖 The Yi series models are the next generation of open-source large language models trained from scratch by 01.AI.

  • 🙌 Targeted as a bilingual language model and trained on 3T multilingual corpus, the Yi series models become one of the strongest LLM worldwide, showing promise in language understanding, commonsense reasoning, reading comprehension, and more. For example,

    • Yi-34B-Chat model landed in second place (following GPT-4 Turbo), outperforming other LLMs (such as GPT-4, Mixtral, Claude) on the AlpacaEval Leaderboard (based on data available up to January 2024).

    • Yi-34B model ranked first among all existing open-source models (such as Falcon-180B, Llama-70B, Claude) in both English and Chinese on various benchmarks, including Hugging Face Open LLM Leaderboard (pre-trained) and C-Eval (based on data available up to November 2023).

    • 🙏 (Credits to Llama) Thanks to the Transformer and Llama open-source communities, as they reduce the efforts required to build from scratch and enable the utilization of the same tools within the AI ecosystem.

💡 TL;DR

The Yi series models adopt the same model architecture as Llama but are NOT derivatives of Llama.

  • Both Yi and Llama are based on the Transformer structure, which has been the standard architecture for large language models since 2018.

  • Grounded in the Transformer architecture, Llama has become a new cornerstone for the majority of state-of-the-art open-source models due to its excellent stability, reliable convergence, and robust compatibility. This positions Llama as the recognized foundational framework for models including Yi.

  • Thanks to the Transformer and Llama architectures, other models can leverage their power, reducing the effort required to build from scratch and enabling the utilization of the same tools within their ecosystems.

  • However, the Yi series models are NOT derivatives of Llama, as they do not use Llama's weights.

    • As Llama's structure is employed by the majority of open-source models, the key factors of determining model performance are training datasets, training pipelines, and training infrastructure.

    • Developing in a unique and proprietary way, Yi has independently created its own high-quality training datasets, efficient training pipelines, and robust training infrastructure entirely from the ground up. This effort has led to excellent performance with Yi series models ranking just behind GPT4 and surpassing Llama on the Alpaca Leaderboard in Dec 2023.

News

In the "Needle-in-a-Haystack" test, the Yi-34B-200K's performance is improved by 10.5%, rising from 89.3% to an impressive 99.8%. We continue to pre-train the model on 5B tokens long-context data mixture and demonstrate a near-all-green performance.

  • Yi-34B-Chat
  • Yi-34B-Chat-4bits
  • Yi-34B-Chat-8bits
  • Yi-6B-Chat
  • Yi-6B-Chat-4bits
  • Yi-6B-Chat-8bits

You can try some of them interactively at:

release, except that the context window is extended to 200K.

with the parameter sizes of 6B and 34B. Both of them are trained with 4K sequence length and can be extended to 32K during inference time.

Models

Yi models come in multiple sizes and cater to different use cases. You can also fine-tune Yi models to meet your specific requirements.

If you want to deploy Yi models, make sure you meet the software and hardware requirements.

Chat models

ModelDownload
Yi-34B-Chat🤗 Hugging Face🤖 ModelScope🟣 wisemodel
Yi-34B-Chat-4bits🤗 Hugging Face🤖 ModelScope🟣 wisemodel
Yi-34B-Chat-8bits🤗 Hugging Face🤖 ModelScope🟣 wisemodel
Yi-6B-Chat🤗 Hugging Face • [🤖 ModelScope](https://www.models

From the published model card. Full card on the HuggingFace links in the sidebar.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys yi-4bits for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (yi-4bits below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"yi-4bits","messages":[{"role":"user","content":"Hello"}]}'

Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms