inference-providers

Alibaba Token Plan

subscription

DocsConsolePricing

Getting credentials

plan-key

api_key via header (header Authorization: Bearer)

Key prefix: sk-sp-

Environment: BAILIAN_TOKEN_PLAN_API_KEY

Subscribe in Model Studio (Singapore region); plan keys only work on token-plan endpoints. Env var name not officially documented — verify.

Credentials docs

Endpoints

IDURLProtocolAuth
compatible-modehttps://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1/chat/completionsopenai-chatany
anthropichttps://token-plan.ap-southeast-1.maas.aliyuncs.com/apps/anthropicanthropic-messagesany

API surfaces

textstreaming

Plan

Price
$6 / monthly
Quota
Personal: Lite $6 (700 credits/5h, 2500/7d), Standard $20 (3000/10k), Pro $70 (12k/40k). Team: Standard $30/seat (25k credits), Pro $100/seat (100k), Max $200/seat (250k), shared packs $700/625k.
Notes
Sliding 5-hour + 7-day windows, no monthly reset. sk-sp- keys are NOT interchangeable with Coding Plan keys (shared prefix, different product). Interactive-tool use only (Claude Code, Cursor, Qwen Code, OpenClaw); scripts/backends banned on Personal.
Docs
https://www.alibabacloud.com/help/en/model-studio/token-plan-personal-overview

Quirks

Models offered

ModelWire IDEndpointStatusReasoning
deepseek/deepseek-v4-prodeepseek-v4-procompatible-modegatoggle · default on · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k2-7-codekimi-k2.7-codecompatible-modegatoggle · default on · returns reasoning_content · round-trips reasoning_content
zai/glm-5-2glm-5.2compatible-modegatoggle · default on · returns reasoning_content · round-trips reasoning_content