Baidu: ERNIE-5.5-Flash-Preview is a capable model from OpenRouter with a 1.0M context window, supporting function calling. Priced at $0.000280/1K input, $0.0011/1K output.
Limited routing data available for Baidu: ERNIE-5.5-Flash-Preview. Intelligence insights will appear as more requests are routed through ANT.
from openai import OpenAI
client = OpenAI(
base_url="https://api.antbase.ai/v1",
api_key="YOUR_ANT_API_KEY",
)
response = client.chat.completions.create(
model="baidu/ernie-5.5-flash-preview",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)