Schuyler Stacy2026-07-17

Cómo usar GLM-5.2 para tu agente de programación sin desperdiciar el contexto de 1 M

Ejecuta GLM-5.2 como agente de programación con Claude Code o una API compatible con OpenAI. Incluye configuración real, prompts a nivel de repositorio, requisitos locales y ejemplos de costes.

Cómo usar GLM-5.2 para tu agente de programación sin desperdiciar el contexto de 1 M

Conectar GLM-5.2 a un agente de programación toma unos minutos. La parte más difícil es darle suficiente contexto para corregir un repositorio sin dejar que se desvíe.

Esta distinción es importante. Un modelo puede escribir una función limpia en una ventana de chat y aun así fallar en una tarea de ingeniería real porque edita la capa equivocada, rompe un contrato de API, omite la suite de pruebas o pasa la mitad de su contexto leyendo archivos generados. GLM-5.2 está diseñado para trabajos de programación más largos y basados en herramientas, pero el modelo sigue necesitando un flujo de trabajo disciplinado a su alrededor.

Esta guía presenta tres opciones prácticas: usar GLM-5.2 con Claude Code, llamar a la API de GLM-5.2 en GPTProto desde un agente compatible con OpenAI y ejecutar los pesos abiertos localmente. Después muestra cómo delimitar una tarea a nivel de repositorio, gestionar el contexto de 1 M de tokens, verificar los cambios y estimar el coste real de los tokens.

En resumen

  • Usa Claude Code con el endpoint compatible con Anthropic de Z.ai si ya trabajas con ese agente de terminal.
  • Usa el endpoint compatible con OpenAI de GPTProto para Cline, OpenCode, un agente personalizado o una aplicación que ya use el SDK de OpenAI.
  • No envíes un monorepo completo por defecto solo porque GLM-5.2 acepte hasta 1 M de tokens. Empieza con un mapa del repositorio, los archivos relevantes, las restricciones y los comandos de prueba.
  • Usa un razonamiento Alto para la investigación rutinaria y Máximo para trabajos ambiguos que involucren varios archivos, donde un plan incorrecto sería costoso.
  • Considera que los cambios del agente no son fiables hasta que superen la compilación, el lint, las comprobaciones de tipos y las pruebas del repositorio.
  • Ejecuta el modelo localmente solo cuando la privacidad, el control o el uso continuo justifiquen una infraestructura importante. «Pesos abiertos» no significa «del tamaño de un portátil».
Tabla de contenido

What You Need Before You Start

GLM-5.2 is the model, not the complete coding agent. The surrounding tool still has to read files, edit them, run commands, preserve state, and decide when to stop.

Before connecting it, prepare:

  1. A coding-agent interface. Claude Code, Cline, OpenCode, or your own tool loop can fill this role.
  2. API access or local inference. Hosted access is the faster way to evaluate the model. Local inference gives more control but requires far more hardware and operations work.
  3. A repository that can verify itself. You should know the exact build, lint, type-check, and test commands before asking an agent to change code.
  4. An isolated working branch. Do not start a long autonomous task on a dirty production branch.
  5. Explicit boundaries. Decide whether the agent may install dependencies, access the network, change schemas, run migrations, or create commits.

The last two are not optional safety theater. A coding agent with shell access can make a technically valid change that is completely wrong for your release process.

Choose the Right Way to Run GLM-5.2

There are three sensible routes. The best one depends more on your existing tools and data rules than on model quality.

Route Best for Main advantage Main trade-off
Claude Code with Z.ai Developers already using Claude Code Direct Anthropic-compatible setup Uses a separate Z.ai key and plan
GPT Proto API OpenAI-compatible agents and custom apps Pay-as-you-go access with one key for 200+ models You still need an agent interface or tool loop
Local deployment Private code, custom serving, sustained workloads Full control over weights and infrastructure Large storage, memory, GPU, and serving requirements

For a first evaluation, use hosted access. You can learn whether GLM-5.2 fits your repositories before buying or reserving inference hardware. If you already route multiple text, image, or video models through one application, the GPT Proto model collection also lets you test GLM-5.2 without creating another isolated integration.

How to Use GLM-5.2 With Claude Code

Z.ai provides an Anthropic-compatible endpoint specifically for tools such as Claude Code and Goose. Its current documentation uses:

https://api.z.ai/api/anthropic

You need Node.js 18 or newer, Claude Code, a Z.ai API key, and an active plan that includes GLM-5.2. The official installation command is:

