ERNIE X1 API

It competes with leading global models by combining high performance with cost‑effective pricing, making it suitable for developers, enterprise applications, and research use cases.
Output

How to use ERNIE X1 API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to .

OpenAI-compatible — swap the base URL and it works with your existing SDK.

ERNIE X1 API Pricing

TypePrice
Input
Output

ERNIE X1 vs other models

ModelInputOutputContextBest for
ERNIE X1
This page
$6.5 / 1M tokens
$39 / 1M tokens
1.05M tokens
Reasoning + agents
$2.6 / 1M tokens
$13 / 1M tokens
1M tokens
Balanced coding + agents
$3.9 / 1M tokens
$19.5 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$0.65 / 1M tokens
$3.9 / 1M tokens
1.05M tokens
Reasoning + agents

Frequently asked questions

Yes, ERNIE X1 can stream responses as they are generated.

Yes, ERNIE X1 supports both function calling and structured outputs.

ERNIE X1 was built by Baidu.

Start building with ERNIE X1

Get API Key
1000+ models, one API.