ModelInfo
English
All models

ERNIE 5.0

Baidu ERNIE 5.0 native omni-modal model with text generation, vision understanding and deep thinking. Scheduled to be retired on 2026-10-29 (official retirement notice).

Baiduernie-5.02025-11-13Report incorrect data

Specs

Context
131.1K
Max output
65.5K
Input price
¥6/ 1M tokens
Output price
¥24/ 1M tokens
Released
2025-11-13

Context

Context window
131.1K
Max input
121.9K
Max output
65.5K

Pricing · CNY / 1M tokens

Input
¥6
Output
¥24
Cache read
—
Cache write
—

Modalities

Input
TextImage
Output
Text

API

API types
chatmessages

Reasoning

Reasoning
Yes
Levels
—

Info

Status
Deprecated
Released
2025-11-13
Knowledge cutoff
—

Features

Confirmed
streaming
Source · official docsVerified 2026-10-11

How to call

1 provider

baidumodel = ernie-5.0

chat
POSThttps://qianfan.baidubce.com/v2/chat/completions
messages
POSThttps://qianfan.baidubce.com/anthropic/v1/messages

JSON

Standard format
ernie-5.0.json
{
  "id": "ernie-5.0",
  "object": "model",
  "created": 1762992000,
  "owned_by": "baidu",
  "name": "ERNIE 5.0",
  "api": {
    "types": [
      "chat",
      "messages"
    ]
  },
  "limits": {
    "context": 131072,
    "input": 121856,
    "output": 65536
  },
  "modalities": {
    "input": [
      "text",
      "image"
    ],
    "output": [
      "text"
    ]
  },
  "reasoning": {
    "supported": true,
    "efforts": []
  },
  "pricing": {
    "currency": "CNY",
    "unit": "1M_tokens",
    "input": 6,
    "output": 24,
    "cache_read": null,
    "cache_write": null
  },
  "features": [
    "streaming"
  ],
  "info": {
    "status": "deprecated",
    "release_date": "2025-11-13",
    "knowledge_cutoff": null,
    "description": "Baidu ERNIE 5.0 native omni-modal model with text generation, vision understanding and deep thinking. Scheduled to be retired on 2026-10-29 (official retirement notice).",
    "docs": "https://cloud.baidu.com/doc/qianfan/s/rmh4stp0j",
    "verified_at": "2026-10-11"
  }
}

Official sources

6