Any model gets a computer
Point any model on OpenRouter at a task and it can now run real commands on a Linux machine OpenRouter owns, reading the output back before it answers.
When a model routed through OpenRouter wants to search a directory, fetch a page, or run a few lines of code, OpenRouter now does the running for it. The commands go to a sealed Linux container on OpenRouter's own servers, and back comes the unglamorous truth of a command line: whatever printed to the screen, whatever printed as an error, and the number the program exited with.
The container's idle timer defaults to fifteen minutes and can be set as high as thirty days. Nobody needs a month of uptime to run one command.
Until now that was OpenAI's to give. OpenAI's API has been able to execute a model's Python for a couple of years, and in March it added a full command line able to run anything you could type at a terminal, but both ran only on OpenAI's machines, for OpenAI's models. OpenRouter, whose entire business is passing your request to whichever model you name from whichever lab made it, has copied the feature and cut it loose from the model vendor. Its documentation calls the result "a sandbox-backed clone of OpenAI's hosted shell tool that works with any model." You can send OpenAI's exact tool format unchanged and OpenRouter will quietly redirect it into its own sandbox.
What separates a chatbot from an agent is usually not intelligence. It is having a machine to act on, and that machine has always come bundled with whoever trained the model, which meant the labs with the deepest infrastructure also owned the only convenient way for their models to do anything at all. Renting the sandbox separately puts a pair of hands within reach of models that have no company standing behind them: a freely downloadable release from a Chinese lab or a university group can now issue real commands on somebody else's hardware, the same way a flagship does.
OpenRouter labels the whole thing beta and warns that the behaviour may change, and its new API keeps no memory between calls, so a long agent session means resending the entire conversation every turn. Both are the sort of thing that gets fixed. The question left standing is what the field looks like once the ability to run code stops being a feature of a particular model and becomes a utility sitting one layer underneath all of them.
The shell guide opens with the entire thing as one small block you can drop into a call you already make, and Simon Willison's llm-openrouter plugin wraps the same capability behind a single command-line flag.
Get the tool at openrouter.ai →The lenses
The facts
How this connects
Tap a node to open it