import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "baidu/ernie-4.5-vl-424b-a47b", "messages": [ { "role": "user", "content": "Hello!" } ] }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "baidu/ernie-4.5-vl-424b-a47b", "messages": [ { "role": "user", "content": "Hello!" } ] }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"baidu/ernie-4.5-vl-424b-a47b","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
ERNIE 4.5 VL 424B A47B This page | Coding + agents | |||
| Reasoning + agents | ||||
| Balanced coding + agents | ||||
| Long-context, multimodal & agentic workflows | ||||
| Reasoning + agents |
ERNIE 4.5 VL 424B A47B has a 123,000 tokens context window and can return up to 123,000 tokens.
ERNIE 4.5 VL 424B A47B takes image, text as input and returns text.
Use baidu/ernie-4.5-vl-424b-a47b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
ERNIE 4.5 VL 424B A47B became available on January 12, 2026.
ERNIE 4.5 VL 424B A47B is priced at input $0.5577 / 1M tokens, output $1.677 / 1M tokens.
Yes, ERNIE 4.5 VL 424B A47B can stream responses as they are generated.
Yes, ERNIE 4.5 VL 424B A47B accepts image input alongside text.
ERNIE 4.5 VL 424B A47B was built by Baidu.