← Catalog

pi-provider-volcengine-ark

pi provider extension for Volcengine Ark (火山方舟, OpenAI-compatible coding endpoint)

Provider

Install

Install with PiG

pig install npm:pi-provider-volcengine-ark

Install with Pi

pi install npm:pi-provider-volcengine-ark
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.4.0 (README.md). PiG does not review it.

pi-provider-volcengine-ark

A pi provider extension for Volcengine Ark (火山方舟, OpenAI-compatible coding endpoint).

Setup

Set your Ark API key as an environment variable:

export ARK_API_KEY=...

Install

pi install npm:pi-provider-volcengine-ark

Then in pi: run /reload (or restart pi), then pick a model with /model → volcengine-ark/<model>.

Endpoint

https://ark.cn-beijing.volces.com/api/coding/v3 — the public Volcengine Ark coding endpoint.

Available models

Model IDInputContextOutputNotes
doubao-seed-2.1-protext+image1M262kthinking toggle + effort
doubao-seed-2.1-litetext+image1M262kthinking toggle + effort
doubao-seed-2.0-minitext+image262k131kthinking toggle + effort
doubao-seed-evolvingtext+image1M262kthinking toggle + effort, weekly-updated
deepseek-v4.1-flashtext+image1M384kthinking toggle, effort high
kimi-k3text+image1M131kthinking toggle + effort
kimi-k2.7-codetext+image262k32kalways thinks, reasoning captured
glm-5.3text1M128kreasoning_effort low..max (low ≈ off)
glm-5.3-flashtext+image1M131kreasoning_effort low..max (low ≈ off)
minimax-m3text+image512k131kalways thinks, reasoning captured

All model facts were verified against the live endpoint (2026-09): max_tokens caps via the endpoint's InvalidParameter error, context windows and input modalities via GET /models plus image probes, and thinking parameters via behavior diffs. glm-5.2, kimi-k2.6, and minimax-m2.7 were delisted from the coding endpoint and removed.

Doubao, kimi-k3 and deepseek models use Ark's thinking: {"type": "enabled"|"disabled"} toggle — off genuinely disables thinking. kimi-k2.7-code no longer honors enable_thinking (thinking stays on), so it's configured as always-thinking with reasoning captured. Per-model max_tokens caps: glm 128000/131072, deepseek-v4* 393216, minimax 131072, kimi 32768/131072, doubao 131072/262144.

How it works

pi.registerProvider("volcengine-ark", { ... }) registers the provider with its endpoint, auth ($ARK_API_KEY env var), and a per-model catalog (context window, output limit, pricing, reasoning/compat options). The extension only runs inside pi — list it as a peerDependency on @earendil-works/pi-coding-agent.

License

MIT