npm install -g @anthropic-ai/claude-code

Open ~/.claude/settings.json on macOS, Linux, or WSL. On native Windows, use %USERPROFILE%\.claude\settings.json. Add the following environment settings without deleting unrelated fields already in the file:

{
  "env": {
    "ANTHROPIC_AUTH_TOKEN": "your_zai_api_key",
    "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.5-air",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.2[1m]",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.2[1m]",
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1,
    "API_TIMEOUT_MS": "3000000"
  }
}

The [1m] suffix enables the 1M-context variant in Claude Code. Z.ai also recommends using a recent Claude Code version if that model name is not recognized. The configuration above follows the current Z.ai Claude Code guide and GLM-5.2 model-switching guide.

Start Claude Code from the repository you want it to access:

cd path/to/your-project
claude

Then run:

/status

Confirm that the settings source is the file you edited and that the selected model is glm-5.2 or glm-5.2[1m]. If it still shows another model, close all Claude Code sessions, open a new terminal, validate the JSON, and check the file path used by that installation.

Choose High or Max effort deliberately

GLM-5.2 exposes High and Max reasoning levels. In Claude Code, Z.ai maps low, medium, and high to GLM-5.2 High; xhigh, max, and ultra map to its Max mode. You can change the setting with /effort.

Start with High for code explanation, small bug investigations, test generation, and well-scoped edits. Use Max when the agent must trace a fault across several subsystems, plan a large migration, or work through an ambiguous failure with several competing causes. Max can improve the plan, but it also tends to produce more reasoning tokens and a slower answer. It should be a task-level decision rather than a permanent default.

How to Call the GLM-5.2 API on GPT Proto

Claude Code is only one interface. If your coding agent accepts an OpenAI-compatible provider, point it to GPT Proto and use the model string glm-5.2.

Install the current OpenAI Python client:

python -m pip install openai

Store the key as an environment variable rather than pasting it into source code:

export GPTPROTO_API_KEY="your_gptproto_api_key"

The following request is runnable as written after you add a valid key:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["GPTPROTO_API_KEY"],
    base_url="https://gptproto.com/v1",
)

response = client.chat.completions.create(
    model="glm-5.2",
    messages=[
        {
            "role": "system",
            "content": (
                "You are a repository-level coding assistant. Inspect before "
                "proposing changes. Preserve existing API contracts, do not add "
                "dependencies without approval, and list the verification "
                "commands required for every proposed edit."
            ),
        },
        {
            "role": "user",
            "content": (
                "An API client occasionally sends two refresh-token requests "
                "after several requests fail with 401. Identify the likely race "
                "condition, describe the files you would inspect, and return a "
                "minimal repair plan before writing code."
            ),
        },
    ],
)

print(response.choices[0].message.content)

The equivalent cURL request is:

curl https://gptproto.com/v1/chat/completions \
  -H "Authorization: Bearer $GPTPROTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.2",
    "messages": [
      {
        "role": "system",
        "content": "Inspect before editing. Preserve API contracts and report the tests required for every proposed change."
      },
      {
        "role": "user",
        "content": "Plan a safe fix for duplicate refresh-token requests after concurrent 401 responses."
      }
    ]
  }'

This is a real API call, but it is not yet an autonomous coding agent. To turn it into one, your application must expose controlled tools for actions such as reading a file, searching the repository, applying a patch, and running tests. It must then return tool results to the model until the task reaches a defined stopping condition.

That distinction is easy to blur in tutorials. A chat completion can propose a patch. An agent is the system that decides which files to inspect, executes the change, observes the result, and tries again.

GPT Proto currently lists GLM-5.2 at $1.26 per 1M input tokens and $3.96 per 1M output tokens. You can check the current rate and model details on the GLM-5.2 API page, while account-wide billing is available on the GPT Proto model page.

Use a Repository-Level Task Instead of a Chat Prompt

“Fix the auth bug” gives the agent a goal but no boundary, verification method, or definition of done. A better request makes the engineering contract explicit.

Use this template:

Goal
Fix the duplicate refresh-token request that occurs when several API calls
receive 401 responses at the same time.

Relevant context
- The frontend is TypeScript.
- Authentication state is managed in src/auth/.
- HTTP requests pass through src/api/client.ts.
- Existing public API contracts must not change.

Constraints
- Do not add dependencies.
- Do not change backend endpoints or token formats.
- Do not create a commit.
- Ask before modifying files outside src/auth/ and src/api/.

