@aliou/pi-neuralwatt 0.10.4 → 0.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,35 +3,32 @@ import { fetchNeuralwattModels } from "../../../src/lib/neuralwatt-api";
3
3
  import type { NeuralwattApiModel } from "../../../src/types/models-api";
4
4
  import { NEURALWATT_MODELS } from "./public-models";
5
5
 
6
- // Hidden aliases that work for authorized accounts but are omitted from the
7
- // authenticated /v1/models response. Keep these gated by includeHiddenModels.
6
+ // Hidden models available to authorized accounts but omitted from the public
7
+ // /v1/models response. Keep these gated by includeHiddenModels and hardcode
8
+ // early-access entries so they remain available from the offline catalog.
8
9
  // Move an entry to public-models.ts once Neuralwatt advertises it publicly.
9
10
  export const HIDDEN_NEURALWATT_MODELS: ProviderModelConfig[] = [
10
- // DeepSeek V4 Flash Canary - early-access 284B/13B-active MoE served on B200s.
11
- // Neuralwatt omits it from the authenticated catalog. Context and runtime
12
- // capabilities were verified directly; pricing follows DeepSeek's upstream
13
- // rates until Neuralwatt publishes model metadata.
11
+ // Kimi K3 - early-access MoonshotAI multimodal MoE.
12
+ // Metadata is sourced from Neuralwatt's authenticated model catalog.
14
13
  {
15
- id: "deepseek-v4-flash",
16
- name: "DeepSeek V4 Flash (Canary)",
14
+ id: "kimi-k3",
15
+ name: "Kimi K3",
17
16
  reasoning: true,
18
17
  input: ["text", "image"],
19
18
  cost: {
20
- input: 0.14,
21
- output: 0.28,
22
- cacheRead: 0.0028,
19
+ input: 3,
20
+ output: 15,
21
+ cacheRead: 0.3,
23
22
  cacheWrite: 0,
24
23
  },
25
- contextWindow: 1_000_000,
26
- maxTokens: 384_000,
24
+ contextWindow: 1048560,
25
+ maxTokens: 65536,
27
26
  thinkingLevelMap: {
28
- off: "none",
29
- minimal: "low",
30
- low: "low",
27
+ minimal: null,
28
+ low: null,
31
29
  medium: "medium",
32
- high: "high",
30
+ high: null,
33
31
  xhigh: null,
34
- max: "max",
35
32
  },
36
33
  compat: {
37
34
  supportsDeveloperRole: false,
@@ -12,6 +12,7 @@ export const LEGACY_MODEL_ALIAS_MAP = {
12
12
  "moonshotai/Kimi-K2.6": "kimi-k2.6",
13
13
  "Qwen/Qwen3.5-397B-A17B-FP8": "qwen3.5-397b",
14
14
  "Qwen/Qwen3.6-35B-A3B": "qwen3.6-35b",
15
+ "nvidia/Gemma-4-31B-IT-NVFP4": "gemma-4-31b",
15
16
  } as const;
16
17
 
17
18
  export const LEGACY_NEURALWATT_MODEL_IDS = new Set<string>(
@@ -3,23 +3,33 @@ import type { ProviderModelConfig } from "@earendil-works/pi-coding-agent";
3
3
  // Public models returned by https://api.neuralwatt.com/v1/models (unauthenticated view).
4
4
  // Pricing, capabilities, and limits are sourced from the API metadata fields.
5
5
  export const NEURALWATT_MODELS: ProviderModelConfig[] = [
6
- // Gemma 4 31B - NVIDIA NVFP4 checkpoint
6
+ // DeepSeek V4 Flash - DeepSeek
7
7
  {
8
- id: "nvidia/Gemma-4-31B-IT-NVFP4",
9
- name: "Gemma 4 31B (NVFP4)",
10
- reasoning: false,
11
- input: ["text", "image"],
8
+ id: "deepseek-v4-flash",
9
+ name: "DeepSeek V4 Flash",
10
+ reasoning: true,
11
+ input: ["text"],
12
12
  cost: {
13
- input: 0.144,
14
- output: 0.42,
15
- cacheRead: 0.036,
13
+ input: 0.104,
14
+ output: 0.207,
15
+ cacheRead: 0.026,
16
16
  cacheWrite: 0,
17
17
  },
18
- contextWindow: 262128,
19
- maxTokens: 16384,
18
+ contextWindow: 1048560,
19
+ maxTokens: 65536,
20
+ thinkingLevelMap: {
21
+ off: "none",
22
+ minimal: "low",
23
+ low: "low",
24
+ medium: "medium",
25
+ high: "high",
26
+ xhigh: null,
27
+ max: "max",
28
+ },
20
29
  compat: {
21
30
  supportsDeveloperRole: false,
22
31
  maxTokensField: "max_tokens",
32
+ requiresReasoningContentOnAssistantMessages: true,
23
33
  },
24
34
  },
25
35
  // Gemma 4 31B - Google, served from NVIDIA's NVFP4 checkpoint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-neuralwatt",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,