Skip to content

Yi Lightning

NanoGPT

Yi Lightning by NanoGPT costs $0.20 per 1M input tokens and $0.20 per 1M output tokens, with a 12K-token context window.

Pricing

Input (per 1M tokens)
$0.20
Output (per 1M tokens)
$0.20
Cached input (per 1M)
—

Specifications

Provider
NanoGPT
Context window
12K tokens
Parameters
—
Released
Oct 2024
Open weights
No
Frontier model
No

Benchmarks

Compare Yi Lightning with…

FAQ

How much does Yi Lightning cost?

Yi Lightning is priced at $0.20 per 1M input tokens and $0.20 per 1M output tokens. Output tokens cost more than input.

What is Yi Lightning's context window?

Yi Lightning supports a context window of 12K tokens — the maximum prompt plus response length it can handle in a single request.

Is Yi Lightning open weight?

No — Yi Lightning is a closed/proprietary model accessed via API.

Data as of 2026-06-28. Source: models.dev (open). Pricing is per 1M tokens (USD); confirm with the provider before production use.