Skip to content

improvement(models): retire deep research, refresh model lifecycle, pricing, and reseller catalogs - #10255

Merged
waleedlatif1 merged 8 commits into
stagingfrom
fix/model-catalog-refresh
Nov 20, 2026
Merged

waleedlatif1 merged 8 commits into
stagingfrom
fix/model-catalog-refresh

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the Gemini Deep Research path: Google shut down deep-research-pro-preview-12-2025 on Oct 23, 2026, and it was the only model on the Interactions API. Drops the request/poll/stream path in gemini/core.ts, the deepResearch capability and helpers, previousInteractionId/interactionId plumbing in the agent handler, block and provider types, and the landing /models deep-research facets. The agent block's previousInteractionId field goes through SUBBLOCK_ID_MIGRATIONS (_removed_), and the bundled templates drop it. Both catalog entries stay as deprecated so pinned workflows still validate
  • Lifecycle flags from each provider's deprecation page: mark shut-down models deprecated (OpenAI o1/o3-mini/o4-mini, Vertex Gemini 2.5 and 3.6 Flash, Azure o3/o4-mini/gpt-5-chat, Azure Anthropic Opus 4.1, DeepSeek chat/reasoner, 13 retired Mistral ids, Groq Llama 3.x and Qwen 3.6, Cerebras GLM 4.7 and Gemma 4, four retired NVIDIA NIM models, Nebius Qwen3 235B) and deprecated-but-callable or aliased ones legacy; reseller copies of superseded Claude models mirror the direct legacy status
  • Every provider defaultModel now points at a live model, using the replacement each provider names (e.g. Vertex/Google → Gemini 3.8 Flash, Groq → gpt-oss-120b, Bedrock → Sonnet 5.5)
  • Add Vertex Gemini 4 Neon/Hydrogen/Carbon/Argon, Bedrock Claude Opus 5.5/Sonnet 5.5/Haiku 5.5/Fable 5.1/Fable 5.2 (with their published inference profiles), Azure Anthropic Fable 5/5.2, and Azure gpt-6.1-terra
  • Pricing/spec fixes: xAI long-context tiers from 200k prompt tokens (grok-4.3/4.5/4.20; grok-4.6 boundary was off by one), Azure 272k tiers from Azure's own meters (gpt-6-astra, 5.6-sol/terra/luna, 5.5, 5.4), Vertex Gemini 3.1 Pro 200k tier, Mistral Large 4 and mistral-large-latest (now Large 4), Codestral 128K context, Z.ai cached-input prices, Groq Qwen 3.8 / KIE gpt-6.1-sol context windows, Muse Spark 1.3 max effort, Bedrock Claude 5.x forcedToolUse/nativeStructuredOutputs mirroring the direct entries
  • Bill cached prompt tokens at the model's cachedInput rate for Z.ai, Kimi, DeepSeek, and Groq (they reported cache hits inside prompt_tokens and were billed at the full input rate). A shared createChatCompletionUsageMeter prices each call's uncached remainder and cache read, also per call so a long-context tier applies per request; xAI and the shared streaming tool loop use it too

Type of Change

  • Improvement

Testing

  • Every lifecycle flag, price, limit, inference profile, and release date was checked against the provider's official docs, deprecation pages, pricing pages, Azure retail meters, or AWS model cards, then reviewed independently
  • New tests fail before the change and pass now: Bedrock inference-profile routing for the five new Claude models, the xAI ≥200k boundary, and cache-read billing for Z.ai/Kimi/DeepSeek/Groq through their real cost path (providers/openai-compat/cache-billing.test.ts, plus usage-meter.test.ts)
  • bunx vitest run over providers/utils, providers/models, providers/bedrock, providers/gemini, landing models, agent handler, workflow builders, real-catalog (524 passed); bun run generate clean; check:agent-stream-docs; check-block-registry.ts origin/staging (subblock ID stability passes with the migration)

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 20, 2026 8:36pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 36 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/app/(landing)/models/utils.ts Resolved
@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The PR appears safe to merge; no new blocking issue was found.

Summary

Retires Gemini Deep Research, refreshes model availability and defaults, and updates reseller catalogs and prices.

  • Gemini agents no longer use the Deep Research interaction path.
  • Provider model lists now show current choices, lifecycle states, and pricing details.
  • Several providers now price cached prompt tokens and repeated calls more accurately.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Provider usage for each call] --> B[Split uncached and cached tokens]
  B --> C[Choose price tier and price call]
  C --> D[Add call costs]
  D --> E[Apply billing policy once]
  E --> F[Add tool costs]
Loading

Reviews (3) · Last reviewed commit: "fix(providers): bill cached prompt token..." · Reviewed by Greptile

Comment thread apps/sim/providers/models.ts Resolved
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 36 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 46 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 force-pushed the fix/model-catalog-refresh branch from 3a3a557 to 92a5ebe Compare November 20, 2026 20:29
@waleedlatif1
waleedlatif1 merged commit 0a61e14 into staging Nov 20, 2026
86 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/model-catalog-refresh branch November 20, 2026 21:10

This branch was successfully deployed

1 active deployment
Preview — 92a5ebef Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant