npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-openrouter-noreasoning

v0.3.0

Published

OpenRouter Chat Model node for n8n with reasoning forcefully disabled. Fixes tool calling issues with DeepSeek V4/V3.2 in AI Agent workflows.

Readme

n8n-nodes-openrouter-noreasoning

Version License

A drop-in replacement for the official n8n OpenRouter Chat Model node that forces reasoning: { enabled: false } on every request. This fixes a current bug where DeepSeek V4 and V3.2 served through OpenRouter break tool calling when reasoning ("thinking") mode is active inside the n8n AI Agent.

Why this exists

OpenRouter's DeepSeek V4 / V3.2 endpoints currently emit reasoning_content tokens by default. When n8n's AI Agent receives those alongside tool_calls, the LangChain tool-calling loop fails to parse the assistant turn and the agent either repeats the same tool call forever or returns an empty response.

The cleanest fix is to send "reasoning": {"enabled": false} in the body of every chat completion request. The official OpenRouter node does not expose this flag, so this community node injects it via LangChain's modelKwargs.

For background see the OpenRouter docs on the reasoning parameter and the upstream discussion in DeepSeek + tool calling on OpenRouter.

Installation

Inside your n8n instance:

  1. Open Settings → Community Nodes
  2. Click Install
  3. Enter the package name: n8n-nodes-openrouter-noreasoning
  4. Accept the risks of installing a community node and confirm
  5. Reload the editor

The node will appear in the node picker as OpenRouter Chat Model (No Reasoning) under the Chat Models (Recommended) category.

Usage

Screenshot placeholder

  1. Drop an AI Agent node onto the canvas
  2. On the agent's Chat Model input, attach an OpenRouter Chat Model (No Reasoning) node
  3. Select or create an OpenRouter API credential (the native n8n one — no custom credential is required)
  4. Configure the node:
    • Model — pick from the live OpenRouter list (search supported) or type the model ID manually
    • ReasoningDisabled (Recommended) by default. Switch to Low / Medium / High only if your model supports it and you don't need tool-calling. Disabled → injects reasoning: { enabled: false }; effort levels → inject reasoning: { effort: "<level>" }.
    • Response FormatText (default) or JSON Object (injects response_format: { type: "json_object" }).
    • Options — temperature, top-p, penalties, timeout, max retries
  5. Run the workflow

Compatible models

  • deepseek/deepseek-v4-flash
  • deepseek/deepseek-v4-pro
  • deepseek/deepseek-v3.2

Other models (Anthropic Claude, Google Gemini, OpenAI GPT, etc.) accept the reasoning parameter as well, but silently ignore it when reasoning is not applicable. There is no risk of errors when pointing this node at non-DeepSeek models — it just behaves like a normal OpenRouter Chat Model.

Local development

npm install
npm run build      # one-shot build
npm run dev        # watch mode
npm run lint

To test against a local n8n instance, link the built package:

npm link
cd ~/.n8n/custom    # or wherever your n8n custom dir is
npm link n8n-nodes-openrouter-noreasoning

Publishing

npm login
npm publish --access public

The prepublishOnly script runs the build and the strict lint config before publishing.

License

MIT