Shift-X

Shift-X FAQ

What is Shift-X?

Shift-X routes each request between two models you choose, trained as a general coding and knowledge work router. Install it at shift.ac, then pick Shift-X Save, Balanced or Quality in Codex or Claude Code’s model picker (if you installed before Shift-X, run acshift refresh first). Save cuts the most cost, Quality keeps the most quality, and Balanced sits between them.

Who is it for?

Developers who use Codex or Claude Code and want to control their costs.

Does it use my ChatGPT or Claude subscription?

No. Shift-X runs on your own OpenAI or Anthropic API key, so every turn is billed at the provider’s API prices to the account that owns that key.

Can I still use other models?

Yes. Shift-X sits in the model picker next to the OpenAI or Anthropic models you use.

How does the router work?

A custom decision model, trained with AC2, Applied Compute’s training and inference cloud for open models, makes every routing decision. Before each request it picks which model should take the next step. It tends to send exploring, diagnosing and planning to the frontier model, then hands the rest of the work to the fast model, which picks up with everything done so far.

Can my company train its own router?

Yes. Shift-X’s router was trained on general coding and knowledge work, but the same approach adapts to your workload and the models you use. Get in touch to train one on AC2.

Does routing happen once per conversation or per request?

Per request. Each step of a turn, such as a tool call, is routed on its own, so one session can move between the two models many times. The Logs page at shift.ac shows which model served each request and marks each switch in the conversation view.

Is every request routed?

Conversation turns are. Claude Code’s small side requests, such as chat titles, summaries and classifiers, go straight to a small Anthropic model on your key. Codex compacts long conversations in the background on a standard OpenAI model.

Which models does Shift-X route between?

Shift-X routes between two models from your app’s provider, which you choose under Routing in Settings:

AppModelsDefault pair
Codex (CLI and desktop)GPT-6.2 Sol, GPT-6.2 Astra, GPT-6 LunaGPT-6 Luna and GPT-6.2 Sol
Claude Code and Claude DesktopClaude Opus 5.5, Claude Sonnet 5.5, Claude Haiku 5.5Claude Haiku 5.5 and Claude Opus 5.5

Does Shift-X change my reasoning effort?

No. The effort you set in your app applies to whichever model Shift-X picks.

Does Shift-X route open-source models?

Through the decisions API, which picks between any two supported models, including GLM-5.3, GLM-5.3 Flash, DeepSeek V4.1 Flash and Nemotron 3 Ultra, and leaves serving them to you, for example with Switchyard. Shift doesn’t serve open-source models itself; contact us for open-source inference.

Does Shift-X change how my app behaves?

As little as possible.

Is every feature supported?

No. Some features of Codex and Claude Code aren’t supported through Shift-X. If something you rely on doesn’t work, let us know.

Can I change the model pair?

Yes, under Routing in Settings. The change applies to new requests. If you want to train your own custom router for your workload, reach out.

How are savings calculated?

Savings are what your Shift-X turns would have cost on the frontier model, minus what they actually cost on the model that served them.

Where do I see my savings?

On the Logs page at shift.ac.

Will this match my provider’s bill?

Not exactly. These are estimates from recorded token usage and published API prices. Your OpenAI or Anthropic invoice is the source of truth and can differ because of credits, negotiated discounts or price changes.

Privacy and zero data retention (ZDR)

Zero data retention is on by default. With it on, Shift doesn’t store the prompts or responses of new requests; it records only usage, cost and savings, so the Logs page can’t show how requests were routed. You can turn it off during setup or under Settings → Privacy at shift.ac.

What is stored when ZDR is off?

Each request’s prompt and response are saved as a trace so you can review conversations on the Logs page.

What is stored when ZDR is on?

Metadata only: time, model served, token counts, status, cost and savings. No prompt or response content is kept.

Does Shift’s ZDR change what OpenAI or Anthropic keep?

The provider’s own data policies for your API key apply. If you need zero data retention from OpenAI or Anthropic, arrange it with them for your organization.

Keys and billing

Shift uses two keys: your provider API key (OpenAI for Codex, Anthropic for Claude), which pays for the models, and a Shift key, which lets your apps use Shift.

Who bills me for model usage?

OpenAI or Anthropic, at their API prices, on the account that owns your API key. That covers every routed turn and every side request.

How is my provider key stored?

Encrypted in Shift’s database. It’s decrypted only to make requests on your behalf.

How do I revoke a Shift key?

In Settings → Shift keys, click Revoke, then Confirm revoke. Shift checks the key on every request, so the next request with that key is refused. Run acshift install to set up a new key.

How do I replace or remove my provider key?

In Settings, under your OpenAI or Anthropic key, paste a new key to replace it, or click Remove. Shift-X stops working in the apps that use that provider until you connect a key again.

Installing Shift-X

One command installs the Shift CLI and asks which apps to connect:

$ curl -fsSL https://shift.ac/install.sh | sh

What do I need first?

  • At least one supported app: Codex 0.148 or later (CLI or desktop), Claude Code 2.1.257 or later, or Claude Desktop on macOS.
  • macOS or Linux. Windows isn’t supported yet.
  • An OpenAI API key for Codex, an Anthropic API key for Claude, or both.

Using Shift-X with Switchyard

