TensaHub › Hugging Face Inference

GLM-5.3 · Decart

API del modelo zai-org/GLM-5.3:decart en Hugging Face Inference, $0.56 / $1.81 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

zai-org/GLM-5.3 served by Decart through the Hugging Face router (fp4 quantization).

Tipo
Modelo
Proveedor
Hugging Face Inference
Alojamiento
Decart
ID del modelo
zai-org/GLM-5.3:decart
Precio
De pago
Precio entrada / salida
$0.56 / $1.81 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
Funciones
Llamada a herramientas, Salida JSON
Tiempo de respuesta
Primer token 570 ms · 107 tokens/s · disponibilidad 100 %
Valoración de desarrolladores
Aún sin valorar
Documentación
https://huggingface.co/zai-org/GLM-5.3

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":"zai-org/GLM-5.3:decart","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="zai-org/GLM-5.3:decart",
    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: 'zai-org/GLM-5.3:decart',
  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 GLM-5.3 · Decart?

No: GLM-5.3 · Decart es una API de pago ($0.56 / $1.81 por millón de tokens).

¿Cómo llamo a GLM-5.3 · Decart desde mi código?

GLM-5.3 · Decart 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: zai-org/GLM-5.3:decart. Hay código listo para usar (streaming, JSON, reintentos) en la caja de herramientas para desarrolladores.

¿Cuál es la ventana de contexto de GLM-5.3 · Decart?

GLM-5.3 · Decart acepta hasta 1.048.576 tokens de contexto (mensaje e historial).

¿Qué alternativas hay a GLM-5.3 · Decart?

API similares del catálogo: GLM-5.3-Flash · Cohere, GLM-5.3-Flash · CoreWeave, GLM-5.3-Flash · Crusoe, GLM-5.3-Flash · DeepInfra, GLM-5.3-Flash · DigitalOcean.

Alternativas