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-hiway2llm

v0.1.2

Published

n8n community node for HiWay2LLM — the smart LLM router that cuts your AI costs by 70-90%

Readme

n8n-nodes-hiway2llm

npm version License: MIT

HiWay2LLM is a smart LLM router that lets you use Claude, GPT-4o, Gemini, Mistral and more — with your own API keys — at cost, with no margin markup.

Save 70–90% on LLM costs compared to bundled AI providers.


What is HiWay2LLM?

HiWay2LLM is a BYOK (Bring Your Own Key) LLM gateway that routes your requests to the best model based on your choice, while handling:

  • Unified API — one endpoint, all providers (OpenAI, Anthropic, Google, Mistral, Perplexity)
  • Transparent pricing — you pay provider cost + a small platform fee, never a hidden markup
  • Smart routing — auto-selects optimal model tier based on your budget and task
  • Detailed usage tracking — per-request cost, tokens, model used

Installation

In your n8n instance, go to Settings > Community Nodes and install:

n8n-nodes-hiway2llm

Setup

  1. Create a free account at app.hiway2llm.com
  2. Generate an API key in Settings > API Keys (format: hw_live_...)
  3. In n8n, add a new HiWay2LLM API credential with your key
  4. Drop the HiWay2LLM node into any workflow

Operations

Chat

Send a message to any supported model and get a text response.

Parameters: | Field | Description | |-------|-------------| | Model | Choose from 15+ models across 5 tiers | | System Prompt | Optional instruction for the model | | User Message | The prompt to send | | Additional Messages | Inject conversation history (JSON array) | | Temperature | Creativity control (0–2) | | Max Tokens | Response length limit | | Response Format | Text or JSON Object | | Return Full Response | Get the full OpenAI-format object |

Output (default):

{
  "text": "Your answer here...",
  "finish_reason": "stop",
  "model": "anthropic/claude-sonnet-4-6",
  "usage": {
    "prompt_tokens": 45,
    "completion_tokens": 120,
    "total_tokens": 165
  }
}

List Models

Returns all models available on your HiWay2LLM plan, with tier and provider info.

{
  "id": "anthropic/claude-sonnet-4-6",
  "object": "model",
  "owned_by": "anthropic",
  "hiway_tier": "standard",
  "hiway_provider": "anthropic"
}

Supported Models

| Tier | Models | |------|--------| | Ultra-Light | Gemini 2.5 Flash Lite, GPT-4o Mini, Mistral Small | | Light | Claude Haiku 4.5 | | Standard | Claude Sonnet 4.6, GPT-4o, Gemini 2.5 Flash, Mistral Large | | Heavy | Claude Opus 4.7, GPT-5, Gemini 2.5 Pro | | Web Search | Perplexity Sonar, Sonar Pro, Sonar Reasoning |

Example Workflows

Content generation pipeline

HTTP Trigger → HiWay2LLM (Chat, Sonnet) → Airtable (Save)

Cost-aware classification

Webhook → HiWay2LLM (Chat, GPT-4o Mini) → Switch → ...

Research agent

Schedule → HiWay2LLM (Chat, Perplexity Sonar Pro) → Notion

Links

License

MIT — © 2025 Mytm-Group