@juspay/neurolink 12.20.1 → 12.20.2

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.
@@ -78,8 +78,28 @@ const PRICING = {
78
78
  // Anthropic (direct API) — updated March 2026
79
79
  anthropic: {
80
80
  // Claude 5 family. Rates from platform.claude.com/docs/en/about-claude/pricing
81
- // (checked 2026-08-21). Cache multipliers are the documented ones: a 5-minute
82
- // cache write is 1.25x base input, a cache hit 0.1x.
81
+ // (checked 2026-09-23). A 5-minute cache write is 1.25x base input. The cache
82
+ // hit multiplier is 0.1x for most models but 0.05x on Opus 5.5 and 0.025x on
83
+ // Fable/Mythos 5.1, so those three are listed in full rather than left to the
84
+ // longest-prefix fallback — which would silently quote the 5.0 family's rates.
85
+ "claude-fable-5-1": {
86
+ input: 10.0 / 1_000_000,
87
+ output: 50.0 / 1_000_000,
88
+ cacheRead: 0.25 / 1_000_000,
89
+ cacheCreation: 12.5 / 1_000_000,
90
+ },
91
+ "claude-mythos-5-1": {
92
+ input: 10.0 / 1_000_000,
93
+ output: 50.0 / 1_000_000,
94
+ cacheRead: 0.25 / 1_000_000,
95
+ cacheCreation: 12.5 / 1_000_000,
96
+ },
97
+ "claude-opus-5-5": {
98
+ input: 4.0 / 1_000_000,
99
+ output: 20.0 / 1_000_000,
100
+ cacheRead: 0.2 / 1_000_000,
101
+ cacheCreation: 5.0 / 1_000_000,
102
+ },
83
103
  "claude-fable-5": {
84
104
  input: 10.0 / 1_000_000,
85
105
  output: 50.0 / 1_000_000,
@@ -226,6 +246,53 @@ const PRICING = {
226
246
  },
227
247
  // Google Vertex AI — Claude models on Vertex (same pricing, @ date suffix)
228
248
  vertex: {
249
+ // Claude 5 family. Absent here until now, so a Vertex leg serving any of
250
+ // them resolved to no rate at all and booked the turn at $0 — on the one
251
+ // provider in the chain that bills in real currency.
252
+ // `isVertexAnthropicModel` admits every `claude-*` id, so the whole
253
+ // family needs an entry, not only the ones the chain names today.
254
+ "claude-fable-5-1": {
255
+ input: 10.0 / 1_000_000,
256
+ output: 50.0 / 1_000_000,
257
+ cacheRead: 0.25 / 1_000_000,
258
+ cacheCreation: 12.5 / 1_000_000,
259
+ },
260
+ "claude-mythos-5-1": {
261
+ input: 10.0 / 1_000_000,
262
+ output: 50.0 / 1_000_000,
263
+ cacheRead: 0.25 / 1_000_000,
264
+ cacheCreation: 12.5 / 1_000_000,
265
+ },
266
+ "claude-fable-5": {
267
+ input: 10.0 / 1_000_000,
268
+ output: 50.0 / 1_000_000,
269
+ cacheRead: 1.0 / 1_000_000,
270
+ cacheCreation: 12.5 / 1_000_000,
271
+ },
272
+ "claude-mythos-5": {
273
+ input: 10.0 / 1_000_000,
274
+ output: 50.0 / 1_000_000,
275
+ cacheRead: 1.0 / 1_000_000,
276
+ cacheCreation: 12.5 / 1_000_000,
277
+ },
278
+ "claude-opus-5-5": {
279
+ input: 4.0 / 1_000_000,
280
+ output: 20.0 / 1_000_000,
281
+ cacheRead: 0.2 / 1_000_000,
282
+ cacheCreation: 5.0 / 1_000_000,
283
+ },
284
+ "claude-opus-5": {
285
+ input: 5.0 / 1_000_000,
286
+ output: 25.0 / 1_000_000,
287
+ cacheRead: 0.5 / 1_000_000,
288
+ cacheCreation: 6.25 / 1_000_000,
289
+ },
290
+ "claude-sonnet-5": {
291
+ input: 2.0 / 1_000_000,
292
+ output: 10.0 / 1_000_000,
293
+ cacheRead: 0.2 / 1_000_000,
294
+ cacheCreation: 2.5 / 1_000_000,
295
+ },
229
296
  "claude-sonnet-4-6": {
230
297
  input: 3.0 / 1_000_000,
231
298
  output: 15.0 / 1_000_000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "12.20.1",
3
+ "version": "12.20.2",
4
4
  "packageManager": "pnpm@10.15.1",
5
5
  "description": "The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002/call) for routing, tool selection and context budgeting. MCP-native (4 transports), voice TTS/STT/realtime, RAG, agents, memory, compaction, 9 observability exporters. OpenAI · Anthropic · Gemini · Bedrock · Azure · Ollama · TypeSafe Jev and more.",
6
6
  "author": {