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

pi-ali-code

v1.0.0

Published

Alibaba Model Studio Coding Plan provider for pi — Qwen, GLM, Kimi, and MiniMax models

Readme

pi-ali-code

A pi extension that adds Alibaba Model Studio Coding Plan models as a provider.

What is the Coding Plan?

Alibaba's Model Studio offers a Coding Plan — a dedicated tier with its own API key (sk-sp-*) and endpoint that provides access to multiple model families at reduced or zero cost:

  • Qwen — Qwen 3.5 Plus, Qwen3 Max, Qwen3 Coder Next/Plus
  • GLM — GLM-5, GLM-4.7
  • Kimi — Kimi K2.5
  • MiniMax — MiniMax M2.5

Problem

The Coding Plan uses a dedicated endpoint (coding-intl.dashscope.aliyuncs.com) and API key format (sk-sp-*) that differs from the standard DashScope API. Additionally, the DashScope API has compatibility issues with pi's default OpenAI API handling:

  • Tool arguments must be JSON objects, not stringified JSON
  • The developer role is not supported (must use system instead)

Installation

Option 1: NPM Package (Recommended)

npm install -g pi-ali-code

Add to ~/.pi/agent/settings.json:

{
  "packages": [
    "npm:[email protected]"
  ]
}

Option 2: Local Installation

git clone https://github.com/ricardo-nth/pi-ali-code.git ~/.pi/agent/extensions/ali-code

Add to ~/.pi/agent/settings.json:

{
  "packages": [
    "./extensions/ali-code"
  ]
}

Configuration

1. Get a Coding Plan API Key

  1. Go to Alibaba Model Studio
  2. Subscribe to the Coding Plan
  3. Copy your dedicated API key (starts with sk-sp-)

2. Set the Environment Variable

export DASHSCOPE_CODING_API_KEY="sk-sp-your-key-here"

Add this to your shell profile (~/.zshrc, ~/.bashrc, etc.) to persist it.

3. Restart pi

The models will appear in the model picker with a [Coding] suffix.

Available Models

| Model | ID | Reasoning | Vision | |---|---|---|---| | Qwen 3.5 Plus | qwen3.5-plus | No | Yes | | Qwen3 Max | qwen3-max-2026-01-23 | Yes | Yes | | Qwen3 Coder Next | qwen3-coder-next | No | No | | Qwen3 Coder Plus | qwen3-coder-plus | No | No | | GLM-5 | glm-5 | Yes | No | | GLM-4.7 | glm-4.7 | Yes | Yes | | Kimi K2.5 | kimi-k2.5 | Yes | No | | MiniMax M2.5 | MiniMax-M2.5 | Yes | No |

Related

  • pi-qwen-fix — Fixes for the standard alibaba-qwen provider in pi

License

MIT