--- title: GLM-4.6V-Flash API emoji: 🤖 colorFrom: blue colorTo: indigo sdk: docker pinned: false app_port: 7860 --- # GLM-4.6V-Flash — OpenAI-Compatible API ## Endpoint ``` POST https://-glm-flash-api.hf.space/v1/chat/completions ``` ## Ejemplo ```bash curl https://-glm-flash-api.hf.space/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{"model":"GLM-4.6V-Flash","messages":[{"role":"user","content":"Hola"}],"max_tokens":512}' ``` | Variable | Default | Descripción | |---|---|---| | `CONTEXT_SIZE` | `8192` | Tokens de contexto | | `NUM_THREADS` | `2` | Hilos CPU | | `MAX_TOKENS` | `1024` | Tokens por respuesta | Keep-alive n8n: GET /health cada 9 min. ⚠️ Primer arranque: descarga ~8 GB (~15s en HF).