ERNIE 4.5 300B A47B

BaiduMCP Tool Call
baidu/ernie-4.5-300b-a47bOpen Weights

Open ERNIE text MoE with 300B total and 47B active parameters

Benchmark Pricing$0.28 / 1M in$1.10 / 1M out
Context: 131,072 tokens•Max Output: 12,000 tokens•Released: 2025-06-30

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output12,00012K tokens
LicenseApache-2.0Self-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ ERNIE 4.5 300B A47B natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling ERNIE 4.5 300B A47B via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.BAIDU_API_KEY,
});

const response = await client.chat.completions.create({
  model: "baidu/ernie-4.5-300b-a47b",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

1 providers
Jiekou.AIbaidu/ernie-4.5-300b-a47b-paddle
$0.28 / $1.10

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.