Required process
1. Read the relevant files and map the current refresh flow.
2. State the most likely cause and any assumptions.
3. Propose the smallest safe change before editing.
4. Implement only after the plan is clear.
5. Run npm run typecheck, npm run lint, and the authentication tests.

Definition of done
- Concurrent 401 responses share one refresh request.
- Queued requests retry once after refresh succeeds.
- Failed refresh clears authentication state without an infinite retry loop.
- Existing tests pass and a regression test covers the concurrent case.

Stop conditions
- Stop and ask if the fix requires a new package, backend change, migration,
  secret, or destructive command.

Final report
List changed files, explain the behavior change, show verification results,
and identify any remaining risk.

The prompt is longer than “fix the bug,” but it usually reduces wasted agent turns. It tells the model what not to touch and makes skipped verification visible.

Three GLM-5.2 Coding Agent Examples Worth Trying

Tiny code-generation tests reveal very little about an agent model. GLM-5.2's stated focus is long-horizon work, so evaluate it on tasks that involve navigation, planning, tools, and verification. Z.ai reports a 1M context window and substantial gains over GLM-5.1 on SWE-bench Pro and Terminal-Bench 2.1, but those benchmark results do not guarantee success in your repository. Your own task completion rate matters more than a general score. See the official GLM-5.2 model documentation for the reported evaluation setup.

1. Trace and repair a multi-file bug

Give the agent an error report, relevant logs, the test command, and permission to inspect the repository. Ask it to map the call path before editing. This tests whether it can maintain a hypothesis across middleware, services, and state management rather than patching the first suspicious function.

Require a regression test. Without one, a plausible patch can look complete while leaving the race condition intact.

2. Upgrade a dependency without changing behavior

Ask the agent to inventory direct and transitive usage, read the migration notes you provide, update the smallest possible surface, and run the full relevant test suite. Tell it not to silence type errors with broad casts or disable lint rules.

This tests constraint adherence. The challenge is not changing a version string; it is preserving behavior while interfaces move underneath the code.

3. Audit an unfamiliar repository before implementation

Provide a feature request and ask for a repository map, probable integration points, affected tests, and unresolved questions. Do not allow edits in the first pass.

This is a useful low-risk evaluation because you can judge whether the model understood the architecture before giving it write access. If its map is wrong, correct the context rather than paying for several failed implementation loops.

How to Use the 1M Context Without Paying to Read Everything

A 1M-token window is a ceiling, not a target. The most expensive mistake is assuming that more files automatically produce a better answer.

Start with a repository map. Include the top-level directory tree, package manifests, build and test commands, architectural notes, and the files closest to the failing behavior. Let the agent request additional files as its hypothesis develops.

Exclude obvious noise:

  • Generated build output
  • Dependency and vendor directories
  • Minified assets
  • Large snapshots unrelated to the task
  • Historical logs with no connection to the failure
  • Secrets and local environment files

For long tasks, ask the agent to maintain a short checkpoint containing the current goal, files changed, decisions made, test results, and open risks. A checkpoint is cheaper and easier to inspect than repeatedly replaying every earlier exchange.

Remember that API billing normally counts tokens processed on each request, not just unique text. If an agent repeatedly sends the same 300K-token repository context over ten turns, the billed input may approach 3M tokens before accounting for new messages, depending on the provider's caching and request behavior. A large window solves capacity; it does not remove the need for context management.

What Does a GLM-5.2 Coding Agent Cost?

At GPT Proto's current listed rates, the basic calculation is:

cost = input_tokens / 1,000,000 × $1.26
     + output_tokens / 1,000,000 × $3.96

Here are three illustrative totals:

Cumulative usage for one task Input cost Output cost Total
50K input + 5K output $0.0630 $0.0198 $0.0828
300K input + 30K output $0.3780 $0.1188 $0.4968
1M input + 100K output $1.2600 $0.3960 $1.6560

These are token-cost examples, not guaranteed per-task prices. A coding agent may make many model calls while reading files, planning, applying changes, interpreting test failures, and retrying. The number that matters is cumulative billed input and output across the full run.

Three controls keep that cost understandable:

  1. Set a maximum number of agent turns.
  2. Require approval before the task expands into new directories or a different problem.
  3. Record tokens and cost by task, not only by calendar month.

The third control helps you compare models honestly. A cheaper token can still produce a more expensive fix if it needs twice as many retries.

Can You Run GLM-5.2 Locally?

Yes, but “locally” needs qualification.

