feat(presets): add EU sovereign presets (eu-eco/pro/max)#296
Merged
Destynova2 merged 1 commit intomainfrom Apr 27, 2026
Merged
Conversation
Closest-to-Opus quality preset for users requiring full EU data residency. Routes traffic exclusively through Scaleway (FR), Nebius (eu-north1, FI), and xAI's regional EU endpoint. No US providers (Anthropic, OpenAI, Google direct), no DeepSeek (CN/US infra via OpenRouter). All in-flight traffic strictly EU-routed. Slot strategy: - Trivial / background : Nebius Llama-3.1-8B / Gemma-2-2b (eu-north1) - Default : Nebius Qwen3-Next-80B-A3B-Thinking - Code (Rust/k8s/etc.) : Scaleway Qwen3.5-397B-A17B (FR ChatCode) - Think : Nebius Hermes-4-405B (verified CoT, 405B) - Search / tools : Scaleway gpt-oss-120b - Long context (>150k) : xAI Grok 4.1 Fast (eu-west-1, 2M ctx) - Vision : Scaleway mistral-small-3.2-24b (FR) Quality bet: ~82-85% SWE-V parity (vs Opus 4.7 at 87.6%) — trade 3-5 benchmark points for full sovereignty + GDPR at-rest + no transatlantic data transfer. Cost estimate at 4M tokens/day: ~€60-80/month heavy agent, ~€25-35 moderate. Adds a `code-model` and `vision-model` slot to the standard default/think/background/trivial/search lineup. Endpoints (require user config): - Scaleway: https://api.scaleway.ai/<PROJECT_ID>/v1 - Nebius: https://api.studio.nebius.ai/v1 - xAI EU: https://eu-west-1.api.x.ai/v1 (fail-closed if EU unavailable) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
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
Adds 3 strict-EU sovereign routing presets (
eu-eco,eu-pro,eu-max) for users who need GDPR data residency. All three use the same providers (Scaleway FR + Nebius eu-north1 Helsinki); they differ only in routing strategy / model preference.Why three tiers
Different users have different cost/quality budgets. Rather than picking one balance, ship three so users can
grob preset apply eu-eco|eu-pro|eu-maxand benchmark them.Quality estimates are vs Opus 4.7 at 87.6% SWE-V. The trade for
eu-maxis purely cost: 4-5× theeu-ecobill for ~10 benchmark points.Routing slots (all three presets)
default-model,think-model,background-model,trivial-model,code-model(new),search-model,vision-model(new).The new
code-modelslot is wired by tier matchers for Rust / Terraform / Kubernetes / CI YAML keywords + file patterns — those auto-route to the EU coding-tuned models (Qwen3.5-397B-A17B on Scaleway ChatCode endpoint).Why xAI Grok was dropped
Earlier versions of this branch included xAI Grok at
https://eu-west-1.api.x.ai/v1. After research:x.ai/legal/data-processing-addendumsays "contact sales").eu-west-1endpoint is most likely partner-cloud (Memphis is xAI's only confirmed datacenter region).The benefit Grok added was the 2M context window. Without it, max EU context drops 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.
Sister presets
This complements the
optimalpreset (PR #295) which is the global multi-provider speed-first config. Different audiences:optimal— best raw price/perf/quality with US providers in the mix (Anthropic Max + Groq + DeepSeek + OpenRouter)eu-*— GDPR-strict EU customers who can't use US providers regardless of speed or costTest plan
grob preset info eu-eco/eu-pro/eu-max— all parse, providers/models/router slots wiredgrob preset apply <name> --dry-run— emits valid normalized TOMLgrep -lE 'xai_eu|grok-' presets/eu-*.tomlreturns nothing)grob preset apply eu-pro --reloadthen small request hits Nebius/Scaleway🤖 Generated with Claude Code