A new provider plugin, @magpie-community/opencode-sensenova-auth 0.1.0, for the SenseNova (SenseTime 日日新) Token Plan, provider id `sensenova-token-plan`. - Sign-in: a console sign-in (OIDC + PKCE). The password is sealed to JWE under the platform's JWKS key and is not stored. - Quota: the account's credit pools (5h/7d windows, expiring grants) from pool-usage. - Chat: with an optional pasted API key, it serves the plan's chat models at token.sensenova.cn/v1. The list is filtered per account to models the plan covers. - Also adds a registry.json entry and a root README row. Hosts: - platform.sensenova.cn gets the access JWT. - iam.sensecoreapi.cn gets the sealed password. - signin.sensecore.cn gets the refresh token and the code. - token.sensenova.cn gets the API key. There are no dependencies and no install scripts. Run at head 3804ab46ae6c6c16d393e5dc08d6ae81c63da668 on mote (macOS 27.2, Bun 1.4.2), with a fresh HOME: - `bun test packages/sensenova`: 43 pass, 0 fail. - `bun scripts/check.mjs sensenova` passed. - Full `bun test`: 4455 pass, 9 skip, 0 fail. - Broken by hand: I removed each of the two `redirect: "manual"` lines that the last review found untested (IAM login, code exchange). Each time, its new 307 test went red (42/1). The earlier reviews' reverts went red at 0aa00b5 and 10984cf. Not tried: a real sign-in, quota read or chat. There is no SenseNova account. Unauthenticated probes of the real hosts (in the last review) match the walk's shape. This is the first version, not on npm yet, so the dist branch serves it until it is published.
314 lines
7.7 KiB
JSON
314 lines
7.7 KiB
JSON
{
|
|
"data": [
|
|
{
|
|
"id": "deepseek-v4-flash",
|
|
"hugging_face_id": "",
|
|
"name": "deepseek-v4-flash",
|
|
"created": 1777392000,
|
|
"input_modalities": [
|
|
"text"
|
|
],
|
|
"output_modalities": [
|
|
"text"
|
|
],
|
|
"quantization": "fp8",
|
|
"context_length": 1048576,
|
|
"max_output_length": 65536,
|
|
"pricing": {
|
|
"prompt": "0",
|
|
"completion": "0",
|
|
"image": "0",
|
|
"request": "0",
|
|
"input_cache_read": "0"
|
|
},
|
|
"supported_sampling_parameters": [
|
|
"temperature",
|
|
"stop"
|
|
],
|
|
"supported_features": [
|
|
"tools",
|
|
"json_mode",
|
|
"reasoning"
|
|
],
|
|
"description": "DeepSeek V4 Flash is a high-performance conversational model by DeepSeek, supporting thinking/non-thinking modes, 1M context window, and tool calling.",
|
|
"openrouter": {
|
|
"slug": "sensenova/deepseek-v4-flash"
|
|
},
|
|
"datacenters": [
|
|
{
|
|
"country_code": "CN"
|
|
}
|
|
],
|
|
"businesses": [
|
|
"tokenplan",
|
|
"metered"
|
|
]
|
|
},
|
|
{
|
|
"id": "glm-5.2",
|
|
"hugging_face_id": "",
|
|
"name": "glm-5.2",
|
|
"created": 1777392000,
|
|
"input_modalities": [
|
|
"text"
|
|
],
|
|
"output_modalities": [
|
|
"text"
|
|
],
|
|
"quantization": "fp8",
|
|
"context_length": 1048576,
|
|
"max_output_length": 131072,
|
|
"pricing": {
|
|
"prompt": "0",
|
|
"completion": "0",
|
|
"image": "0",
|
|
"request": "0",
|
|
"input_cache_read": "0"
|
|
},
|
|
"supported_sampling_parameters": [
|
|
"temperature",
|
|
"stop"
|
|
],
|
|
"supported_features": [
|
|
"tools",
|
|
"json_mode",
|
|
"reasoning"
|
|
],
|
|
"description": "GLM-5.2 is the flagship model for the era of long-horizon tasks. It supports a truly usable 1M context window, with practical tests showing it can handle project-level engineering contexts. Long-sequence task execution is more stable, adherence to engineering standards is more reliable, and success rates in development scenarios are further improved. A single task can complete the entire development pipeline—from requirements to deployable multi-platform deliverables.",
|
|
"openrouter": {
|
|
"slug": "sensenova/glm-5.2"
|
|
},
|
|
"datacenters": [
|
|
{
|
|
"country_code": "CN"
|
|
}
|
|
],
|
|
"businesses": [
|
|
"tokenplan",
|
|
"metered"
|
|
]
|
|
},
|
|
{
|
|
"id": "sensenova-6.8-flash-lite",
|
|
"hugging_face_id": "",
|
|
"name": "sensenova-6.8-flash-lite",
|
|
"created": 1777392000,
|
|
"input_modalities": [
|
|
"text",
|
|
"image"
|
|
],
|
|
"output_modalities": [
|
|
"text"
|
|
],
|
|
"quantization": "fp8",
|
|
"context_length": 262144,
|
|
"max_output_length": 65536,
|
|
"pricing": {
|
|
"prompt": "0",
|
|
"completion": "0",
|
|
"image": "0",
|
|
"request": "0",
|
|
"input_cache_read": "0"
|
|
},
|
|
"supported_sampling_parameters": [
|
|
"temperature",
|
|
"stop"
|
|
],
|
|
"supported_features": [
|
|
"tools",
|
|
"json_mode",
|
|
"reasoning"
|
|
],
|
|
"description": "SenseNova 6.8 Flash-Lite is a lightweight multimodal agent model designed for real-world workflows, supporting text conversation and image input understanding.",
|
|
"openrouter": {
|
|
"slug": "sensenova/sensenova-6.8-flash-lite"
|
|
},
|
|
"datacenters": [
|
|
{
|
|
"country_code": "CN"
|
|
}
|
|
],
|
|
"businesses": [
|
|
"tokenplan",
|
|
"metered"
|
|
]
|
|
},
|
|
{
|
|
"id": "sensenova-u1.5-lite",
|
|
"hugging_face_id": "",
|
|
"name": "sensenova-u1.5-lite",
|
|
"created": 1777392000,
|
|
"input_modalities": [
|
|
"text"
|
|
],
|
|
"output_modalities": [
|
|
"image"
|
|
],
|
|
"quantization": "fp8",
|
|
"context_length": 262144,
|
|
"max_output_length": 65536,
|
|
"pricing": {
|
|
"prompt": "0",
|
|
"completion": "0",
|
|
"image": "0",
|
|
"request": "0",
|
|
"input_cache_read": "0"
|
|
},
|
|
"supported_sampling_parameters": [
|
|
"temperature",
|
|
"stop"
|
|
],
|
|
"supported_features": [
|
|
"tools",
|
|
"json_mode",
|
|
"reasoning"
|
|
],
|
|
"description": "SenseNova U1.5 Lite is an accelerated version based on SenseNova U1.5, specialized for infographics generation.",
|
|
"openrouter": {
|
|
"slug": "sensenova/sensenova-u1.5-lite"
|
|
},
|
|
"datacenters": [
|
|
{
|
|
"country_code": "CN"
|
|
}
|
|
],
|
|
"businesses": [
|
|
"tokenplan",
|
|
"metered"
|
|
]
|
|
},
|
|
{
|
|
"id": "kimi-k3",
|
|
"hugging_face_id": "",
|
|
"name": "kimi-k3",
|
|
"created": 1777392000,
|
|
"input_modalities": [
|
|
"text"
|
|
],
|
|
"output_modalities": [
|
|
"text"
|
|
],
|
|
"quantization": "fp8",
|
|
"context_length": 1048576,
|
|
"max_output_length": 65536,
|
|
"pricing": {
|
|
"prompt": "0",
|
|
"completion": "0",
|
|
"image": "0",
|
|
"request": "0",
|
|
"input_cache_read": "0"
|
|
},
|
|
"supported_sampling_parameters": [
|
|
"temperature",
|
|
"stop"
|
|
],
|
|
"supported_features": [
|
|
"tools",
|
|
"json_mode",
|
|
"reasoning"
|
|
],
|
|
"description": "Kimi K3 is a high-performance conversational model by Kimi, supporting thinking/non-thinking modes, 1M context window, and tool calling.",
|
|
"openrouter": {
|
|
"slug": "sensenova/kimi-k3"
|
|
},
|
|
"datacenters": [
|
|
{
|
|
"country_code": "CN"
|
|
}
|
|
],
|
|
"businesses": [
|
|
"tokenplan",
|
|
"metered"
|
|
]
|
|
},
|
|
{
|
|
"id": "deepseek-flash",
|
|
"hugging_face_id": "",
|
|
"name": "deepseek-flash",
|
|
"created": 1777392000,
|
|
"input_modalities": [
|
|
"text"
|
|
],
|
|
"output_modalities": [
|
|
"text"
|
|
],
|
|
"quantization": "fp8",
|
|
"context_length": 1048576,
|
|
"max_output_length": 65536,
|
|
"pricing": {
|
|
"prompt": "0",
|
|
"completion": "0",
|
|
"image": "0",
|
|
"request": "0",
|
|
"input_cache_read": "0"
|
|
},
|
|
"supported_sampling_parameters": [
|
|
"temperature",
|
|
"stop"
|
|
],
|
|
"supported_features": [
|
|
"tools",
|
|
"json_mode",
|
|
"reasoning"
|
|
],
|
|
"description": "DeepSeek Flash is a high-performance conversational model by DeepSeek, supporting thinking/non-thinking modes, 1M context window, and tool calling.",
|
|
"openrouter": {
|
|
"slug": "sensenova/deepseek-flash"
|
|
},
|
|
"datacenters": [
|
|
{
|
|
"country_code": "CN"
|
|
}
|
|
],
|
|
"businesses": [
|
|
"tokenplan",
|
|
"metered"
|
|
]
|
|
},
|
|
{
|
|
"id": "deepseek-v4.1-flash",
|
|
"hugging_face_id": "",
|
|
"name": "deepseek-v4.1-flash",
|
|
"created": 1777392000,
|
|
"input_modalities": [
|
|
"text"
|
|
],
|
|
"output_modalities": [
|
|
"text"
|
|
],
|
|
"quantization": "fp8",
|
|
"context_length": 1048576,
|
|
"max_output_length": 65536,
|
|
"pricing": {
|
|
"prompt": "0",
|
|
"completion": "0",
|
|
"image": "0",
|
|
"request": "0",
|
|
"input_cache_read": "0"
|
|
},
|
|
"supported_sampling_parameters": [
|
|
"temperature",
|
|
"stop"
|
|
],
|
|
"supported_features": [
|
|
"tools",
|
|
"json_mode",
|
|
"reasoning"
|
|
],
|
|
"description": "DeepSeek V4.1 Flash is a high-performance conversational model by DeepSeek, supporting thinking/non-thinking modes, 1M context window, and tool calling.",
|
|
"openrouter": {
|
|
"slug": "sensenova/deepseek-v4.1-flash"
|
|
},
|
|
"datacenters": [
|
|
{
|
|
"country_code": "CN"
|
|
}
|
|
],
|
|
"businesses": [
|
|
"tokenplan",
|
|
"metered"
|
|
]
|
|
}
|
|
]
|
|
}
|