Join our Newsletter — 33% off our NHI Course
Home› Guides› 01.AI Yi Models: Model Family, Specs and Security…
Guide AI Platforms

01.AI Yi Models: Model Family, Specs and Security Considerations

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 10 min read
On this page

01.AI's Yi models are open-weight, bilingual English and Chinese language models that teams download and run themselves, which moves almost every security decision onto the deploying organisation. This page lists the Yi model family as 01.AI documents it, with sizes, context windows, release dates, licence and hardware notes, and then sets out what security and AI governance teams should check before self-hosting a Yi model or calling it through a hosted API. It is written for AI platform engineers, security architects and reviewers approving model use. Every fact comes from 01.AI's own GitHub repositories, its Hugging Face model cards or its technical report, and each is dated.

Last checked: 27 November 2026.

This is an independent guide from NHI Mgmt Group, based on 01.AI's public documentation as of November 2026. It is not sponsored or reviewed by 01.AI. Product features change, so confirm settings against 01.AI's current documentation.

Key takeaways

  • Four open-weight families. 01.AI documents Yi (6B, 9B, 34B with 200K variants), Yi-VL (vision language), Yi-1.5 (6B, 9B, 34B) and Yi-Coder (1.5B and 9B).
  • Apache 2.0 for code and weights. 01.AI's repositories state the Yi series code and weights are distributed under Apache 2.0, with an attribution line requested for derivative works.
  • No newer releases on the provider pages checked. As of 27 November 2026, the newest series on 01.AI's Hugging Face organisation is Yi-Coder (2024/09), and the model repositories there were last updated on 11 November 2024.
  • You own the controls. Self-hosted weights come with no provider-side filtering, so input and output guardrails, access control, logging and patching sit with you.
  • Treat weights as supply chain. Pull from 01.AI's official organisation, prefer safetensors, pin revisions and review any flag that runs remote code before loading a model.

The Yi model family at a glance

Model families are listed in release order. Context lengths and dates are as 01.AI states them on the pages named in the last column.

FamilyModels (as named by 01.AI)ContextFirst released (01.AI date)Source page
Yi baseYi-6B, Yi-34B4K default; README says extendable to 32K at inference2023-11-02Yi GitHub README
Yi long contextYi-6B-200K, Yi-34B-200K200K2023-11-05Yi GitHub README
Yi chatYi-6B-Chat, Yi-34B-Chat, plus 4-bit (AWQ) and 8-bit (GPTQ) quantised versions4K default2023-11-23Yi GitHub README
Yi-VLYi-VL-6B, Yi-VL-34BSingle image input at 448x4482024-01-23Yi README, Yi-VL-34B model card
Yi 9BYi-9B, Yi-9B-200K4K default; 200K variant2024-03-06 (9B), 2024-03-16 (9B-200K)Yi GitHub README
Yi-1.5Yi-1.5-6B, 9B, 34B (base and chat), 9B and 34B Chat-16K, 9B and 34B 32K base4K, 16K and 32K variants2024-05-13Yi-1.5 README, Hugging Face model card
Yi-CoderYi-Coder-1.5B, Yi-Coder-9B (base and chat)128K2024-09-05Yi-Coder GitHub README

Key facts per family

Yi (original series)

  • Training: the README describes the models as trained from scratch on a 3T token multilingual corpus, with training data up to June 2023; Yi-9B was further trained from Yi-6B on 0.8T tokens. The technical report (arXiv 2403.04652, version 3 dated 21 January 2025) describes a 3.1 trillion token English and Chinese corpus.
  • Architecture: 01.AI states Yi uses the same architecture as Llama but is not a derivative, because it does not use Llama weights.
  • Chat model behaviour: the README states the chat models were trained with supervised fine-tuning and produce more diverse responses, which it says can amplify hallucination, non-determinism on regeneration and cumulative error, and it suggests tuning temperature, top_p or top_k.
  • Long context: 01.AI reports that on 7 March 2024 Yi-34B-200K's needle-in-a-haystack score improved from 89.3% to 99.8% after further pre-training on 5B tokens of long-context data.

Yi-VL

  • Design: the Yi-VL-34B card describes a LLaVA-style architecture: a CLIP ViT-H/14 vision encoder, a two-layer projection module and a Yi-34B-Chat language model.
  • Limits: one image per input, visual question answering only, images resized to 448x448, and the card notes it can describe content not present in the image.

Yi-1.5

  • Training: continued pre-training on Yi with a 500B token corpus and fine-tuning on 3M samples; the model card gives 3.6T total pre-trained tokens.
  • Focus: 01.AI states improved coding, maths, reasoning and instruction following compared with Yi.

Yi-Coder

  • Scope: code models under 10 billion parameters with a 128K maximum context, supporting 52 programming languages according to the README.

Licence and access

ItemWhat 01.AI statesWhat to check
LicenceCode and weights under Apache 2.0 (Yi, Yi-1.5, Yi-Coder READMEs and model cards)Keep the licence and the requested attribution line in derivative works; the Yi README also records an earlier community licence (v2.1, 23 November 2023), so confirm which licence file applies to the exact revision you download
Commercial useThe Yi README states the models are free for personal, academic and commercial use; the Yi-VL-34B card asks commercial users to email 01.AI for official permissionRecord the licence text and card wording for the revision used, and resolve the Yi-VL wording with your legal team
DownloadsHugging Face, ModelScope and wisemodel organisations listed in the READMEUse only the official 01-ai organisation and pin a commit
Hosted APIThe Yi-1.5 README says Yi APIs are OpenAI-compatible on the Yi Platform (platform.lingyiwanwu.com) and also deployed on Replicate and OpenRouterRead the current terms, data retention and processing location of whichever platform you use before sending data; pricing and data terms were not readable on the pages checked

