Skip to content
← Models
Open weights01.AI/10 trustVerified

Yi-Coder

01.AI's compact 1.5B/9B coder with 128K context, Apache 2.0.

Visit official page →

About

Yi-Coder (September 2024) is 01.AI's pair of open code models — 1.5B and 9B, each in base and chat versions — trained on 2.4T tokens with 128K context across 52 programming languages. The 9B was the only sub-10B model at release to clear 20% on LiveCodeBench (team-reported 23.4%), beating the much larger DeepSeek-Coder-33B there. Apache 2.0. Small, fast, and genuinely useful for local completion and editing, though long-horizon agentic work favors bigger models.

Specs

Context window

128K tokens

Pricing

Self-host: free under Apache 2.0. Hosted inference via third-party providers — per-token pricing varies.

Free quota

No official free API; self-hosting is free.

API access

Weights on Hugging Face and ModelScope; no first-party hosted API.

Weights

Open weights

Released

September 5, 2024

Benchmarks

Team-reported: Yi-Coder-9B-Chat — LiveCodeBench 23.4%, outperforming DeepSeek-Coder-33B-Instruct on that benchmark.

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

code completioncode editinglocal coding assistantsmath reasoning via code

Trust score — 7/10

/10 trustVerified

Scored 7/10 (verified tier, metrics-v1). Evidence: HF model card + HF blog + DeepNewz read this session: Sep 5 2024, 1.5B/9B base+chat, Apache 2.0, 128K context, 52 languages, 2.4T tokens (9B).; Team-reported: 9B-Chat LiveCodeBench 23.4%, beating DeepSeek-Coder-33B there..

More in the yi-coder family

Sources