/* global window */
window.registerArticle({
  slug: '2026-06-17-glm-5-2',
  category: 'noticias',
  date: '2026-06-17',
  related: ['integrar-com-o-que-o-time-ja-usa', 'governanca-de-agentes'],
  image: { src: 'assets/news/2026-06-17-glm-5-2.jpg', zoom: 1, fx: 0.5, fy: 0.5, credit: 'Foto: BalticServers.com, CC BY-SA 3.0. Tratada em halftone.' },
  i18n: {
    pt: {
      title: 'GLM-5.2: um modelo aberto de código por uma fração do custo',
      dek: 'A Z.ai liberou os pesos do GLM-5.2 sob licença MIT. Mira tarefas longas de código e agentes, fica perto do topo nos benchmarks e custa uma fração das opções fechadas.',
      body: [
        { type: 'lead', text: 'A Z.ai, antiga Zhipu, liberou os pesos do GLM-5.2 sob licença MIT. É um modelo aberto desenhado para trabalho autônomo de engenharia de software, com desempenho perto do topo e um custo que é uma fração do das opções fechadas.' },
        { type: 'h2', text: 'O que foi lançado' },
        { type: 'p', text: ['O GLM-5.2 tem 753 bilhões de parâmetros e uma janela de contexto de 1 milhão de tokens. Segundo a ', { href: 'https://venturebeat.com/technology/z-ais-open-weights-glm-5-2-beats-gpt-5-5-on-multiple-long-horizon-coding-benchmarks-for-1-6th-the-cost', text: 'VentureBeat' }, ', ele supera o GPT-5.5 em vários benchmarks de código de horizonte longo por cerca de um sexto do custo.'] },
        { type: 'p', text: ['Nos números divulgados pela Z.ai, o GLM-5.2 marcou 62,1 no SWE-bench Pro, à frente do GPT-5.5 (58,6), e 81,0 no Terminal-Bench 2.1, a poucos pontos do Claude Opus 4.8 (85,0). A ', { href: 'https://aiweekly.co/alerts/zhipu-ais-glm-52-tops-open-weights-intelligence-index-with-score-of-51', text: 'AI Weekly' }, ' aponta que ele lidera o índice de inteligência entre os modelos de pesos abertos.'] },
        { type: 'callout', title: 'O ponto que importa para empresas', text: ['O acesso via API custa cerca de US$ 1,4 por milhão de tokens de entrada e US$ 4,4 na saída. A ', { href: 'https://www.techtimes.com/articles/318543/20260617/glm-52-open-weights-live-top-coding-benchmark-api-use-carries-china-data-risk.htm', text: 'TechTimes' }, ' lembra que usar a API hospedada levanta questões de dados na China. Como os pesos são abertos, dá para rodar o modelo na própria infraestrutura e manter o dado em casa.'] },
        { type: 'h2', text: 'Por que importa para quem implementa IA' },
        { type: 'p', text: 'Um modelo aberto, barato e forte em tarefas longas de código é exatamente o tipo de peça que torna agentes em produção mais viáveis: menos custo por tarefa, menos dependência de um único fornecedor e a opção de rodar em casa para controlar dado e latência.' },
        { type: 'h2', text: 'O modelo é a parte fácil' },
        { type: 'p', text: ['Para a gente, isso reforça uma curva que já esperávamos: a inteligência fica mais barata e mais capaz a cada mês. Mas trocar de modelo é o passo simples. O que decide o resultado é o processo e a adoção. Quem ganha com um lançamento desses é quem já ', { to: 'integrar-com-o-que-o-time-ja-usa', text: 'integra o agente ao que o time usa' }, ' e ', { to: 'governanca-de-agentes', text: 'acompanha o agente em produção' }, '.'] },
        { type: 'ul', items: [
          [{ href: 'https://venturebeat.com/technology/z-ais-open-weights-glm-5-2-beats-gpt-5-5-on-multiple-long-horizon-coding-benchmarks-for-1-6th-the-cost', text: 'VentureBeat: GLM-5.2 supera o GPT-5.5 por um sexto do custo' }],
          [{ href: 'https://www.techtimes.com/articles/318543/20260617/glm-52-open-weights-live-top-coding-benchmark-api-use-carries-china-data-risk.htm', text: 'TechTimes: pesos abertos no ar, com alerta de dados na API' }],
          [{ href: 'https://aiweekly.co/alerts/zhipu-ais-glm-52-tops-open-weights-intelligence-index-with-score-of-51', text: 'AI Weekly: GLM-5.2 lidera o índice de pesos abertos' }],
        ] },
      ],
    },
    en: {
      title: 'GLM-5.2: an open coding model at a fraction of the cost',
      dek: 'Z.ai released GLM-5.2 weights under an MIT license. It targets long-horizon coding and agents, lands near the top on benchmarks, and costs a fraction of the closed options.',
      body: [
        { type: 'lead', text: 'Z.ai, formerly Zhipu, released the GLM-5.2 weights under an MIT license. It is an open model built for autonomous software engineering, with performance near the top and a cost that is a fraction of the closed options.' },
        { type: 'h2', text: 'What shipped' },
        { type: 'p', text: ['GLM-5.2 has 753 billion parameters and a 1 million token context window. According to ', { href: 'https://venturebeat.com/technology/z-ais-open-weights-glm-5-2-beats-gpt-5-5-on-multiple-long-horizon-coding-benchmarks-for-1-6th-the-cost', text: 'VentureBeat' }, ', it beats GPT-5.5 on several long-horizon coding benchmarks for about one sixth of the cost.'] },
        { type: 'p', text: ['In the numbers published by Z.ai, GLM-5.2 scored 62.1 on SWE-bench Pro, ahead of GPT-5.5 (58.6), and 81.0 on Terminal-Bench 2.1, a few points behind Claude Opus 4.8 (85.0). ', { href: 'https://aiweekly.co/alerts/zhipu-ais-glm-52-tops-open-weights-intelligence-index-with-score-of-51', text: 'AI Weekly' }, ' notes it leads the intelligence index among open-weights models.'] },
        { type: 'callout', title: 'The point that matters for companies', text: ['API access costs about US$ 1.4 per million input tokens and US$ 4.4 on output. ', { href: 'https://www.techtimes.com/articles/318543/20260617/glm-52-open-weights-live-top-coding-benchmark-api-use-carries-china-data-risk.htm', text: 'TechTimes' }, ' notes that using the hosted API raises China data questions. Because the weights are open, you can run the model on your own infrastructure and keep the data in house.'] },
        { type: 'h2', text: 'Why it matters for anyone implementing AI' },
        { type: 'p', text: 'An open model that is cheap and strong at long coding tasks is exactly the kind of building block that makes agents in production more viable: lower cost per task, less dependence on a single vendor, and the option to self-host for control over data and latency.' },
        { type: 'h2', text: 'The model is the easy part' },
        { type: 'p', text: ['For us this confirms a curve we already expected: intelligence gets cheaper and more capable every month. But swapping the model is the simple step. What decides the outcome is the process and adoption. The ones who win with a release like this are those who already ', { to: 'integrar-com-o-que-o-time-ja-usa', text: 'integrate the agent into what the team uses' }, ' and ', { to: 'governanca-de-agentes', text: 'monitor the agent in production' }, '.'] },
        { type: 'ul', items: [
          [{ href: 'https://venturebeat.com/technology/z-ais-open-weights-glm-5-2-beats-gpt-5-5-on-multiple-long-horizon-coding-benchmarks-for-1-6th-the-cost', text: 'VentureBeat: GLM-5.2 beats GPT-5.5 for one sixth of the cost' }],
          [{ href: 'https://www.techtimes.com/articles/318543/20260617/glm-52-open-weights-live-top-coding-benchmark-api-use-carries-china-data-risk.htm', text: 'TechTimes: open weights live, with an API data warning' }],
          [{ href: 'https://aiweekly.co/alerts/zhipu-ais-glm-52-tops-open-weights-intelligence-index-with-score-of-51', text: 'AI Weekly: GLM-5.2 tops the open-weights index' }],
        ] },
      ],
    },
    es: {
      title: 'GLM-5.2: un modelo abierto de código por una fracción del costo',
      dek: 'Z.ai liberó los pesos de GLM-5.2 con licencia MIT. Apunta a tareas largas de código y agentes, queda cerca del tope en los benchmarks y cuesta una fracción de las opciones cerradas.',
      body: [
        { type: 'lead', text: 'Z.ai, la antigua Zhipu, liberó los pesos de GLM-5.2 con licencia MIT. Es un modelo abierto pensado para trabajo autónomo de ingeniería de software, con rendimiento cerca del tope y un costo que es una fracción del de las opciones cerradas.' },
        { type: 'h2', text: 'Qué se lanzó' },
        { type: 'p', text: ['GLM-5.2 tiene 753 mil millones de parámetros y una ventana de contexto de 1 millón de tokens. Según ', { href: 'https://venturebeat.com/technology/z-ais-open-weights-glm-5-2-beats-gpt-5-5-on-multiple-long-horizon-coding-benchmarks-for-1-6th-the-cost', text: 'VentureBeat' }, ', supera a GPT-5.5 en varios benchmarks de código de horizonte largo por cerca de un sexto del costo.'] },
        { type: 'p', text: ['En los números publicados por Z.ai, GLM-5.2 marcó 62,1 en SWE-bench Pro, por delante de GPT-5.5 (58,6), y 81,0 en Terminal-Bench 2.1, a pocos puntos de Claude Opus 4.8 (85,0). ', { href: 'https://aiweekly.co/alerts/zhipu-ais-glm-52-tops-open-weights-intelligence-index-with-score-of-51', text: 'AI Weekly' }, ' señala que lidera el índice de inteligencia entre los modelos de pesos abiertos.'] },
        { type: 'callout', title: 'El punto que importa para empresas', text: ['El acceso por API cuesta cerca de US$ 1,4 por millón de tokens de entrada y US$ 4,4 en la salida. ', { href: 'https://www.techtimes.com/articles/318543/20260617/glm-52-open-weights-live-top-coding-benchmark-api-use-carries-china-data-risk.htm', text: 'TechTimes' }, ' recuerda que usar la API alojada plantea dudas de datos en China. Como los pesos son abiertos, se puede correr el modelo en la propia infraestructura y mantener el dato en casa.'] },
        { type: 'h2', text: 'Por qué importa para quien implementa IA' },
        { type: 'p', text: 'Un modelo abierto, barato y fuerte en tareas largas de código es justo el tipo de pieza que hace más viables los agentes en producción: menos costo por tarea, menos dependencia de un solo proveedor y la opción de correrlo en casa para controlar dato y latencia.' },
        { type: 'h2', text: 'El modelo es la parte fácil' },
        { type: 'p', text: ['Para nosotros esto confirma una curva que ya esperábamos: la inteligencia se vuelve más barata y más capaz cada mes. Pero cambiar de modelo es el paso simple. Lo que decide el resultado es el proceso y la adopción. Los que ganan con un lanzamiento así son los que ya ', { to: 'integrar-com-o-que-o-time-ja-usa', text: 'integran el agente a lo que el equipo usa' }, ' y ', { to: 'governanca-de-agentes', text: 'acompañan al agente en producción' }, '.'] },
        { type: 'ul', items: [
          [{ href: 'https://venturebeat.com/technology/z-ais-open-weights-glm-5-2-beats-gpt-5-5-on-multiple-long-horizon-coding-benchmarks-for-1-6th-the-cost', text: 'VentureBeat: GLM-5.2 supera a GPT-5.5 por un sexto del costo' }],
          [{ href: 'https://www.techtimes.com/articles/318543/20260617/glm-52-open-weights-live-top-coding-benchmark-api-use-carries-china-data-risk.htm', text: 'TechTimes: pesos abiertos disponibles, con alerta de datos en la API' }],
          [{ href: 'https://aiweekly.co/alerts/zhipu-ais-glm-52-tops-open-weights-intelligence-index-with-score-of-51', text: 'AI Weekly: GLM-5.2 lidera el índice de pesos abiertos' }],
        ] },
      ],
    },
  },
});
