API del modelo mistralai/Mistral-Large-4-1T-A52B:mistral en Hugging Face Inference, $0.7 / $2.1 por millón de tokens, contexto 1.048.576 tokens. Ejemplos en curl, Python y JavaScript, prueba en directo.
Probar y valorar en el catálogo
mistralai/Mistral-Large-4-1T-A52B served by Mistral through the Hugging Face router.
- Tipo
- Modelo
- Proveedor
- Hugging Face Inference
- Alojamiento
- Mistral
- ID del modelo
mistralai/Mistral-Large-4-1T-A52B:mistral- Precio
- De pago
- Precio entrada / salida
- $0.7 / $2.1 por millón de tokens
- Acceso sin clave
- No
- Variable de clave
HF_TOKEN- URL base (compatible con OpenAI)
https://router.huggingface.co/v1- Contexto
- 1.048.576 tokens
- Entradas
- Texto, Imagen
- Funciones
- Llamada a herramientas, Salida JSON
- Tiempo de respuesta
- Primer token 767 ms · 83 tokens/s · disponibilidad 100 %
- Valoración de desarrolladores
- Aún sin valorar
- Documentación
- https://huggingface.co/mistralai/Mistral-Large-4-1T-A52B
Ejemplos de código
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"mistralai/Mistral-Large-4-1T-A52B:mistral","messages":[{"role":"user","content":"Hola, preséntate en una frase."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
model="mistralai/Mistral-Large-4-1T-A52B:mistral",
messages=[{"role": "user", "content": "Hola, preséntate en una frase."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
model: 'mistralai/Mistral-Large-4-1T-A52B:mistral',
messages: [{ role: 'user', content: 'Hola, preséntate en una frase.' }],
})
console.log(r.choices[0].message.content)
Generar el código de integración →
Búsquedas populares
Preguntas frecuentes
¿Es gratuita la API de Mistral-Large-4-1T-A52B · Mistral?
No: Mistral-Large-4-1T-A52B · Mistral es una API de pago ($0.7 / $2.1 por millón de tokens).
¿Cómo llamo a Mistral-Large-4-1T-A52B · Mistral desde mi código?
Mistral-Large-4-1T-A52B · Mistral ofrece una API compatible con OpenAI en https://router.huggingface.co/v1: usa cualquier SDK de OpenAI (Python, JavaScript…) con esta URL base. Identificador del modelo: mistralai/Mistral-Large-4-1T-A52B:mistral. Hay código listo para usar (streaming, JSON, reintentos) en la caja de herramientas para desarrolladores.
¿Cuál es la ventana de contexto de Mistral-Large-4-1T-A52B · Mistral?
Mistral-Large-4-1T-A52B · Mistral acepta hasta 1.048.576 tokens de contexto (mensaje e historial).
¿Qué alternativas hay a Mistral-Large-4-1T-A52B · Mistral?
API similares del catálogo: Mistral: Pixtral Large 2502, Mistral: Mistral Large 4, Mistral: Mistral Medium 3.5, Mistral: Mistral Medium 3.5 (batch), Mistral: Mistral Small 4.
Alternativas
- Mistral: Pixtral Large 2502 — De pago
- Mistral: Mistral Large 4 — De pago
- Mistral: Mistral Medium 3.5 — De pago
- Mistral: Mistral Medium 3.5 (batch) — De pago
- Mistral: Mistral Small 4 — De pago
- Mistral: Mistral Small 4 (batch) — De pago
- Mistral: Devstral 2 2512 — De pago
- Mistral: Ministral 3 14B 2512 — De pago
- Mistral: Ministral 3 8B 2512 — De pago
- Mistral: Ministral 3 8B 2512 (batch) — De pago
- Mistral: Ministral 3 3B 2512 — De pago
- Mistral: Mistral Large 3 2512 — De pago