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

@rivetos/provider-vllm

v0.4.0-beta.6

Published

vLLM provider — full vLLM OpenAI-compatible surface: sampling extensions, mm_processor_kwargs, chat_template_kwargs, video, and reasoning_content

Downloads

189

Readme

@rivetos/provider-vllm

Dedicated vLLM provider for RivetOS. Exposes the full vLLM surface on top of vLLM's OpenAI-compatible server:

  • Standard OpenAI sampling plus vLLM extensions: top_k, min_p, repetition_penalty, min_tokens.
  • mm_processor_kwargs / chat_template_kwargs and an extra_body escape hatch.
  • video_url content blocks (carried out-of-band so the AI SDK serializer doesn't reject them).
  • Native reasoning_content parsing via the AI SDK reasoning surface (configure a server-side --reasoning-parser).
  • Folds mid-conversation system messages into user [SYSTEM NOTICE] content (vLLM/Qwen/Llama chat templates reject them).
  • /v1/models probe that auto-selects the served model and its context window when model: default.

For llama.cpp's llama-server, use @rivetos/provider-llama-server instead.

Config

providers:
  vllm:
    base_url: http://localhost:8000      # trailing /v1 optional
    model: default                       # auto-discovers from /v1/models
    top_k: 40
    min_p: 0.05
    # api_key: ${VLLM_API_KEY}           # only if vLLM was started with --api-key

agents:
  local:
    provider: vllm
    local: true

Start a server with vllm serve <model> --port 8000 [--reasoning-parser ...] [--enable-auto-tool-choice]. The API key falls back to the VLLM_API_KEY environment variable.

| Key | Type | Default | Description | |-----|------|---------|-------------| | base_url | string | required | vLLM server URL (/v1 optional). | | model | string | default | Served model id; default auto-discovers. | | api_key | string | ${VLLM_API_KEY} | Bearer token (only if --api-key set). | | max_tokens | number | 4096 | Maximum output tokens. | | temperature / top_p | number | 0.7 / 0.95 | Standard sampling. | | top_k / min_p | number | — | vLLM sampling extensions. | | presence_penalty / frequency_penalty / seed / stop | — | — | Standard OpenAI knobs. | | repetition_penalty / min_tokens | number | — | vLLM extensions. | | mm_processor_kwargs / chat_template_kwargs / extra_body | object | — | vLLM passthroughs. | | default_tool_choice | string | auto | auto, none, or required. | | verify_model_on_init | boolean | false | Probe /v1/models at boot. | | context_window / max_output_tokens | number | — | Runtime budgeting overrides. | | name | string | vllm | Display name in logs/errors. |

License

MIT