Hardware and deployment

The Yi README gives minimum GPU memory for inference. Selected values, as published:

ModelMinimum VRAM (01.AI)Example GPU setup (01.AI)
Yi-6B-Chat-4bits4 GB1 x RTX 3060 (12 GB)
Yi-6B-Chat15 GB1 x RTX 3090 or 4090 (24 GB)
Yi-9B20 GB1 x RTX 4090 (24 GB)
Yi-34B-Chat-4bits20 GB1 x RTX 3090 or 4090 (24 GB)
Yi-34B-Chat72 GB4 x RTX 4090 or 1 x A800 (80 GB)
Yi-34B-200K200 GB4 x A800 (80 GB)

The repositories document running Yi through Hugging Face Transformers, Docker, llama.cpp and Ollama, and list community tools that wrap Yi in an OpenAI-compatible API. Each of these becomes part of your attack surface: an inference server exposed without authentication is an open compute and data endpoint.

Security considerations for self-hosting

Because the weights run in your environment, the provider applies no runtime filtering and publishes no system card for these models on the pages checked. 01.AI's README disclaimer says it uses data compliance checking during training but cannot guarantee correct output in all scenarios. Map the risks with the OWASP Top 10 for LLM Applications 2025:

OWASP LLM 2025 riskHow it shows up with self-hosted YiControl you own
LLM03:2025 Supply ChainWeights, tokenisers, quantised forks and community wrappers from mirrors or look-alike accountsOfficial organisation only, safetensors format, pinned commit hashes, AI-BOM entry; see the Model Supply Chain Guide
LLM01:2025 Prompt InjectionNo provider guardrail between untrusted content and the modelInput filtering, separation of instructions from retrieved content, least-privilege tools
LLM05:2025 Improper Output HandlingYi-Coder output pasted into code or shellsTreat output as untrusted: review, scan and sandbox generated code
LLM09:2025 Misinformation01.AI notes hallucination risk in chat and vision modelsGrounding, citations, human review for decisions
LLM10:2025 Unbounded Consumption200K and 128K contexts on shared GPUsPer-client token and request limits, timeouts, authentication on the inference endpoint
LLM02:2025 Sensitive Information DisclosurePrompts and outputs logged by inference servers, or sent to a hosted APILogging policy, data classification, contractual terms for any hosted platform
  • Remote code flags: the Yi README's quantisation examples pass --trust_remote_code. Loading a model with remote code enabled runs Python from the repository, so review that code and pin its revision, or avoid the flag where the library supports the architecture natively.
  • Maintenance status: with no updates to the model repositories since November 2024 on the pages checked, plan for the model to stay as published; fixes will come from your own fine-tuning and guardrails, not from new provider releases.
  • Bilingual testing: Yi is trained on English and Chinese, so red-team prompts and guardrail tests should cover both languages. See the AI Red Teaming Guide.

Where identity fits

A self-hosted Yi endpoint is a service that other software calls, so it needs a non-human identity strategy: authenticated clients with scoped credentials, no shared static API keys in application code, and rotation for any token issued to agents or pipelines. Hugging Face or registry tokens used to pull weights are secrets too and belong in a secrets manager. See the LLM Security Guide.

How to choose and roll out a Yi model

  1. Match the task: Yi-Coder for code tasks, Yi-VL for single-image questions, Yi-1.5 chat for general bilingual chat, 200K or 32K variants only where long context is needed.
  2. Size for hardware: use the VRAM table; quantised 4-bit and 8-bit versions trade some quality for smaller footprints.
  3. Record provenance: repository, commit hash, file hashes, licence text and model card wording in your AI-BOM.
  4. Evaluate in a sandbox: run your own task and safety evaluations in both languages before any production data is used.
  5. Pilot behind a gateway: authentication, rate limits, input and output filtering and logging in front of the model.
  6. Roll back cleanly: keep the previous model version deployable and route traffic through the gateway so you can switch models without client changes.

Detection and measurement

  • Provenance coverage: share of deployed Yi instances with a pinned commit and recorded file hashes (target 100%).
  • Endpoint exposure: count of inference endpoints reachable without authentication (target zero).
  • Guardrail hit rate: blocked or flagged prompts and outputs per thousand requests, by language.
  • Evaluation pass rate: share of your safety test suite passed before each deployment.
  • Resource abuse: requests exceeding token or time limits per client.

Common failure patterns

  • Pulling from unofficial mirrors: look-alike repositories and repackaged quantisations sit outside 01.AI's published hashes.
  • Exposing the inference server: local tools started for testing and left listening on a network interface without authentication.
  • Running remote code unreviewed: enabling trust_remote_code by habit rather than after review.
  • Assuming provider safety: treating an open-weight model as if a hosted provider filtered its output.
  • Testing in one language: guardrails validated in English only for a model trained on English and Chinese.

Practitioner checklist

  • Download Yi weights only from 01.AI's official organisations and pin the commit.
  • Prefer safetensors files and record file hashes in your AI-BOM.
  • Keep the Apache 2.0 licence and 01.AI's attribution line with any derivative.
  • Review repository code before using trust_remote_code, or avoid it.
  • Put the model behind an authenticated gateway with rate and token limits.
  • Add input and output guardrails and test them in English and Chinese.
  • Read the data terms of any hosted platform before sending data to it.
  • Re-check 01.AI's pages for new releases or licence changes at each review.

Standards and references

Related NHI Mgmt Group resources: Model Supply Chain Guide · Model Cards and System Cards Explained · AI Supply Chain and AI-BOM Guide · Open-Source LLM Guardrails Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.