NVIDIA’s Switchyard is an open-source router that runs between your coding agent and its models. Its direct selection mode can ask Shift-X which model to use for each request, then serve that model. One Shift key covers both.

  1. Save this as switchyard.toml:
    schema_version = 1
    
    [llm_clients.shift_openai]
    format = "openai_responses"
    base_url = "https://api.shift.ac/v1"
    forward_auth = true
    
    [llm_clients.shift_anthropic]
    format = "anthropic_messages"
    base_url = "https://api.shift.ac"
    forward_auth = true
    
    [targets]
    sol = { id = "gpt-6.2-sol", llm_client = "shift_openai" }
    astra = { id = "gpt-6.2-astra", llm_client = "shift_openai" }
    sonnet = { id = "claude-sonnet-5-5", llm_client = "shift_anthropic" }
    opus = { id = "claude-opus-5-5", llm_client = "shift_anthropic" }
    
    [decision_clients.shift]
    format = "openai_decisions"
    endpoint = "https://api.shift.ac/v1/decisions"
    api_key_env = "SHIFT_API_KEY"
    timeout_ms = 10000
    
    [decision_targets.shift_x]
    id = "shift-x-balanced"
    decision_client = "shift"
    
    [routes.codex]
    id = "codex"
    type = "llm_classifier"
    mode = "direct"
    default_target = "shift-x/gpt-6.2-sol"
    recent_turn_window = 128
    
    [routes.codex.models]
    judge = ["shift_x"]
    "shift-x/gpt-6.2-sol" = ["sol"]
    "shift-x/gpt-6.2-astra" = ["astra"]
    any = ["sol", "astra"]
    
    [routes.claude_code]
    id = "claude_code"
    type = "llm_classifier"
    mode = "direct"
    default_target = "shift-x/claude-opus-5-5"
    recent_turn_window = 128
    
    [routes.claude_code.models]
    judge = ["shift_x"]
    "shift-x/claude-sonnet-5-5" = ["sonnet"]
    "shift-x/claude-opus-5-5" = ["opus"]
    any = ["sonnet", "opus"]
  2. Install Switchyard from GitHub, which needs Rust 1.96.1 or later (its latest release predates direct selection), and start it with your Shift key:
    cargo install --locked --git https://github.com/NVIDIA-NeMo/Switchyard switchyard-server
    export SHIFT_API_KEY=your-shift-key
    switchyard-server --config switchyard.toml --port 4123
  3. For Codex, save this as ~/.codex/shift.config.toml:
    model = "codex"
    model_provider = "switchyard"
    
    [model_providers.switchyard]
    name = "Switchyard"
    base_url = "http://127.0.0.1:4123/v1"
    wire_api = "responses"
    env_key = "SHIFT_API_KEY"
    Then, in the terminal where you run Codex:
    export SHIFT_API_KEY=your-shift-key
    codex --profile shift
  4. For Claude Code, in the terminal where you run it:
    export SHIFT_API_KEY=your-shift-key
    ANTHROPIC_BASE_URL=http://127.0.0.1:4123 ANTHROPIC_AUTH_TOKEN="$SHIFT_API_KEY" claude --model claude_code

Which models can a route offer?

Any two supported models, including open-source ones, since Switchyard serves them, as long as both or neither are Claude models. Name each group exactly as Shift-X answers, for example shift-x/gpt-6.2-sol, and pick the mode with the decision target’s id: shift-x-save, shift-x-balanced or shift-x-quality.

What if Shift-X can’t answer?

Switchyard serves the route’s default_target. Set fail_open = false to stop the request instead.

Which provider keys do I need?

Connect your Anthropic key in Settings for routes between Claude models, and your OpenAI key for any other route, open-source ones included. Shift never sends the key with a decision. Each decision and each model call counts against your Shift key’s rate limit.

Uninstalling Shift-X

acshift uninstall puts your apps back the way they were before setup.

  1. Quit Codex (desktop app and CLI sessions) so your chats can be moved back.
  2. Run one of these:
    acshift uninstall                  # disconnect every app
    acshift uninstall --agent codex    # Codex only
    acshift uninstall --agent claude   # Claude Code and Claude Desktop only
  3. At shift.ac, go to Settings, revoke your Shift keys, and remove your provider keys if you don’t plan to come back.
  4. Optionally, delete the Shift CLI itself: rm ~/.local/bin/acshift.
  5. Restart your apps.

What happens to Codex chats I started on Shift-X?

They stay on your machine under the Shift provider. Uninstalling doesn’t delete them.

Can I switch back without uninstalling?

In Codex, pick a different model in the /model picker. In Claude Desktop, choose Anthropic sign-in on the sign-in screen. For Claude Code, run acshift uninstall --agent claude.

Does uninstalling delete my data at shift.ac?

No. Your account and any stored traces stay until they expire. Email [email protected] if you want your data deleted.

Troubleshooting

Shift says my Anthropic key isn’t scoped to a workspace

Anthropic’s personal and service account keys are created either for one workspace or for every workspace your account can use. A key that isn’t scoped to a workspace needs an anthropic-workspace-id header on every request, and Shift doesn’t send one, so Anthropic refuses the key. To fix it, open the API keys page in the Claude Console, create a new key, choose a single workspace for it, and paste that key in Settings. Keys created for one workspace, including older workspace keys, work without any header. See Anthropic’s Select a workspace documentation for details.