GLM-5.2 is released under the MIT license, and its official Hugging Face model card lists deployment paths for vLLM, SGLang, Transformers, KTransformers, Unsloth, Ascend NPUs, and quantized runtimes. That makes self-hosting technically available.

The full model is still roughly 753B total parameters, with about 40B active for each token. The active parameter count can reduce inference compute, but all expert weights still need to be stored and made available. As a rough weight-only calculation, 753B parameters require about 1.5TB at 16-bit precision or about 376GB at 4-bit precision before runtime overhead, KV cache, long-context memory, and serving headroom. The exact requirement depends on the quantization, framework, hardware topology, and context length.

That is why a claim that GLM-5.2 “runs locally” can be true while still being irrelevant to a laptop user. Heavily quantized community builds may lower the entry point, but they also change speed, output quality, supported context, or all three.

Choose local deployment when:

  • Source code cannot leave infrastructure you control.
  • You need to modify or fine-tune the weights.
  • Sustained usage makes owned infrastructure economical.
  • Your team can operate multi-GPU inference and monitor it.

Choose the hosted API when:

  • You are still evaluating model fit.
  • Usage is intermittent or difficult to predict.
  • You need working access more than infrastructure control.
  • Your team does not want to own inference operations.

Where GLM-5.2 Fits and Where Human Review Still Matters

GLM-5.2 is a credible choice for repository analysis, multi-file implementation, test repair, performance investigation, dependency work, and tool-driven technical research. Its large context is especially useful when a task genuinely crosses many related files.

Do not confuse a long context with authority to act. Keep a human approval step around:

  • Production database migrations
  • Authentication and authorization changes
  • Encryption, key management, and security controls
  • Destructive shell commands
  • Dependency licensing decisions
  • Automatic commits, merges, and deployments
  • Changes that cannot be reversed from version control or backups

For those tasks, the agent can investigate, draft a plan, prepare a patch, and run safe checks. A person should still approve the boundary-changing action.

A Practical GLM-5.2 Coding Agent Checklist

Before the run:

  • Create an isolated branch or worktree.
  • Confirm the selected model and endpoint.
  • Remove secrets from accessible context.
  • Define allowed directories and tools.
  • Provide the exact build and test commands.
  • State whether new dependencies are allowed.
  • Set turn, time, and cost limits.

Before accepting the result:

  • Read the diff rather than only the agent's summary.
  • Confirm that public APIs and schemas changed only when requested.
  • Run tests independently when the risk is meaningful.
  • Check for disabled rules, swallowed errors, broad type casts, and skipped tests.
  • Record unresolved risks and follow-up work.

The setup gets GLM-5.2 into your terminal or application. This checklist is what turns the connection into a usable engineering process.

Final Takeaway

The best way to use GLM-5.2 for a coding agent is not to hand it the largest possible context and wait. Connect it through the interface that fits your stack, begin with a repository map and a narrow task contract, require a plan before edits, and make verification part of the definition of done.

Use Claude Code when you want an established terminal workflow. Use the GLM-5.2 API when an OpenAI-compatible agent or custom application fits better. Consider self-hosting after privacy, control, or sustained volume makes the hardware worthwhile—not before.

With GPT Proto, the same API key and balance can also reach the wider AI model gallery, so you can compare GLM-5.2 with other coding models without rebuilding the integration around every provider.

Creative Studio

Genera imágenes, videos y más con APIs de producción.

Comenzar a crear
Creative Studio
Modelos relacionados
Todos los modelos
Z-AI
by Z-AI
10% OFF
Claude
20% OFF
Google
40% OFF
Google
40% OFF

Preguntas frecuentes

¿Es GLM-5.2 bueno para agentes de programación?

Sí, especialmente para tareas largas con varios archivos que impliquen navegar por el repositorio, usar herramientas, planificar y verificar repetidamente. Los resultados oficiales muestran una mejora importante frente a GLM-5.1 en evaluaciones de programación y tareas de largo recorrido. Considera esos resultados como una señal para probar el modelo, no como sustituto de evaluarlo en tus propios repositorios.

¿Puedo usar GLM-5.2 con Claude Code?

Sí. Z.ai ofrece un endpoint compatible con Anthropic para Claude Code en https://api.z.ai/api/anthropic. Establece los valores de modelo predeterminados de Sonnet y Opus en glm-5.2[1m], añade la ventana de compactación automática de 1 M, inicia Claude Code y verifica el modelo activo con /status.

¿Puedo usar la API de GLM-5.2 en GPTProto para un agente de programación?

