GLM 5.4 vs ERNIE Light DT 1.0 (Intl)
Price, context, speed and uptime side by side
GLM 5.4 is 3 % cheaper than ERNIE Light DT 1.0 (Intl) on a typical 1 : 3 input-to-output mix: $3.28 against $3.40 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.017 on GLM 5.4 and $0.016 on ERNIE Light DT 1.0 (Intl). Both read up to 1M tokens in one request. On OpenCheap, GLM 5.4 is served by 1 provider and ERNIE Light DT 1.0 (Intl) by 2 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-11-23 23:56 UTC.
Side by side
| Model | GLM 5.4Zhipu | ERNIE Light DT 1.0 (Intl)Baidu |
|---|---|---|
| Inputper 1M tokens | $1.26 | $1.19 (best) |
| Outputper 1M tokens | $3.96 (best) | $4.14 |
| Cached inputper 1M tokens | $0 (best) | $0.12 |
| On a 1 : 3 mixper 1M tokens, input to output | $3.28 (best) | $3.40 |
| One request10,000 tokens in, 1,000 out | $0.017 | $0.016 (best) |
| 1,000 requestsof that size | $16.56 | $16.00 (best) |
| List priceper 1M tokens, input / output | — | $1.13 / $3.94 |
| Context windowtokens in one request | 1M | 1M |
| Providersserving it on OpenCheap | 1 | 2 (best) |
| First tokenfastest provider, median | — | 1.63 s |
| Output speedfastest provider, median | — | 54 tok/s |
| Uptimebest provider, last day | — | 100 % |
| Model id | opencheap/glm-5.4Model page → | opencheap/ernie-light-dt-1.0-intlModel page → |
Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.
Switch between them
Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call ERNIE Light DT 1.0 (Intl) instead of GLM 5.4, change the model to opencheap/ernie-light-dt-1.0-intl; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in usage.cost.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/glm-5.4",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)About the two models
GLM 5.4 is a Zhipu model on OpenCheap. All Zhipu models
ERNIE-Light-DT-1.0 is a language model from Baidu. It reads and writes text. All Baidu models
Questions
- Which is cheaper, GLM 5.4 or ERNIE Light DT 1.0 (Intl)?
- GLM 5.4 is 3 % cheaper than ERNIE Light DT 1.0 (Intl) on a typical 1 : 3 input-to-output mix: $3.28 against $3.40 per 1M tokens. Per 1M tokens, GLM 5.4 costs $1.26 input and $3.96 output; ERNIE Light DT 1.0 (Intl) costs $1.19 input and $4.14 output.
- Which has the larger context window, GLM 5.4 or ERNIE Light DT 1.0 (Intl)?
- Both read up to 1M tokens in one request.
- Can I use GLM 5.4 and ERNIE Light DT 1.0 (Intl) with the same API key?
- Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/glm-5.4 or opencheap/ernie-light-dt-1.0-intl, and each request goes to the cheapest healthy provider of that model.