ERNIE X1.1 Preview · aihubmix
The Wenxin large model X1.1 has made significant improvements in question answering, tool invocation, intelligent agents, instruction following, logical reasoning, mathematics, and coding tasks, with notable enhancements in factual accuracy. The context length has been extended to 64K tokens, supporting longer inputs and dialogue history, which improves the coherence of long-chain reasoning while maintaining response speed.
Entrada, $/1M $0.14
Salida, $/1M $0.54
Contexto 119 000
Salida máx. 64 000
Acepta texto
Última comprobación 04.11.2026 12:00:14 UTC
Fuente página del proveedor
Alertas de precio
API
API compatible con OpenAI: los SDK oficiales de OpenAI funcionan con esta URL base. Sustituye YOUR_API_KEY por tu clave del proveedor.
| URL base de la API | |
|---|---|
| Endpoint | |
| ID del modelo | |
curl
curl https://aihubmix.com/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "ERNIE-X1.1-Preview", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "ERNIE-X1.1-Preview",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "ERNIE-X1.1-Preview",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Solicitud (JSON)
{
"model": "ERNIE-X1.1-Preview",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Respuesta (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "ERNIE-X1.1-Preview",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}La dirección se toma de la lista de modelos del proveedor; compruébala con su documentación.
Source: AI Rate Card, https://airatecard.com/es/c/offer%3Aaihubmix%7CERNIE-X1.1-Preview, prices checked 2026-11-04; seller's page: https://aihubmix.com
Datos técnicos
ID: offer:aihubmix|ERNIE-X1.1-Preview