Sí. GPTProto ofrece glm-5.2 mediante una API compatible con OpenAI, por lo que puede utilizarse con herramientas de agentes compatibles o con un ciclo de herramientas personalizado. Una llamada básica a la API genera una respuesta; tu framework de agentes sigue siendo responsable del acceso a archivos, la ejecución de comandos, el estado, los permisos y las condiciones de detención.

¿Cuáles son los requisitos de GLM-5.2?

El uso alojado requiere una clave de API, un cliente o agente de programación compatible y un repositorio con comandos de verificación conocidos. La implementación local completa es una carga de trabajo de nivel servidor porque GLM-5.2 tiene aproximadamente 753.000 millones de parámetros totales. Las necesidades de memoria varían mucho según la precisión, la cuantización, el contexto y el framework de servicio.

¿Puedo ejecutar GLM-5.2 localmente con Ollama o llama.cpp?

Las compilaciones cuantizadas pueden utilizarse con runtimes locales compatibles, y la página oficial del modelo enlaza a las cuantizaciones disponibles. Comprueba la memoria, el contexto y la compatibilidad arquitectónica exactos de la compilación antes de descargarla. No supongas que la presencia de un runtime significa que el contexto completo de 1 M o una velocidad útil estarán disponibles en tu equipo.

¿Debo usar un esfuerzo de razonamiento Alto o Máximo?

Usa Alto para investigaciones rutinarias y cambios bien delimitados. Usa Máximo para fallos ambiguos, refactorizaciones de todo el repositorio y tareas en las que el agente deba comparar varios planes antes de actuar. Máximo puede mejorar los trabajos difíciles, pero normalmente cuesta más tiempo y tokens de razonamiento.

¿Cuánto cuesta un agente de programación con GLM-5.2?

GPTProto muestra actualmente 1,26 USD por cada millón de tokens de entrada y 3,96 USD por cada millón de tokens de salida. Una tarea con un acumulado de 300.000 tokens de entrada y 30.000 de salida costaría aproximadamente 0,50 USD con esas tarifas. Las ejecuciones reales de los agentes varían porque cada lectura de archivo, reintento, resultado de prueba y contexto repetido puede añadir tokens.

¿Admite GLM-5.2 llamadas a herramientas?

Sí. GLM-5.2 admite flujos de trabajo de agentes basados en herramientas. El modelo puede decidir cuándo solicitar una herramienta disponible, pero la aplicación que lo rodea debe definir el esquema de la herramienta, ejecutar las acciones aprobadas, devolver los resultados y aplicar los permisos.

Artículos relacionados

Más blogs
¿Qué es GLM 5.2? Código con pesos abiertos a 1/6 del precio

¿Qué es GLM 5.2? Código con pesos abiertos a 1/6 del precio

Un laboratorio chino lanzó un modelo que puedes descargar gratis, ejecutar en tu propio hardware y cuyo precio es aproximadamente una sexta parte de lo que cobran los modelos de frontera cerrados; y que queda solo unos puntos por detrás de Claude Opus 4.8 en benchmarks reales de programación. Después lanzó el modelo sin publicar un solo benchmark oficial propio. Eso es GLM 5.2, y la brecha entre «sin cifras de marketing» y «casi en la cima de todas las clasificaciones independientes en una semana» es gran parte de lo que hace que valga la pena entenderlo. Escribo muchos de estos análisis, y la mayoría de las publicaciones sobre modelos nuevos se olvidan rápido porque simplemente repiten una ficha técnica. Esta es diferente en un aspecto que realmente importa a los desarrolladores: los pesos son abiertos bajo una licencia MIT, así que la pregunta habitual —«¿el benchmark es real o es marketing?»— tiene una respuesta inusualmente clara. La gente lo descargó y lo probó por sí misma. Esto es GLM 5.2, así es como funciona y estos son sus límites.

Michael Johnson | 2026-07-15

GLM-5.2 vs DeepSeek V4 Pro: benchmarks, precios y cuál usar realmente (2026)

GLM-5.2 vs DeepSeek V4 Pro: benchmarks, precios y cuál usar realmente (2026)

En resumen: Si tu carga de trabajo consiste en ingeniería agéntica de largo recorrido —un agente que recorre un repositorio durante horas y entrega una funcionalidad—, GLM-5.2 es el modelo más potente. Si tu carga de trabajo son algoritmos, matemáticas, razonamiento STEM o cualquier tarea limitada por costes y de alto rendimiento, DeepSeek V4 Pro gana, y lo hace por mucho en precio. En el Intelligence Index v4.1 independiente de Artificial Analysis, GLM-5.2 (esfuerzo máximo) obtiene 51 puntos frente a los 44 de DeepSeek V4 Pro, pero la tarifa oficial por token de DeepSeek es aproximadamente entre 3 y 5 veces más barata. El detalle, y es la parte que la mayoría de las comparaciones omite: el precio por token y el coste por tarea no son la misma cifra. A continuación te explicaré por qué. Ambos modelos aparecen en las páginas de catálogo de GLM-5.2 y deepseek-v4-pro de nuestra plataforma, y «¿a cuál debería dirigir la solicitud?» se ha convertido en una de las preguntas más habituales que recibimos de desarrolladores que ejecutan agentes de programación. Este artículo intenta responderla correctamente: con datos de benchmarks independientes cuando existen, cifras de los proveedores claramente identificadas cuando no existen y cálculos de precios que reflejan lo que DeepSeek cobra realmente en julio de 2026, no lo que cobraba en abril.

Schuyler Stacy | 2026-07-06

MiniMax M3 para programación: benchmarks, precios reales y cómo llamarlo mediante API (2026)

MiniMax M3 para programación: benchmarks, precios reales y cómo llamarlo mediante API (2026)

¿Es MiniMax M3 bueno para programar? La respuesta corta: sí, para trabajo agéntico y con varios archivos, con dos salvedades que expondré claramente antes de que sigas leyendo. La mayoría de las puntuaciones destacadas de programación fueron obtenidas por MiniMax en su propia infraestructura, y el «contexto de 1 millón de tokens» tiene un salto de precio a partir de 512K que afecta especialmente a los agentes de programación. Ambos aspectos son manejables cuando sabes que existen. Ninguno aparece claramente en la mayoría de la cobertura del lanzamiento. Escribo esto porque el argumento de programación en torno a M3 se redujo a una sola cifra — 59 % en SWE-Bench Pro — y esa cifra está haciendo mucho trabajo no examinado. A continuación explico qué es realmente el modelo, dónde se sitúan las mediciones independientes, cuánto cuesta en una carga de trabajo de programación real y cómo llamarlo mediante la API de GPTProto. Si solo quieres un veredicto: un evaluador independiente que ejecuta la misma batería en todos los modelos importantes situó a M3 «cerca de GPT y Opus en programación real, pero no por encima de ellos». Eso también coincide con la posición de los benchmarks neutrales.

Schuyler Stacy | 2026-07-02

¿Qué es Kimi K3 y está realmente cerca de GPT-5.6 y Fable 5?

¿Qué es Kimi K3 y está realmente cerca de GPT-5.6 y Fable 5?

TL;DR Kimi K3 es el modelo multimodal de Moonshot AI, con 2,8 billones de parámetros, diseñado para programación de largo recorrido, trabajo del conocimiento, razonamiento y flujos de trabajo con agentes. Las pruebas independientes lo sitúan cerca de Claude Opus 4.8 y GPT-5.5 en general, mientras que GPT-5.6 Sol y Claude Fable 5 siguen por delante. K3 se acerca más en los benchmarks agénticos y lidera algunas pruebas de automatización, pero su tasa medida de alucinaciones aumentó frente a K2.6. Kimi K3 ahora está disponible con pesos abiertos. Moonshot AI ha publicado el checkpoint completo, la ficha del modelo, el informe técnico y la licencia personalizada Kimi K3. El repositorio oficial de Hugging Face ocupa aproximadamente 1,56 TB distribuidos en 96 fragmentos safetensors, y Moonshot recomienda implementaciones en supernodos con 64 aceleradores o más. Los pesos abiertos resuelven la cuestión de la propiedad. No convierten a K3 en un modelo local convencional. Para la mayoría de los desarrolladores, la API alojada sigue siendo el punto de partida práctico. La API de Kimi K3 en GPTProto muestra actualmente un precio de 2,70 $ por millón de tokens de entrada y 13,50 $ por millón de tokens de salida. Elige los pesos cuando el control de los datos, la inferencia personalizada o la modificación del modelo justifiquen la infraestructura y la revisión de la licencia. En resumen, Kimi K3 está lo bastante cerca de GPT-5.6 y Fable 5 como para formar parte de la misma conversación—y su lanzamiento con pesos abiertos ofrece ahora a los desarrolladores una opción de implementación que ninguno de los dos modelos cerrados ofrece.

Michael Johnson | 2026-07-28