Openrouter Multimodal
by github.com/stabgan · v4.5.1 · updated May 4, 2026
Chat with 300+ LLMs via OpenRouter. Analyze and generate images, audio, and video from MCP.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @stabgan/[email protected]Environment variables
OPENROUTER_API_KEYrequiredsecretOpenRouter API key. Get one free at https://openrouter.ai/keys
OPENROUTER_DEFAULT_MODELDefault model for chat + analyze tools. Defaults to nvidia/nemotron-nano-12b-v2-vl:free.
OPENROUTER_OUTPUT_DIRSandbox root for save_path on generate_* tools. Defaults to the current working directory.
OPENROUTER_MAX_TOKENSDefault max_tokens for chat_completion when unset in the request.
OPENROUTER_PROVIDER_SORTprice / throughput / latency
OPENROUTER_PROVIDER_IGNORECSV of provider slugs to exclude.
OPENROUTER_PROVIDER_ORDERJSON array or CSV of preferred provider IDs.
OPENROUTER_PROVIDER_QUANTIZATIONSCSV of quantization levels (fp16,int8).
OPENROUTER_PROVIDER_REQUIRE_PARAMETERStrue/false. Require providers to support all request params.
OPENROUTER_PROVIDER_DATA_COLLECTIONallow/deny
OPENROUTER_PROVIDER_ALLOW_FALLBACKStrue/false
OPENROUTER_CACHE_RESPONSESEnable response caching server-wide. Sends X-OpenRouter-Cache: true on every chat/analyze call unless overridden per-request. Zero tokens billed on cache hits.
OPENROUTER_INCLUDE_REASONINGEnable reasoning tokens passthrough server-wide. Adds _meta.reasoning to chat_completion responses for DeepSeek R1 / Gemini Thinking / Opus 4.7.
Docker
docker run -i --rm docker.io/stabgan/openrouter-mcp-multimodal:4.5.1Environment variables
OPENROUTER_API_KEYrequiredsecretOpenRouter API key. Get one free at https://openrouter.ai/keys
More from github.com/stabgan
More MCP servers
ScrubShifts Healthcare Jobs
github.com/stableotto
Live US nursing and allied-health jobs, updated daily. Search by place, role, shift, pay.
Stablevoy Mcp
github.com/stablevoy
USDT and USDC invoices, payment totals and docs for your Stablevoy stores. Keys cannot move funds.
fomox402
github.com/staccDOTsol
Broker + MCP server for last-bidder-wins on-chain games on Solana via x402 micropayments.
eb-stack
github.com/stackhands
Plan EasyBuild recipes, CycloneDX SBOMs, and Resolvo stack locks.
Stackin
github.com/stackin-io
Issue and manage Brazilian fiscal documents: NF-e for goods, NFS-e for services.
StackQL MCP Server
github.com/stackql
SQL-native query and provisioning engine for cloud infrastructure, served over MCP.