ERNIE 5.5 Flash Preview vs Gemini 3.8 Flash
Price, context, speed and uptime side by side
Gemini 3.8 Flash is 3 % cheaper than ERNIE 5.5 Flash Preview on a typical 1 : 3 input-to-output mix: $0.46 against $0.48 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.0021 on ERNIE 5.5 Flash Preview and $0.0018 on Gemini 3.8 Flash. Both read up to 1M tokens in one request. On OpenCheap, ERNIE 5.5 Flash Preview is served by 1 provider and Gemini 3.8 Flash by 9 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 | ERNIE 5.5 Flash PreviewBaidu | Gemini 3.8 FlashGoogle |
|---|---|---|
| Inputper 1M tokens | $0.15 | $0.12 (best) |
| Outputper 1M tokens | $0.59 | $0.58 (best) |
| Cached inputper 1M tokens | $0.015 | $0.012 (best) |
| On a 1 : 3 mixper 1M tokens, input to output | $0.48 | $0.46 (best) |
| One request10,000 tokens in, 1,000 out | $0.0021 | $0.0018 (best) |
| 1,000 requestsof that size | $2.06 | $1.80 (best) |
| List priceper 1M tokens, input / output | — | $0.75 / $3.75 |
| Context windowtokens in one request | 1M | 1M |
| Providersserving it on OpenCheap | 1 | 9 (best) |
| First tokenfastest provider, median | — | 2.02 s |
| Output speedfastest provider, median | — | 116 tok/s |
| Uptimebest provider, last day | — | 100 % |
| Model id | opencheap/ernie-5.5-flash-previewModel page → | opencheap/gemini-3.8-flashModel 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 Gemini 3.8 Flash instead of ERNIE 5.5 Flash Preview, change the model to opencheap/gemini-3.8-flash; 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/ernie-5.5-flash-preview",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)About the two models
ERNIE-5.5-Flash-Preview is a language model from Baidu. It reads and writes text. All Baidu models
Gemini 3.8 Flash, Google's September 2026 successor to 3.7 Flash, is aimed at long software engineering tasks and agents. It also targets enterprise workflows, reads text, images, video, audio and PDFs, and thinks at low, medium or high. All Google models
Questions
- Which is cheaper, ERNIE 5.5 Flash Preview or Gemini 3.8 Flash?
- Gemini 3.8 Flash is 3 % cheaper than ERNIE 5.5 Flash Preview on a typical 1 : 3 input-to-output mix: $0.46 against $0.48 per 1M tokens. Per 1M tokens, ERNIE 5.5 Flash Preview costs $0.15 input and $0.59 output; Gemini 3.8 Flash costs $0.12 input and $0.58 output.
- Which has the larger context window, ERNIE 5.5 Flash Preview or Gemini 3.8 Flash?
- Both read up to 1M tokens in one request.
- Can I use ERNIE 5.5 Flash Preview and Gemini 3.8 Flash 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/ernie-5.5-flash-preview or opencheap/gemini-3.8-flash, and each request goes to the cheapest healthy provider of that model.