← All posts

Lovable retires Claude Haiku 4.5 on 2 December: check your temperature

Lovable says Claude Haiku 4.5 retires for app AI features on 2 December 2026. Calls then go to Claude Haiku 5.5, which rejects settings like a custom temperature, so those requests fail. Switch models and drop the parameter before then.

On 26 November 2026 Lovable posted in its changelog that Claude Haiku 4.5 retires on 2 December 2026 for app AI features. After that date, requests from your app that ask for Haiku 4.5 "go to Haiku 5.5" (anthropic/claude-haiku-5-5). That would be a quiet upgrade, except for one line further down: Haiku 5.5 "rejects some settings that Haiku 4.5 accepts, such as a custom temperature", and requests that send them "fail after that date".

So this is a model swap with a breaking change attached, on a Wednesday, in four days.

Why the request fails

The Haiku 5.5 docs are explicit: "Omit temperature, top_p, and top_k." Anthropic's deprecations page goes further. Those three sampling parameters were removed in API version 2026-10-21, and sending them returns a 400. Haiku 5.5 uses adaptive thinking by default and takes an effort parameter instead, with medium as the default.

That matters because generated code loves a temperature. Ask an agent for "a classifier that sorts support emails" or "extract the fields from this invoice" and you'll often get temperature: 0 in the call, because that's what years of tutorials did for deterministic output. On Haiku 4.5 it was harmless. After 2 December, routed to Haiku 5.5, the same call is a 400, and whatever depends on it (a form handler, a tagging step, a summary on save) stops. If the error is swallowed in a try block, you may only notice when the feature silently returns nothing.

One thing to keep straight: the 2 December date is Lovable's. Anthropic's deprecations page still lists claude-haiku-4-5-20251001 as active. If your app calls the Claude API directly with your own key, Anthropic's schedule applies, not Lovable's. This post is about calls that run through Lovable's AI features.

The one check for today

Search the project for the old model and for sampling parameters, for example with grep -rnE "haiku-4-5|temperature|top_p|top_k" src supabase.

In Lovable, look in Supabase Edge Functions (supabase/functions/*) as well as the front end, since that's usually where the agent puts AI calls. For each call that names Haiku 4.5:

  1. Switch the model to a current one, for example anthropic/claude-haiku-5-5. Lovable's own advice is to ask the agent to "switch it to a current model before December 2".
  2. Remove temperature, top_p and top_k. If you used temperature: 0 for consistency, put the constraint in the prompt instead (a fixed output format, a JSON schema, a short list of allowed labels).
  3. Make the error visible. Log the status and body of a failed AI call, and return a real error to the UI rather than an empty result.

Then trigger each feature once on the published app, not only in the preview, and watch the function logs. If you run other models with a custom temperature through the same code, check those too: the same API rule applies to current models generally, not just Haiku. If a feature works in the editor but returns a 500 on your domain afterwards, our page on apps that work locally and 500 live covers where to look next.

Quick answers

When does Claude Haiku 4.5 stop working in Lovable apps?

Lovable's changelog of 26 November 2026 says Claude Haiku 4.5 retires on 2 December 2026. After that date, an app's Haiku 4.5 requests through Lovable's AI features go to Claude Haiku 5.5 instead.

Why would my Lovable app break when Haiku 4.5 is retired?

Claude Haiku 5.5 rejects some settings Haiku 4.5 accepts, such as a custom temperature. Lovable says requests that send them fail after 2 December 2026. Anthropic's docs say to omit temperature, top_p and top_k for Haiku 5.5.

What should I change in my Lovable app before 2 December 2026?

Find every AI call that names Claude Haiku 4.5, switch it to a current model such as anthropic/claude-haiku-5-5, and remove temperature, top_p and top_k from the request. Lovable suggests asking its agent to make the switch.

Is the 2 December 2026 date an Anthropic API retirement?

Not according to Anthropic's deprecations page, which still lists claude-haiku-4-5-20251001 as active. The 2 December date is Lovable's, for AI features that run through Lovable. Direct API calls follow Anthropic's own schedule.

Is your app affected? Get a $199 audit

Not sure whether this touches your app? That is exactly what the audit answers.

  • A recorded video walkthrough of your app, by the person who would fix it
  • Written findings: what is broken or exposed, and why
  • A fixed price for the fix, before any work starts
Book my $199 audit

Book my audit

$199. Fixed price, agreed up front.

Ask a question first

No payment and no obligation, just an answer.