ERNIE X1 Turbo 32K Preview

by Baidu · chat

ERNIE X1 Turbo 32K Preview by Baidu — Access via Apertis API. Input: $0.0008/1M tokens, Output: $0.0030/1M tokens. Context: 32K tokens. OpenAI-compatible API with 50% cost savings.

Pricing

InputOutputContext Window
$0.0008 / 1M tokens$0.0030 / 1M tokens32K tokens

Quick Start

Use the Apertis API (OpenAI-compatible) to access ERNIE X1 Turbo 32K Preview:

curl https://api.apertis.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ernie-x1-turbo-32k-preview", "messages": [{"role": "user", "content": "Hello!"}]}'

Features