Skip to content

feat(providers): add Grok 4.6 and refresh DeepSeek V4 - #10195

Merged
diegosouzapw merged 1 commit into
cheaper-inference:release/v3.8.50from
backryun:feat/grok46-deepseek-v4-transports
Aug 16, 2026
Merged

diegosouzapw merged 1 commit into
cheaper-inference:release/v3.8.50from
backryun:feat/grok46-deepseek-v4-transports

Conversation

@backryun

@backryun backryun commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add grok-4.6 with its official Responses-first capabilities, 500K context window, reasoning levels, vision/tool support, and pricing
  • register grok-4.6 directly in the Grok Build (grok-cli) static fallback catalog and route it through the existing authenticated Responses transport
  • refresh the official DeepSeek V4 Pro/Flash catalog, limits, and current pricing
  • switch DeepSeek's default upstream transport from Chat Completions to native Responses
  • expose DeepSeek's official Anthropic-compatible transport as a per-connection alternate
  • preserve compatibility for older clients by reusing OmniRoute's existing Chat/Responses/Anthropic translators
  • correct the existing xAI OAuth Grok 4.5 catalog entry to use its Responses endpoint

Why

The provider registry still described DeepSeek as Chat-Completions-only even though DeepSeek V4 now supports both the Responses API and an Anthropic-compatible Messages API. xAI also documents Grok 4.6 as a Responses-first model.

This keeps client compatibility at OmniRoute's protocol boundary: clients may continue sending Chat Completions or Responses requests while the router translates to the selected native upstream protocol. Grok Build receives an explicit static entry rather than inheriting the API-key catalog, while authenticated live model discovery remains enabled.

Validation

Passed:

  • focused provider/transport tests: 47/47
  • npm run typecheck:core
  • npm run check:provider-consistency
  • ESLint and Prettier on all changed files
  • npm run check:doc-links
  • git diff --check

Repository baseline failures observed outside this change:

  • npm run test:vitest: existing modelSelectModalHelpers.ts parse error, AutoCombo weight drift, and missing NextIntlClientProvider test wrapper
  • npm run lint: the same existing parser issue plus unrelated frozen/import and test typing failures
  • pre-commit docs sync: package version 3.8.50 vs latest changelog release 3.8.49

Sources

@backryun
backryun requested a review from diegosouzapw as a code owner August 12, 2026 16:08
@backryun
backryun force-pushed the feat/grok46-deepseek-v4-transports branch 3 times, most recently from f9be9eb to 272db20 Compare August 12, 2026 16:27
@backryun
backryun force-pushed the feat/grok46-deepseek-v4-transports branch 8 times, most recently from f0c6a53 to 21a72f4 Compare August 13, 2026 11:04
@diegosouzapw

Copy link
Copy Markdown
Collaborator

Verified against the PR's own sources — the data is accurate:

  • DeepSeek pricing matches api-docs.deepseek.com/quick_start/pricing exactly as of 2026-08-13: flash $0.14 in / $0.0028 cached / $0.28 out, pro $0.435 in / $0.003625 cached / $0.87 out, 1M context / 384K max output.
  • Grok 4.6 matches docs.x.ai pricing ($2.00 in / $0.50 cached / $6.00 out for <200K, 500K context).

One coordination note: this PR and #10201 have a modify/delete conflict on open-sse/config/providers/registry/xai-oauth/index.ts — #10201 deletes that module (co-locating OAuth into registry/xai/index.ts). The resolution is folding this PR's targetFormat: "openai-responses" line into the co-located block. Suggest landing #10201 first, then rebasing this one. Also please call out the DeepSeek default-transport switch in the description since it's a behavior change.

@backryun
backryun force-pushed the feat/grok46-deepseek-v4-transports branch 12 times, most recently from 867e7ab to 743cb5b Compare August 15, 2026 07:20
@backryun

Copy link
Copy Markdown
Contributor Author

The PR description now explicitly calls out the DeepSeek default upstream transport switch in both the Summary and Why sections. I have also noted the merge order with #10201; if #10201 lands first, this branch will be rebased while preserving the openai-responses targetFormat in the co-located xAI OAuth block. Please take another look when convenient.

@backryun
backryun force-pushed the feat/grok46-deepseek-v4-transports branch from 743cb5b to a00995f Compare August 15, 2026 13:08
@backryun
backryun force-pushed the feat/grok46-deepseek-v4-transports branch from a00995f to 44c4357 Compare August 15, 2026 17:16
@diegosouzapw
diegosouzapw merged commit 5239728 into cheaper-inference:release/v3.8.50 Aug 16, 2026
5 checks passed
@diegosouzapw

Copy link
Copy Markdown
Collaborator

Validated in local merge-train .claude/worktrees/merge-train-20260816-000002-suite.log on devbox-vm-06-dev002 @ 8be62df65f61cc4cf29cdc3e6bc38173ffafa4e3 (FAST gates green: static + changed tests + vitest; daily full-suite run still required). Merged under the batch merge-train protocol (merge-gates §7). ⚠️ base-red inherited: #10523 (ServiceSupervisor order-dependent test, not touched by this batch).

@backryun
backryun deleted the feat/grok46-deepseek-v4-transports branch August 16, 2026 03:25
tkgo11 pushed a commit to tkgo11/OmniRoute that referenced this pull request Sep 23, 2026
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.

2 participants