Skip to content

AI: Claude Sonnet 4.5 and Claude Haiku 4.5 are not available in agent threads when using an Anthropic API key #40910

@natesilva

Description

@natesilva

In Agent threads, when using Anthropic as a provider, Claude Sonnet 4.5 and Claude Haiku 4.5 are not available.

Description

Steps to trigger the problem:

  1. Add Anthropic as a provider in the LLM Providers settings.
  2. Start a new thread.

Expected Behavior: All models that I have access to should be available.
Actual Behavior: Claude Haiku 4.5 and Claude Sonnet 4.5 are not available.

Model Provider Details

  • Provider: Anthropic via API key
  • Model Name: Claude Haiku 4.5, Claude Sonnet 4.5,
  • Mode: Agent Panel
  • Other Details (MCPs, other settings, etc):

More Details

  • I tried quitting and restarting Zed.
  • I tried removing and re-adding the API key to Zed.

Using the exact same API key that I added to Zed, I verified that Claude 4.5 models are available to me:

$ export ANTHROPIC_API_KEY="<redacted>"
$ curl https://api.anthropic.com/v1/models \   
     --header "x-api-key: $ANTHROPIC_API_KEY" \
     --header "anthropic-version: 2023-06-01" | jq

{
  "data": [
    {
      "type": "model",
      "id": "claude-haiku-4-5-20251001",
      "display_name": "Claude Haiku 4.5",
      "created_at": "2025-10-15T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-sonnet-4-5-20250929",
      "display_name": "Claude Sonnet 4.5",
      "created_at": "2025-09-29T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-opus-4-1-20250805",
      "display_name": "Claude Opus 4.1",
      "created_at": "2025-08-05T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-opus-4-20250514",
      "display_name": "Claude Opus 4",
      "created_at": "2025-05-22T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-sonnet-4-20250514",
      "display_name": "Claude Sonnet 4",
      "created_at": "2025-05-22T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-3-7-sonnet-20250219",
      "display_name": "Claude Sonnet 3.7",
      "created_at": "2025-02-24T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-3-5-sonnet-20241022",
      "display_name": "Claude Sonnet 3.5 (New)",
      "created_at": "2024-10-22T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-3-5-haiku-20241022",
      "display_name": "Claude Haiku 3.5",
      "created_at": "2024-10-22T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-3-5-sonnet-20240620",
      "display_name": "Claude Sonnet 3.5 (Old)",
      "created_at": "2024-06-20T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-3-haiku-20240307",
      "display_name": "Claude Haiku 3",
      "created_at": "2024-03-07T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-3-opus-20240229",
      "display_name": "Claude Opus 3",
      "created_at": "2024-02-29T00:00:00Z"
    }
  ],
  "has_more": false,
  "first_id": "claude-haiku-4-5-20251001",
  "last_id": "claude-3-opus-20240229"
}

It is not listed in Zed:

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI features

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions