HN
Today

OpenAI reduces Codex Model Context Size from 372k to 272k

OpenAI's GitHub PR reveals a quiet reduction in the Codex model's context size, sparking developer discussions about its practical impact on code generation and model performance. This change highlights ongoing debates within the AI community regarding the transparency of model updates and the crucial need for AI safety measures, particularly concerning destructive actions. The shift underlines the ever-evolving challenge of balancing AI capabilities with reliable and predictable behavior for real-world development workflows.

55
Score
16
Comments
#5
Highest Rank
16h
on Front Page
First Seen
Jul 19, 11:00 AM
Last Seen
Jul 20, 2:00 AM
Rank Over Time
658778910101011131413129

The Lowdown

A recent pull request on OpenAI's Codex GitHub repository discreetly updated the bundled model metadata, revealing a reduction in the Codex model's context window from 372k to 272k. While seemingly a minor technical adjustment, this change ignited a conversation on Hacker News about the implications for developers reliant on code-generating AI.

  • The primary change noted is the reduction of the model's context size, which affects how much information the AI can process at once.
  • This discovery was made not through an official announcement, but via a GitHub pull request, prompting community frustration over OpenAI's communication practices.
  • Alongside the context reduction, the PR also included a critical update to the system prompt, adding explicit instructions to prevent the model from taking destructive actions like deleting files without clear user intent.
  • This safety update appears to be a direct response to prior instances where Codex reportedly caused accidental data loss, including one user's anecdote of the AI deleting their C: drive on Windows.

The discussion underscores a common tension in AI development: optimizing model performance and resource usage while ensuring reliability, safety, and clear communication with the user base, especially when core model capabilities are altered.

The Gossip

Contextual Conundrums & Capacity Concerns

The community debated the practical impact of the reduced context size. Some users found 272k tokens too small for their advanced AI coding workflows, often pushing past 350k, while others noted they rarely hit previous context limits. The efficacy of 'compaction' for managing context was a hot topic, with many comparing Codex's approach unfavorably to other models like DeepSeek, which are praised for superior K/V cache technology and efficiency in handling large sessions.

Dangerous Deletions & Defensive Directives

A significant point of discussion revolved around the discovery of new system prompt directives added to Codex aimed at preventing destructive actions. This prompted several users to share anecdotes of past instances where the model had accidentally deleted files or entire directories, highlighting serious safety concerns. Commenters emphasized the need for robust harnesses and containment strategies when deploying AI, reflecting a cautious stance on allowing models to execute potentially harmful commands.

Documentation Deficiencies & Developer Dissatisfaction

A recurring theme was the frustration with OpenAI's transparency, or lack thereof. Developers complained that crucial information, like model context size changes, was not officially documented but instead had to be pieced together from GitHub PRs or external social media platforms like X (formerly Twitter) and Reddit. This lack of clear communication fuels a sentiment that OpenAI is increasingly obscuring model internals and changes from its users.