Yi-Lightning
Yi-Lightning is 01.AI's model at $0.14 input and $0.14 output per million tokens, with a 16K context window. On a typical 3:1 input-to-output mix that blends to roughly $0.14 per million tokens, placing it in the budget band of the 68 models tracked here — cheaper than 90% of them.
By price, Yi-Lightning ranks 12th cheapest of 68 on input and 4th on output. Its quality score of 78 ranks 56th of 68, and on value (quality score ÷ output price) it ranks 4th of 68. Its blended rate sits 95% below the catalog average.
In real billing terms: a support chatbot handling 50,000 turns a month (2,000 input / 500 output tokens each) costs about $18 per month on Yi-Lightning, while a RAG workload of 20,000 queries (8,000 input / 800 output tokens each) runs about $25. Because output is priced 1.0× input here, long-generation tasks scale cost fastest — cap output length before you optimise anything else.
A 16K context window holds roughly 21 pages of A4 text (at ~750 tokens per page), ranking 67th of 68 here. That is on the smaller side, so long documents need retrieval and chunking rather than raw stuffing. Output runs at about 200 tok/s (5th fastest of 68), fast enough for real-time interaction and high-throughput batches.
We track 1 01.AI models, and Yi-Lightning's blended rate sits 0% above that provider's average. If your task tolerates a little less headroom, qwen3.5-flash (Alibaba) blends about 61% cheaper at a quality score of 82, and is worth benchmarking first. Nothing in the catalog scores higher on quality, so this is the ceiling.
Estimated monthly cost
Monthly API spend across four common workloads, next to the cheapest model we track.
| Workload | Usage assumption | This model | Cheapest model |
|---|---|---|---|
| Support chatbot | 2,000 input / 500 output tokens per turn, 50,000 turns per month | $18 | $3.00 |
| RAG document Q&A | 8,000 input / 800 output tokens per query, 20,000 queries per month | $25 | $3.84 |
| Coding assistant | 12,000 input / 2,000 output tokens per request, 10,000 requests per month | $20 | $3.20 |
| Batch summarization | 4,000 input / 400 output tokens per item, 200,000 items per month | $123 | $19 |
Derived directly from the rates on this page. Excludes prompt caching, batch discounts and free tiers.
How it compares
The alternatives worth benchmarking alongside it, from the same dataset.
| Model | Provider | Blended /1M | Quality | Price delta |
|---|---|---|---|---|
| Yi-Lightning | 01.AI | $0.14 | 78 | — |
| qwen3.5-flashCheaper option | Alibaba | $0.055 | 82 | -61% |
| Phi-4-miniBest value overall | Microsoft | $0.025 | 68 | -82% |
Best for
Modalities
Where it fits — and where it doesn't
Good fit
- Chat and support: natural multi-turn conversation for user-facing products.
- High throughput and real-time UX: 200 tok/s keeps streamed responses feeling instant.
- High-volume, cost-sensitive batch work: low rates suit classification, tagging and summarization at scale.
Poor fit
- Whole-document ingestion: a 16K window needs RAG chunking for large files.
- Hard reasoning: a quality score of 78 is on the low side here; pick a stronger model for complex planning or maths.
- Image understanding: this model is text-only, so vision tasks need a multimodal alternative.
Frequently asked questions
How much does the Yi-Lightning API cost?
Yi-Lightning costs $0.14 per million input tokens and $0.14 per million output tokens. On a 3:1 input-to-output mix that blends to about $0.14 per million tokens.
What does Yi-Lightning cost per month?
It depends on volume. Using the four worked scenarios on this page: a support chatbot runs about $18/month, RAG document Q&A about $25/month, a coding assistant about $20/month, and batch summarization about $123/month. Plug your own token counts into the cost calculator for a tailored figure.
How large is the Yi-Lightning context window?
16K tokens — roughly 21 pages of A4 text at ~750 tokens per page, ranking 67th of the 68 models tracked here.
Yi-Lightning or qwen3.5-flash — which is better value?
qwen3.5-flash blends to about $0.055 per million tokens versus $0.14 for Yi-Lightning — roughly 61% cheaper — at a quality score of 82 against 78. If that quality gap does not show up on your task, take the cheaper one; if it does, stay with Yi-Lightning. Benchmark both on your own data before deciding.
What is Yi-Lightning best suited for?
Tagged use cases: chatbot, cheap, fast. Chat and support: natural multi-turn conversation for user-facing products. Less suitable: Whole-document ingestion: a 16K window needs RAG chunking for large files.
How current is this Yi-Lightning pricing?
Pricing here was last verified on 2026-08-06 against manual review. llmprice.app runs a daily collection job, but providers can change rates between runs — confirm against 01.AI's official pricing page before you commit.
Estimate the real cost of this model
Bring tokens per request and monthly volume into the calculator to compare total model costs.
Related models
Continue by provider and use case.
gpt-5.4-nano
gpt-4o-mini
Pricing, speed and quality scores change over time. Confirm official documentation before production use.