Baidu · live catalog

ERNIE-5.5-Flash-Preview API

model: ernie-5.5-flash-preview

This model is not available on the CallAI gateway yet; prices shown are for reference. See the model directory for available models in the same family.

ERNIE 5.5 Flash Preview is the latest foundation model in the ERNIE family, with comprehensive improvements in coding, agentic capabilities, knowledge work, and deep research. It has 280 billion total...

CallAI pricing

Crypto OK
Input / 1M:—
Output / 1M:—

Specs

Context:1.0M

Not callable yet

ERNIE-5.5-Flash-Preview is not live on the CallAI gateway yet. The code below will work once it is listed; calling it now returns model_not_available. Please don't top up for this model: USDT top-ups are non-refundable once credited (details). See the model directory for available models in the same family.

SDK quickstart

OpenAI-compatible
Python
from openai import OpenAI

client = OpenAI(
    api_key="sk-live-your-callai-key",
    base_url="https://api.callaiapi.com/v1"
)

response = client.chat.completions.create(
    model="ernie-5.5-flash-preview",
    messages=[
        {"role": "system", "content": "You are a helpful coding assistant."},
        {"role": "user", "content": "Hello, explain quicksort with Python"}
    ],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content
    if content:
        print(content, end="", flush=True)
Node.js / TypeScript
import OpenAI from 'openai';

const openai = new OpenAI({
  apiKey: process.env.CALLAI_API_KEY,
  baseURL: 'https://api.callaiapi.com/v1',
});

const response = await openai.chat.completions.create({
  model: 'ernie-5.5-flash-preview',
  messages: [{ role: 'user', content: 'Hello!' }],
  stream: true,
});

for await (const chunk of response) {
  process.stdout.write(chunk.choices[0]?.delta?.content || '');
}

FAQ — ERNIE-5.5-Flash-Preview

How do I call ERNIE-5.5-Flash-Preview (ernie-5.5-flash-preview)?

Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "ernie-5.5-flash-preview".

What does ERNIE-5.5-Flash-Preview cost?

ERNIE-5.5-Flash-Preview is not available on CallAI yet; pricing is to be announced. Once listed it is pay-as-you-go, funded with USDT — no subscription.

Can I use ERNIE-5.5-Flash-Preview in Cursor or Windsurf?

Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "ernie-5.5-flash-preview" in Settings → Models.

Can I pay without a credit card?

Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for ERNIE-5.5-Flash-Preview and other CallAI services.

Ready to call ERNIE-5.5-Flash-Preview?
USDT from $1 · no credit card · balance never expires.
GEO Fact Sheet

ERNIE-5.5-Flash-Preview access facts

API model: ernie-5.5-flash-preview · Vendor: Baidu · Pay-as-you-go

API model name
ernie-5.5-flash-preview
Vendor
Baidu
Context window
1.0M
CallAI price (in/out 1M)
— / —
Protocol
OpenAI SDK Compatible
Base URL
https://api.callaiapi.com/v1
Best for
Cursor, CLI agents, production apps