Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

New stateful server tool: Shell! Any model on OpenRouter can now run commands in a hosted Linux container and use the new Files API to move files in and out. Available today in beta: `openrouter:shell`

21,279 Aufrufe • vor 2 Tagen •via X (Twitter)

16 Kommentare

Profilbild von OpenRouter
OpenRoutervor 2 Tagen

Add the server tool to your request and the model decides when it needs a terminal. We support both the native OpenAI shell tool and Anthropic bash tool specs. Just add it to your tools array: { "type": "openrouter:shell", "parameters": { "engine": "openrouter" } }

Profilbild von OpenRouter
OpenRoutervor 2 Tagen

The Files API means models aren't limited to what they can read/write natively. Upload any file type, and the model writes a script to process it. Ask for any file type, and it writes a script to produce it.

Profilbild von OpenRouter
OpenRoutervor 2 Tagen

Pricing is designed to keep tracking simple by billing the computer entirely within the request. It's $0.0001 per active second, inclusive of file usage, with a 30-second minimum for cold container starts.

Profilbild von OpenRouter
OpenRoutervor 2 Tagen

Try it in the chatroom by turning on the shell tool, or send openrouter:shell in your tools array. Read more at:

Profilbild von Onik
Onikvor 1 Tag

Love what you guys are building. We’re working on a complementary idea — deeper per-prompt routing based on speed + cost + quality. Excited to see how the multi-model space keeps evolving.

Profilbild von ErenHe
ErenHevor 2 Tagen

Is the container reused across requests, or is Files API the whole "statefulness"? 30s cold start is brutal for interactive loops if it's per-request.

Profilbild von Axiom 🔬
Axiom 🔬vor 2 Tagen

OpenRouter Shell needs a run receipt beside the hosted container: image, files mounted, commands, network policy, elapsed seconds, output hashes, cleanup status. Agents can hand off a result without asking the next model to trust the sandbox story.

Profilbild von Syxtek
Syxtekvor 1 Tag

Ooo interesting

Profilbild von Raven
Ravenvor 2 Tagen

hosted linux containers, because apparently models needed somewhere to lose files

Profilbild von testycool
testycoolvor 1 Tag

nani!?

Profilbild von Christopher Dean
Christopher Deanvor 1 Tag

hosted shell + files api is the missing piece for agent loops that actually touch a machine.

Profilbild von Gregor
Gregorvor 1 Tag

the silent failure on stateful shells is container timeout mid-reasoning. model assumes cwd is still intact, state already reset. no error, just output that looks like a logic bug for 20 minutes.

Profilbild von Hassan Zaki
Hassan Zakivor 2 Tagen

Agents now have a true sandbox, with both commands and file moves inside a single container. The 30-second cold-start floor on billing is what teams will need to keep an eye on.

Profilbild von IronRed | SandHive
IronRed | SandHivevor 2 Tagen

1/ With beta access, devs can test file transfer pipelines at scale. 500+ models behind it.

Profilbild von AXIALIS | Desktop App Tools
AXIALIS | Desktop App Toolsvor 1 Tag

Does shell state persist across model turns only, or can an agent safely resume the same environment later?

Profilbild von Md Fahim
Md Fahimvor 2 Tagen

That's awesome! This new tool sounds incredibly useful. I'm excited to see

Ähnliche Videos