# Baidu: ernie-x1.1-preview

- Model ID: `ernie-x1.1-preview`
- Provider: Baidu
- Web version: https://www.moleapi.com/en/models/baidu/ernie-x1.1-preview
- Content status: catalog

## Model introduction

ERNIE model by 百度 for general chat, writing, coding assistance, and tool-assisted workflows.

## Model capabilities

- OpenAI compatible

### Verified specifications

- Catalog status: Currently available on MoleAPI
- Compatible protocols: openai
- Available billing groups: Standard

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Standard (default, x1)

- Input: $0.15 / 1M tokens
- Output: $0.6 / 1M tokens

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| openai | POST | /v1/chat/completions |

- Live pricing source: https://home.moleapi.com/api/pricing

## About ernie-x1.1-preview

ERNIE model by 百度 for general chat, writing, coding assistance, and tool-assisted workflows.

### Sources

- [MoleAPI console pricing catalog](https://home.moleapi.com/api/pricing) — MoleAPI

## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"ernie-x1.1-preview","messages":[{"role":"user","content":"Hello"}]}'
```

## More related models

- [ernie-5.1](https://www.moleapi.com/en/models/baidu/ernie-5.1) — Baidu
- [ernie-5.0-thinking-preview](https://www.moleapi.com/en/models/baidu/ernie-5.0-thinking-preview) — Baidu
- [ernie-4.5-300b-a47b](https://www.moleapi.com/en/models/baidu/ernie-4.5-300b-a47b) — Baidu
- [gpt-5.6-luna](https://www.moleapi.com/en/models/openai/gpt-5.6-luna) — OpenAI
- [gpt-5.6-sol](https://www.moleapi.com/en/models/openai/gpt-5.6-sol) — OpenAI
- [gpt-5.6-terra](https://www.moleapi.com/en/models/openai/gpt-5.6-terra) — OpenAI

## Frequently asked questions

### How is ernie-x1.1-preview priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access ernie-x1.1-preview?

The catalog currently lists openai.

### How do I switch an existing project to ernie-x1.1-preview?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the ernie-x1.1-preview details come from?

Only confirmed availability, pricing, and protocol details from the MoleAPI catalog are included.
