refactor(presets): split 'eu' into eu-eco/pro/max, drop xAI Grok#297
Merged
Destynova2 merged 1 commit intomainfrom Apr 27, 2026
Merged
refactor(presets): split 'eu' into eu-eco/pro/max, drop xAI Grok#297Destynova2 merged 1 commit intomainfrom
Destynova2 merged 1 commit intomainfrom
Conversation
Three tiers of strict-EU sovereign routing for different cost/quality balances: - eu-eco : €15-25/month, ~75-78% SWE-V (mid-size models, no 405B/397B) - eu-pro : €40-60/month, ~82-85% SWE-V (Hermes-4-405B + Qwen3.5-397B) - eu-max : €80-100/month, ~85-87% SWE-V (preemptive 397B in default) Drops xAI Grok from all three EU presets. While xAI offers a regional endpoint at eu-west-1.api.x.ai, the at-rest residency is unspecified (xAI says "contact sales") and there is no announced xAI EU datacenter. For strict-EU sovereignty we keep only Scaleway (FR) and Nebius eu-north1 (Helsinki). Max context drops from 2M (Grok) to ~256k (Scaleway devstral-2-123b / Qwen3.5-397B), which still covers 99% of agentic Claude Code workflows — sessions exceeding 256k normally trigger a compact. Replaces presets/eu.toml from PR #296 (this PR was opened with one file; the rename + split is included in this branch). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactors the
eupreset (just merged in #296) into three sister presets with different cost/quality balances, and drops xAI Grok for sovereignty correctness.Quality estimates are extrapolated from open-weight benchmark scores; this PR ships all three so users can
grob preset apply <name>and benchmark them on real workloads. The--benchfollow-up is intentionally a separate concern.Why drop xAI Grok
The original
eu.toml(#296) included xAI Grok viahttps://eu-west-1.api.x.ai/v1. After deeper research:x.ai/legal/data-processing-addendumsays "contact sales").eu-west-1is most likely partner-cloud (Memphis is xAI's only confirmed datacenter region).The unique benefit Grok provided was the 2M context window. Without it, max EU context drops to ~256k (Scaleway devstral-2-123b / Qwen3.5-397B-A17B). Sessions that exceed 256k normally trigger a Claude Code compact anyway, so the practical impact is minimal.
What changed
presets/eu.toml→ split intopresets/eu-eco.toml,presets/eu-pro.toml,presets/eu-max.tomlxai_euprovider block and Grok model mappingsmin_input_tokens > 150000) re-routes to Scaleway devstral-2 / Qwen3.5-397B (256k native) and Nebius Qwen3-235B (extensible 256k)presets/index.tomlupdated to list all threeFiles
Test plan
grob preset info eu-eco/eu-pro/eu-max— all parse, providers/models/router slots wiredgrep -rE 'xai_eu|grok-' presets/eu-*.tomlclean)🤖 Generated with Claude Code