Skip to content

Sonnet 5 context size is incorrect #450

Closed

Description

@ravshansbox

It incorrectly shows sonnet 5 context size as 200k, it should be 1m

Image

Activity

  1. added
    bug
    priority: medium
    triage: fixed-pending-release
    autonomous: clear
    on Jul 6, 2026
  2. 1jehuang commented on Jul 6, 2026

    @1jehuang
    Owner

    Triage: confirmed. claude-sonnet-5 was missing from the known Claude model lists, so it fell through to the generic 200K default even though Sonnet 5 supports the 1M window by default (1M is both the default and the maximum per Anthropic's docs).

    Fixed on master in a04cac5:

    • Added claude-sonnet-5 to the model lists and classified it Native1M in anthropic_context_mode (like Opus 4.8/4.7 and Fable 5), so the context gauge reports 1,000,000.
    • Added its introductory API pricing ($2/$10 per MTok through 2026-08-31).

    Will close automatically on the next release.

  3. 1jehuang commented on Jul 7, 2026

    @1jehuang
    Owner

    Released in v0.37.0. Run jcode update to get it.

  4. removed
    triage: fixed-pending-release
    on Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autonomous: clearbugpriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions