ERNIE 5.5 Flash Preview (free)
Baidu logo

ERNIE 5.5 Flash Preview (free)

ernie-5.5-flash-preview-freellms.txt
Baidu
New
ERNIE 5.5 Flash Preview is the latest foundational model in Baidu's Wenxin (ERNIE) series, comprehensively optimized for programming, agents, knowledge work, and deep research. It has 280 billion total parameters, activates 14 billion parameters per token, and supports a 1M-token context window.

Pricing

  • Input Tokens: $0 /M tokens
  • Output Tokens: $0 /M tokens
  • Cache Read: $0 /M tokens

Input Modalities

  • Text

Output Modalities

  • Text

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="ernie-5.5-flash-preview-free",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is ERNIE 5.5 Flash Preview (free)?

ERNIE 5.5 Flash Preview is the latest foundational model in Baidu's Wenxin (ERNIE) series, comprehensively optimized for programming, agents, knowledge work, and deep research. It has 280 billion total parameters, activates 14 billion parameters per token, and supports a 1M-token context window.