LLM·Dex
ProprietaryOthermidtext

Yi-Lightning

01.AI's API-tier Chinese-leaning model, strong on Chinese benchmarks at competitive pricing.

Updated


Quick facts

Released
Oct 2024
Context
16K tokens
Output / 1M
$0.14 / 1M tokens
License
Proprietary

About Yi-Lightning

Yi-Lightning is 01.AI's mid-tier model with particular strength on Chinese tasks. It briefly held strong placements on LMSYS Arena's overall leaderboards in late 2024 before larger labs caught up.

The extremely flat $0.14 / 1M token price (input or output) makes it one of the cheapest first-tier models on the market and a popular pick for Chinese-language production deployments.

Benchmarks

Published scores from Other's model card or independent leaderboards. We do not publish numbers we cannot source, see methodology.

HumanEval
,
Python coding pass@1
MMLU
,
Broad academic knowledge
GPQA
,
Graduate-level reasoning
SWE-bench
,
Real software-engineering tasks
Benchmark scores not yet available. We only publish numbers we can source from official model cards or independent leaderboards, see methodology.

Capabilities

Strengths

  • Cheap
  • Strong Chinese
  • Fast

Tracked weaknesses

  • Short 16k context
  • Smaller ecosystem

Pricing

Per-million-token rates as published by Other.

TierPriceNotes
Input$0.14 / 1M tokensTokens you send to the model
Output$0.14 / 1M tokensTokens the model generates
Context16K tokensMax combined input + output

Call Yi-Lightning from your code

Drop-in snippet for the Other SDK. Set your API key in the environment and run.

typescript
import OpenAI from "openai";

const client = new OpenAI({
  // Use OPENAI_API_KEY for OpenAI, or your provider's key + baseURL.
  apiKey: process.env.OPENAI_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "yi-lightning",
  messages: [
    { role: "user", content: "What's the time complexity of quicksort?" },
  ],
});

console.log(completion.choices[0].message.content);

Best for

Tasks where Yi-Lightning ranks among LLMDex's top picks.

Compare Yi-Lightning with…

Frequently asked

  • How much does Yi-Lightning cost per million tokens?
    Yi-Lightning is priced at $0.14 / 1M tokens for input tokens and $0.14 / 1M tokens for output tokens via the official Other API at the time of writing.
  • What is Yi-Lightning's context window?
    Yi-Lightning supports a context window of 16K tokens.
  • Is Yi-Lightning open source?
    No. Yi-Lightning is a closed-weight model, you can use it via Other's API but the model weights are not publicly downloadable.
  • When was Yi-Lightning released?
    Yi-Lightning was released on Oct 16, 2024 by Other.
Friday digest

Intelligence, distilled weekly.

One short email every Friday, new model launches, leaderboard moves, and pricing drops. Curated by hand. Free, no spam.