@blockrun/clawrouter 0.12.313 → 0.12.315
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.
- package/dist/cli.js +1104 -413
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1029 -338
- package/package.json +7 -7
- package/src/top-models.json +1 -1
package/dist/index.js
CHANGED
|
@@ -44237,7 +44237,7 @@ var init_chunk_XW2CWVLZ = __esm({
|
|
|
44237
44237
|
}
|
|
44238
44238
|
});
|
|
44239
44239
|
|
|
44240
|
-
// node_modules/@x402/core/dist/esm/chunk-
|
|
44240
|
+
// node_modules/@x402/core/dist/esm/chunk-PVRH2E6N.mjs
|
|
44241
44241
|
function encodePaymentSignatureHeader(paymentPayload) {
|
|
44242
44242
|
return safeBase64Encode(JSON.stringify(paymentPayload));
|
|
44243
44243
|
}
|
|
@@ -44260,8 +44260,8 @@ function decodePaymentResponseHeader(paymentResponseHeader) {
|
|
|
44260
44260
|
);
|
|
44261
44261
|
}
|
|
44262
44262
|
var MAX_CONTROL_PLANE_RESPONSE_BYTES, verifyResponseSchema, settleResponseSchema, supportedKindSchema, supportedResponseSchema, x402HTTPClient, requireDecodedJsonObject;
|
|
44263
|
-
var
|
|
44264
|
-
"node_modules/@x402/core/dist/esm/chunk-
|
|
44263
|
+
var init_chunk_PVRH2E6N = __esm({
|
|
44264
|
+
"node_modules/@x402/core/dist/esm/chunk-PVRH2E6N.mjs"() {
|
|
44265
44265
|
"use strict";
|
|
44266
44266
|
init_chunk_Z7WXFCST();
|
|
44267
44267
|
init_chunk_VE37GDG2();
|
|
@@ -44574,7 +44574,7 @@ var DEFAULT_MAX_AMOUNT_PER_PAYMENT, x402Client;
|
|
|
44574
44574
|
var init_client = __esm({
|
|
44575
44575
|
"node_modules/@x402/core/dist/esm/client/index.mjs"() {
|
|
44576
44576
|
"use strict";
|
|
44577
|
-
|
|
44577
|
+
init_chunk_PVRH2E6N();
|
|
44578
44578
|
init_chunk_Z7WXFCST();
|
|
44579
44579
|
init_chunk_VE37GDG2();
|
|
44580
44580
|
init_chunk_MA7F3CLI();
|
|
@@ -45215,7 +45215,7 @@ var init_client = __esm({
|
|
|
45215
45215
|
var init_http3 = __esm({
|
|
45216
45216
|
"node_modules/@x402/core/dist/esm/http/index.mjs"() {
|
|
45217
45217
|
"use strict";
|
|
45218
|
-
|
|
45218
|
+
init_chunk_PVRH2E6N();
|
|
45219
45219
|
init_chunk_Z7WXFCST();
|
|
45220
45220
|
init_chunk_VE37GDG2();
|
|
45221
45221
|
init_chunk_MA7F3CLI();
|
|
@@ -80345,7 +80345,7 @@ var init_src3 = __esm({
|
|
|
80345
80345
|
}
|
|
80346
80346
|
});
|
|
80347
80347
|
|
|
80348
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
80348
|
+
// node_modules/@x402/svm/dist/esm/chunk-DAIKIZVB.mjs
|
|
80349
80349
|
function normalizeNetwork(network) {
|
|
80350
80350
|
if (network.includes(":")) {
|
|
80351
80351
|
const supported = [SOLANA_MAINNET_CAIP2, SOLANA_DEVNET_CAIP2, SOLANA_TESTNET_CAIP2];
|
|
@@ -80582,8 +80582,8 @@ async function recordPendingOrTerminal(store, key3, signature3, payer, network,
|
|
|
80582
80582
|
};
|
|
80583
80583
|
}
|
|
80584
80584
|
var TOKEN_PROGRAM_ADDRESS3, TOKEN_2022_PROGRAM_ADDRESS2, COMPUTE_BUDGET_PROGRAM_ADDRESS2, MEMO_PROGRAM_ADDRESS, LIGHTHOUSE_PROGRAM_ADDRESS, DEVNET_RPC_URL, TESTNET_RPC_URL, MAINNET_RPC_URL, DEVNET_WS_URL, TESTNET_WS_URL, MAINNET_WS_URL, DEFAULT_COMPUTE_UNIT_PRICE_MICROLAMPORTS, MAX_COMPUTE_UNIT_PRICE_MICROLAMPORTS, DEFAULT_COMPUTE_UNIT_LIMIT, DEFAULT_MAX_COMPUTE_UNITS, DEFAULT_MAX_REQUIRED_SIGNATURES, MAX_MEMO_BYTES, ACCEPTED_TRANSACTION_VERSIONS, ADVERTISED_TRANSACTION_VERSIONS, CLIENT_SUPPORTED_TRANSACTION_VERSIONS, SETTLEMENT_TTL_MS, SVM_ADDRESS_REGEX, SOLANA_MAINNET_CAIP2, SOLANA_DEVNET_CAIP2, SOLANA_TESTNET_CAIP2, V1_TO_V2_NETWORK_MAP, ErrInvalidPayloadTransaction, ErrUnsupportedTransactionVersion, ErrFeePayerTransferringFunds, ErrMemoMismatch, ErrMemoCount, ErrSmartWalletFeePayerNotIsolated, ErrSmartWalletMalformedComputeBudget, ErrSmartWalletMalformedComputeLimit, ErrSmartWalletMalformedComputePrice, ErrSmartWalletComputeUnitsTooHigh, ErrSmartWalletPriorityFeeTooHigh, ErrSmartWalletUnsupportedComputeBudget, ErrSmartWalletAltResolutionUnavailable, ErrSmartWalletAltResolutionFailed, ErrSmartWalletComputeBudgetViolation, ErrSmartWalletSimulationFailed, ErrSmartWalletCannotDeriveATA, ErrSmartWalletNoTransferInSimulation, ErrSmartWalletTransferMismatch, ErrSmartWalletMultipleMatchingTransfers, USDC_MAINNET_ADDRESS, USDC_DEVNET_ADDRESS, USDC_TESTNET_ADDRESS, DEFAULT_ASSETS2, getDefaultAsset2, findDefaultAsset2, BASIS_POINTS_DENOMINATOR, SLOT_COMMITMENT, TransactionOnchainFailureError;
|
|
80585
|
-
var
|
|
80586
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
80585
|
+
var init_chunk_DAIKIZVB = __esm({
|
|
80586
|
+
"node_modules/@x402/svm/dist/esm/chunk-DAIKIZVB.mjs"() {
|
|
80587
80587
|
"use strict";
|
|
80588
80588
|
init_sha2563();
|
|
80589
80589
|
init_index_node39();
|
|
@@ -80803,7 +80803,7 @@ var init_src4 = __esm({
|
|
|
80803
80803
|
}
|
|
80804
80804
|
});
|
|
80805
80805
|
|
|
80806
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
80806
|
+
// node_modules/@x402/svm/dist/esm/chunk-RZ6M7L3U.mjs
|
|
80807
80807
|
function maxTransactionSize(version31) {
|
|
80808
80808
|
return version31 === 1 ? V1_MAX_TRANSACTION_SIZE : V0_MAX_TRANSACTION_SIZE;
|
|
80809
80809
|
}
|
|
@@ -80901,10 +80901,10 @@ function checkTransactionV1Budget(config2, programAddresses, limits) {
|
|
|
80901
80901
|
return void 0;
|
|
80902
80902
|
}
|
|
80903
80903
|
var V0_MAX_TRANSACTION_SIZE, V1_MAX_TRANSACTION_SIZE, DEFAULT_LOADED_ACCOUNTS_DATA_SIZE_LIMIT;
|
|
80904
|
-
var
|
|
80905
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
80904
|
+
var init_chunk_RZ6M7L3U = __esm({
|
|
80905
|
+
"node_modules/@x402/svm/dist/esm/chunk-RZ6M7L3U.mjs"() {
|
|
80906
80906
|
"use strict";
|
|
80907
|
-
|
|
80907
|
+
init_chunk_DAIKIZVB();
|
|
80908
80908
|
init_index_node39();
|
|
80909
80909
|
init_src4();
|
|
80910
80910
|
V0_MAX_TRANSACTION_SIZE = 1232;
|
|
@@ -80913,7 +80913,7 @@ var init_chunk_A5U3JRDR = __esm({
|
|
|
80913
80913
|
}
|
|
80914
80914
|
});
|
|
80915
80915
|
|
|
80916
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
80916
|
+
// node_modules/@x402/svm/dist/esm/chunk-DP3B4MQJ.mjs
|
|
80917
80917
|
function encodeVoucherMessageBytes(args) {
|
|
80918
80918
|
const channelBytes = getBase58Encoder().encode(args.channelId);
|
|
80919
80919
|
if (channelBytes.byteLength !== 32) {
|
|
@@ -81359,11 +81359,11 @@ function randomU64() {
|
|
|
81359
81359
|
return new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength).getBigUint64(0, true);
|
|
81360
81360
|
}
|
|
81361
81361
|
var VOUCHER_MAGIC, PAYMENT_CHANNELS_PROGRAM_ADDRESS, ASSOCIATED_TOKEN_PROGRAM_ID, PAYMENT_CHANNELS_PROGRAM_ID, MAINNET_TREASURY_OWNER_BYTES, MAINNET_TREASURY_OWNER, DEVNET_TREASURY_OWNER, OPEN_DISCRIMINATOR, TOP_UP_DISCRIMINATOR, U64_MAX2, OPEN_MAX_COMPUTE_UNIT_LIMIT, OPEN_DEFAULT_COMPUTE_UNIT_LIMIT, RENT_SYSVAR, MAX_CHANNEL_PDA_CACHE_ENTRIES, channelPdaCache;
|
|
81362
|
-
var
|
|
81363
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
81362
|
+
var init_chunk_DP3B4MQJ = __esm({
|
|
81363
|
+
"node_modules/@x402/svm/dist/esm/chunk-DP3B4MQJ.mjs"() {
|
|
81364
81364
|
"use strict";
|
|
81365
|
-
|
|
81366
|
-
|
|
81365
|
+
init_chunk_RZ6M7L3U();
|
|
81366
|
+
init_chunk_DAIKIZVB();
|
|
81367
81367
|
init_index_node39();
|
|
81368
81368
|
init_index_node39();
|
|
81369
81369
|
init_index_node39();
|
|
@@ -81428,7 +81428,7 @@ var init_chunk_BU4OMUDH = __esm({
|
|
|
81428
81428
|
}
|
|
81429
81429
|
});
|
|
81430
81430
|
|
|
81431
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
81431
|
+
// node_modules/@x402/svm/dist/esm/chunk-VITMNYMM.mjs
|
|
81432
81432
|
function getRequestCloseInstructionDataEncoder() {
|
|
81433
81433
|
return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()]]), (value) => ({
|
|
81434
81434
|
...value,
|
|
@@ -81501,12 +81501,12 @@ function requestMemo(value) {
|
|
|
81501
81501
|
);
|
|
81502
81502
|
}
|
|
81503
81503
|
var REQUEST_CLOSE_DISCRIMINATOR;
|
|
81504
|
-
var
|
|
81505
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
81504
|
+
var init_chunk_VITMNYMM = __esm({
|
|
81505
|
+
"node_modules/@x402/svm/dist/esm/chunk-VITMNYMM.mjs"() {
|
|
81506
81506
|
"use strict";
|
|
81507
|
-
|
|
81508
|
-
|
|
81509
|
-
|
|
81507
|
+
init_chunk_DP3B4MQJ();
|
|
81508
|
+
init_chunk_RZ6M7L3U();
|
|
81509
|
+
init_chunk_DAIKIZVB();
|
|
81510
81510
|
init_index_node39();
|
|
81511
81511
|
init_index_node39();
|
|
81512
81512
|
init_index_node40();
|
|
@@ -81514,7 +81514,7 @@ var init_chunk_3WM4BBCN = __esm({
|
|
|
81514
81514
|
}
|
|
81515
81515
|
});
|
|
81516
81516
|
|
|
81517
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
81517
|
+
// node_modules/@x402/svm/dist/esm/chunk-NUK2USQ3.mjs
|
|
81518
81518
|
function getChannelDecoder() {
|
|
81519
81519
|
return getStructDecoder([
|
|
81520
81520
|
["discriminator", getU8Decoder()],
|
|
@@ -81536,15 +81536,15 @@ function getChannelDecoder() {
|
|
|
81536
81536
|
["openSlot", getU64Decoder()]
|
|
81537
81537
|
]);
|
|
81538
81538
|
}
|
|
81539
|
-
var
|
|
81540
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
81539
|
+
var init_chunk_NUK2USQ3 = __esm({
|
|
81540
|
+
"node_modules/@x402/svm/dist/esm/chunk-NUK2USQ3.mjs"() {
|
|
81541
81541
|
"use strict";
|
|
81542
|
-
|
|
81542
|
+
init_chunk_DP3B4MQJ();
|
|
81543
81543
|
init_index_node39();
|
|
81544
81544
|
}
|
|
81545
81545
|
});
|
|
81546
81546
|
|
|
81547
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
81547
|
+
// node_modules/@x402/svm/dist/esm/chunk-RMG2KWUT.mjs
|
|
81548
81548
|
function channelAddressFilters(value, offset) {
|
|
81549
81549
|
return [
|
|
81550
81550
|
{ dataSize: CHANNEL_ACCOUNT_SIZE },
|
|
@@ -81615,11 +81615,11 @@ async function validateDiscoveredAccount(pubkey, owner, base64Data, expectedProg
|
|
|
81615
81615
|
return { channelId: pubkey, channel };
|
|
81616
81616
|
}
|
|
81617
81617
|
var CHANNEL_ACCOUNT_SIZE, CHANNEL_RENT_PAYER_OFFSET, CHANNEL_PAYER_OFFSET;
|
|
81618
|
-
var
|
|
81619
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
81618
|
+
var init_chunk_RMG2KWUT = __esm({
|
|
81619
|
+
"node_modules/@x402/svm/dist/esm/chunk-RMG2KWUT.mjs"() {
|
|
81620
81620
|
"use strict";
|
|
81621
|
-
|
|
81622
|
-
|
|
81621
|
+
init_chunk_NUK2USQ3();
|
|
81622
|
+
init_chunk_DP3B4MQJ();
|
|
81623
81623
|
init_index_node39();
|
|
81624
81624
|
CHANNEL_ACCOUNT_SIZE = 256n;
|
|
81625
81625
|
CHANNEL_RENT_PAYER_OFFSET = 216n;
|
|
@@ -81627,7 +81627,7 @@ var init_chunk_PQ3QK4Z4 = __esm({
|
|
|
81627
81627
|
}
|
|
81628
81628
|
});
|
|
81629
81629
|
|
|
81630
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
81630
|
+
// node_modules/@x402/svm/dist/esm/chunk-CJ2GGI22.mjs
|
|
81631
81631
|
function isBatchVoucher(value) {
|
|
81632
81632
|
if (!isRecord(value)) return false;
|
|
81633
81633
|
return typeof value.channelId === "string" && typeof value.maxClaimableAmount === "string" && typeof value.expiresAt === "number" && typeof value.signature === "string";
|
|
@@ -81812,12 +81812,12 @@ function parseReceiverBindingMemo(memo2) {
|
|
|
81812
81812
|
return isAddress2(authorizer) ? authorizer : void 0;
|
|
81813
81813
|
}
|
|
81814
81814
|
var BATCH_SETTLEMENT_SCHEME2, MIN_WITHDRAW_DELAY2, MAX_WITHDRAW_DELAY, FULL_SPLIT_BPS, CLIENT_VOUCHER_EXPIRES_AT, AUTHORIZATION_DOMAIN, CLOSE_DOMAIN, V1_MAX_CLAIM_CHANNELS, V1_MAX_SETTLE_CHANNELS, PREFIX, BatchError, isDecimal, isSafeUint, isOptional, isString, RECEIVER_BINDING_MEMO_PREFIX;
|
|
81815
|
-
var
|
|
81816
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
81815
|
+
var init_chunk_CJ2GGI22 = __esm({
|
|
81816
|
+
"node_modules/@x402/svm/dist/esm/chunk-CJ2GGI22.mjs"() {
|
|
81817
81817
|
"use strict";
|
|
81818
|
-
|
|
81819
|
-
|
|
81820
|
-
|
|
81818
|
+
init_chunk_DP3B4MQJ();
|
|
81819
|
+
init_chunk_RZ6M7L3U();
|
|
81820
|
+
init_chunk_DAIKIZVB();
|
|
81821
81821
|
init_index_node39();
|
|
81822
81822
|
init_index_node39();
|
|
81823
81823
|
BATCH_SETTLEMENT_SCHEME2 = "batch-settlement";
|
|
@@ -81865,7 +81865,7 @@ var init_chunk_GAYY7QRO = __esm({
|
|
|
81865
81865
|
}
|
|
81866
81866
|
});
|
|
81867
81867
|
|
|
81868
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
81868
|
+
// node_modules/@x402/svm/dist/esm/chunk-2RSZYSMO.mjs
|
|
81869
81869
|
function parseTokenProgramHint(extra) {
|
|
81870
81870
|
const hint = extra?.tokenProgram;
|
|
81871
81871
|
if (hint === void 0 || hint === null || hint === "") {
|
|
@@ -81893,14 +81893,14 @@ function requireTokenProgramHint(extra, invalid) {
|
|
|
81893
81893
|
if (hinted === void 0) throw new Error(invalid);
|
|
81894
81894
|
return hinted;
|
|
81895
81895
|
}
|
|
81896
|
-
var
|
|
81897
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
81896
|
+
var init_chunk_2RSZYSMO = __esm({
|
|
81897
|
+
"node_modules/@x402/svm/dist/esm/chunk-2RSZYSMO.mjs"() {
|
|
81898
81898
|
"use strict";
|
|
81899
|
-
|
|
81899
|
+
init_chunk_DAIKIZVB();
|
|
81900
81900
|
}
|
|
81901
81901
|
});
|
|
81902
81902
|
|
|
81903
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
81903
|
+
// node_modules/@x402/svm/dist/esm/chunk-HRH33QP2.mjs
|
|
81904
81904
|
async function checkCorrectiveState(args) {
|
|
81905
81905
|
const state = args.accept.extra?.channelState;
|
|
81906
81906
|
if (!isBatchChannelState(state)) {
|
|
@@ -82341,15 +82341,15 @@ async function buildBatchRefundPayload(args) {
|
|
|
82341
82341
|
});
|
|
82342
82342
|
}
|
|
82343
82343
|
var BatchChannelTracker, NoBatchChannelToRefundError, DEFAULT_SERVER_SIGNED_MAX_DEPOSIT, UntrustedOperatorError, ServerSignedTrustPolicy, DEFAULT_DEPOSIT_MULTIPLIER, MIN_DEPOSIT_MULTIPLIER, OPERATION_KEY_SEPARATOR, BatchSvmScheme;
|
|
82344
|
-
var
|
|
82345
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
82346
|
-
"use strict";
|
|
82347
|
-
|
|
82348
|
-
|
|
82349
|
-
|
|
82350
|
-
|
|
82351
|
-
|
|
82352
|
-
|
|
82344
|
+
var init_chunk_HRH33QP2 = __esm({
|
|
82345
|
+
"node_modules/@x402/svm/dist/esm/chunk-HRH33QP2.mjs"() {
|
|
82346
|
+
"use strict";
|
|
82347
|
+
init_chunk_VITMNYMM();
|
|
82348
|
+
init_chunk_RMG2KWUT();
|
|
82349
|
+
init_chunk_CJ2GGI22();
|
|
82350
|
+
init_chunk_2RSZYSMO();
|
|
82351
|
+
init_chunk_DP3B4MQJ();
|
|
82352
|
+
init_chunk_DAIKIZVB();
|
|
82353
82353
|
init_index_node39();
|
|
82354
82354
|
init_http3();
|
|
82355
82355
|
init_utils9();
|
|
@@ -83337,7 +83337,7 @@ var init_chunk_Y7W3OBHW = __esm({
|
|
|
83337
83337
|
}
|
|
83338
83338
|
});
|
|
83339
83339
|
|
|
83340
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
83340
|
+
// node_modules/@x402/svm/dist/esm/chunk-HQM7VUNZ.mjs
|
|
83341
83341
|
function getChannelDistributionHash(splits) {
|
|
83342
83342
|
const hasher = sha2568.create();
|
|
83343
83343
|
const count = new Uint8Array(4);
|
|
@@ -83351,19 +83351,19 @@ function getChannelDistributionHash(splits) {
|
|
|
83351
83351
|
}
|
|
83352
83352
|
return hasher.digest();
|
|
83353
83353
|
}
|
|
83354
|
-
var
|
|
83355
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
83354
|
+
var init_chunk_HQM7VUNZ = __esm({
|
|
83355
|
+
"node_modules/@x402/svm/dist/esm/chunk-HQM7VUNZ.mjs"() {
|
|
83356
83356
|
"use strict";
|
|
83357
|
-
|
|
83358
|
-
|
|
83359
|
-
|
|
83360
|
-
|
|
83357
|
+
init_chunk_NUK2USQ3();
|
|
83358
|
+
init_chunk_DP3B4MQJ();
|
|
83359
|
+
init_chunk_RZ6M7L3U();
|
|
83360
|
+
init_chunk_DAIKIZVB();
|
|
83361
83361
|
init_sha2563();
|
|
83362
83362
|
init_index_node39();
|
|
83363
83363
|
}
|
|
83364
83364
|
});
|
|
83365
83365
|
|
|
83366
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
83366
|
+
// node_modules/@x402/svm/dist/esm/chunk-SINLL373.mjs
|
|
83367
83367
|
function encodeCloseAuthorizationDigest(binding) {
|
|
83368
83368
|
const base582 = getBase58Encoder();
|
|
83369
83369
|
const network = new TextEncoder().encode(binding.network);
|
|
@@ -83434,11 +83434,11 @@ async function verifyCloseAuthorization(authorization, binding, receiverAuthoriz
|
|
|
83434
83434
|
return false;
|
|
83435
83435
|
}
|
|
83436
83436
|
}
|
|
83437
|
-
var
|
|
83438
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
83437
|
+
var init_chunk_SINLL373 = __esm({
|
|
83438
|
+
"node_modules/@x402/svm/dist/esm/chunk-SINLL373.mjs"() {
|
|
83439
83439
|
"use strict";
|
|
83440
|
-
|
|
83441
|
-
|
|
83440
|
+
init_chunk_CJ2GGI22();
|
|
83441
|
+
init_chunk_DP3B4MQJ();
|
|
83442
83442
|
init_sha2563();
|
|
83443
83443
|
init_index_node39();
|
|
83444
83444
|
}
|
|
@@ -83471,14 +83471,14 @@ var init_chunk_WIPN332D = __esm({
|
|
|
83471
83471
|
}
|
|
83472
83472
|
});
|
|
83473
83473
|
|
|
83474
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
83474
|
+
// node_modules/@x402/svm/dist/esm/chunk-2P7IHAQJ.mjs
|
|
83475
83475
|
var ExactSvmScheme;
|
|
83476
|
-
var
|
|
83477
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
83476
|
+
var init_chunk_2P7IHAQJ = __esm({
|
|
83477
|
+
"node_modules/@x402/svm/dist/esm/chunk-2P7IHAQJ.mjs"() {
|
|
83478
83478
|
"use strict";
|
|
83479
83479
|
init_chunk_WIPN332D();
|
|
83480
|
-
|
|
83481
|
-
|
|
83480
|
+
init_chunk_RZ6M7L3U();
|
|
83481
|
+
init_chunk_DAIKIZVB();
|
|
83482
83482
|
init_src2();
|
|
83483
83483
|
init_src3();
|
|
83484
83484
|
init_index_node39();
|
|
@@ -83592,7 +83592,7 @@ var init_chunk_OJGL5KXB = __esm({
|
|
|
83592
83592
|
}
|
|
83593
83593
|
});
|
|
83594
83594
|
|
|
83595
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
83595
|
+
// node_modules/@x402/svm/dist/esm/chunk-7TSGYOB2.mjs
|
|
83596
83596
|
function assertSmartWalletLimits(limits) {
|
|
83597
83597
|
assertLimit("smartWalletMaxComputeUnits", limits?.maxComputeUnits, 1);
|
|
83598
83598
|
assertLimit("smartWalletMaxPriorityFeeMicroLamports", limits?.maxPriorityFeeMicroLamports, 0);
|
|
@@ -84018,11 +84018,11 @@ async function verifyPostSettlement(signer, signature3, network, requirements, s
|
|
|
84018
84018
|
return { verified: false, method: "unverified" };
|
|
84019
84019
|
}
|
|
84020
84020
|
var DEFAULT_SMART_WALLET_MAX_COMPUTE_UNITS, DEFAULT_SMART_WALLET_MAX_PRIORITY_FEE_MICROLAMPORTS, IX_SET_COMPUTE_UNIT_LIMIT, IX_SET_COMPUTE_UNIT_PRICE, IX_TOKEN_TRANSFER_CHECKED, TOKEN_PROGRAMS, SMART_WALLET_V1_BUDGET_REASONS;
|
|
84021
|
-
var
|
|
84022
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
84021
|
+
var init_chunk_7TSGYOB2 = __esm({
|
|
84022
|
+
"node_modules/@x402/svm/dist/esm/chunk-7TSGYOB2.mjs"() {
|
|
84023
84023
|
"use strict";
|
|
84024
|
-
|
|
84025
|
-
|
|
84024
|
+
init_chunk_RZ6M7L3U();
|
|
84025
|
+
init_chunk_DAIKIZVB();
|
|
84026
84026
|
init_src4();
|
|
84027
84027
|
init_src2();
|
|
84028
84028
|
init_src3();
|
|
@@ -84048,12 +84048,12 @@ var init_chunk_FHYNBUS4 = __esm({
|
|
|
84048
84048
|
}
|
|
84049
84049
|
});
|
|
84050
84050
|
|
|
84051
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
84051
|
+
// node_modules/@x402/svm/dist/esm/chunk-L56Y5KBE.mjs
|
|
84052
84052
|
var SettlementCache;
|
|
84053
|
-
var
|
|
84054
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
84053
|
+
var init_chunk_L56Y5KBE = __esm({
|
|
84054
|
+
"node_modules/@x402/svm/dist/esm/chunk-L56Y5KBE.mjs"() {
|
|
84055
84055
|
"use strict";
|
|
84056
|
-
|
|
84056
|
+
init_chunk_DAIKIZVB();
|
|
84057
84057
|
SettlementCache = class {
|
|
84058
84058
|
constructor() {
|
|
84059
84059
|
this.entries = /* @__PURE__ */ new Map();
|
|
@@ -84100,7 +84100,7 @@ var init_chunk_BAY4U3CP = __esm({
|
|
|
84100
84100
|
}
|
|
84101
84101
|
});
|
|
84102
84102
|
|
|
84103
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
84103
|
+
// node_modules/@x402/svm/dist/esm/chunk-NQRJ53N4.mjs
|
|
84104
84104
|
function resolveUptoSvmPaymentChannelConfig(requirements) {
|
|
84105
84105
|
const feePayer = requirements.extra?.feePayer;
|
|
84106
84106
|
if (typeof feePayer !== "string" || feePayer.length === 0) {
|
|
@@ -84117,22 +84117,22 @@ function resolveUptoSvmPaymentChannelConfig(requirements) {
|
|
|
84117
84117
|
const splits = [{ bps: BASIS_POINTS_DENOMINATOR, recipient: requirements.payTo }];
|
|
84118
84118
|
return { feePayer, receiverAuthorizer, splits, withdrawDelay };
|
|
84119
84119
|
}
|
|
84120
|
-
var
|
|
84121
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
84120
|
+
var init_chunk_NQRJ53N4 = __esm({
|
|
84121
|
+
"node_modules/@x402/svm/dist/esm/chunk-NQRJ53N4.mjs"() {
|
|
84122
84122
|
"use strict";
|
|
84123
|
-
|
|
84123
|
+
init_chunk_DAIKIZVB();
|
|
84124
84124
|
}
|
|
84125
84125
|
});
|
|
84126
84126
|
|
|
84127
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
84127
|
+
// node_modules/@x402/svm/dist/esm/chunk-QPYYLXPW.mjs
|
|
84128
84128
|
var UptoSvmScheme;
|
|
84129
|
-
var
|
|
84130
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
84129
|
+
var init_chunk_QPYYLXPW = __esm({
|
|
84130
|
+
"node_modules/@x402/svm/dist/esm/chunk-QPYYLXPW.mjs"() {
|
|
84131
84131
|
"use strict";
|
|
84132
|
-
|
|
84133
|
-
|
|
84134
|
-
|
|
84135
|
-
|
|
84132
|
+
init_chunk_NQRJ53N4();
|
|
84133
|
+
init_chunk_2RSZYSMO();
|
|
84134
|
+
init_chunk_DP3B4MQJ();
|
|
84135
|
+
init_chunk_DAIKIZVB();
|
|
84136
84136
|
init_src3();
|
|
84137
84137
|
init_src2();
|
|
84138
84138
|
UptoSvmScheme = class {
|
|
@@ -84606,23 +84606,23 @@ var init_esm5 = __esm({
|
|
|
84606
84606
|
"node_modules/@x402/svm/dist/esm/index.mjs"() {
|
|
84607
84607
|
"use strict";
|
|
84608
84608
|
init_chunk_NLVYNPNC();
|
|
84609
|
-
|
|
84610
|
-
|
|
84611
|
-
|
|
84612
|
-
|
|
84613
|
-
|
|
84614
|
-
|
|
84615
|
-
|
|
84616
|
-
|
|
84609
|
+
init_chunk_HRH33QP2();
|
|
84610
|
+
init_chunk_HQM7VUNZ();
|
|
84611
|
+
init_chunk_VITMNYMM();
|
|
84612
|
+
init_chunk_RMG2KWUT();
|
|
84613
|
+
init_chunk_SINLL373();
|
|
84614
|
+
init_chunk_CJ2GGI22();
|
|
84615
|
+
init_chunk_NUK2USQ3();
|
|
84616
|
+
init_chunk_2P7IHAQJ();
|
|
84617
84617
|
init_chunk_WIPN332D();
|
|
84618
|
-
|
|
84619
|
-
|
|
84620
|
-
|
|
84621
|
-
|
|
84622
|
-
|
|
84623
|
-
|
|
84624
|
-
|
|
84625
|
-
|
|
84618
|
+
init_chunk_7TSGYOB2();
|
|
84619
|
+
init_chunk_L56Y5KBE();
|
|
84620
|
+
init_chunk_QPYYLXPW();
|
|
84621
|
+
init_chunk_NQRJ53N4();
|
|
84622
|
+
init_chunk_2RSZYSMO();
|
|
84623
|
+
init_chunk_DP3B4MQJ();
|
|
84624
|
+
init_chunk_RZ6M7L3U();
|
|
84625
|
+
init_chunk_DAIKIZVB();
|
|
84626
84626
|
init_index_node39();
|
|
84627
84627
|
}
|
|
84628
84628
|
});
|
|
@@ -84649,15 +84649,15 @@ __export(client_exports2, {
|
|
|
84649
84649
|
var init_client2 = __esm({
|
|
84650
84650
|
"node_modules/@x402/svm/dist/esm/batch-settlement/client/index.mjs"() {
|
|
84651
84651
|
"use strict";
|
|
84652
|
-
|
|
84653
|
-
|
|
84654
|
-
|
|
84655
|
-
|
|
84656
|
-
|
|
84657
|
-
|
|
84658
|
-
|
|
84659
|
-
|
|
84660
|
-
|
|
84652
|
+
init_chunk_HRH33QP2();
|
|
84653
|
+
init_chunk_VITMNYMM();
|
|
84654
|
+
init_chunk_RMG2KWUT();
|
|
84655
|
+
init_chunk_CJ2GGI22();
|
|
84656
|
+
init_chunk_NUK2USQ3();
|
|
84657
|
+
init_chunk_2RSZYSMO();
|
|
84658
|
+
init_chunk_DP3B4MQJ();
|
|
84659
|
+
init_chunk_RZ6M7L3U();
|
|
84660
|
+
init_chunk_DAIKIZVB();
|
|
84661
84661
|
}
|
|
84662
84662
|
});
|
|
84663
84663
|
|
|
@@ -130567,14 +130567,14 @@ var init_chunk_WWACQNRQ = __esm({
|
|
|
130567
130567
|
}
|
|
130568
130568
|
});
|
|
130569
130569
|
|
|
130570
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
130570
|
+
// node_modules/@x402/svm/dist/esm/chunk-PQ2KWLVO.mjs
|
|
130571
130571
|
var ExactSvmSchemeV1;
|
|
130572
|
-
var
|
|
130573
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
130572
|
+
var init_chunk_PQ2KWLVO = __esm({
|
|
130573
|
+
"node_modules/@x402/svm/dist/esm/chunk-PQ2KWLVO.mjs"() {
|
|
130574
130574
|
"use strict";
|
|
130575
130575
|
init_chunk_WIPN332D();
|
|
130576
|
-
|
|
130577
|
-
|
|
130576
|
+
init_chunk_RZ6M7L3U();
|
|
130577
|
+
init_chunk_DAIKIZVB();
|
|
130578
130578
|
init_src2();
|
|
130579
130579
|
init_src3();
|
|
130580
130580
|
init_index_node39();
|
|
@@ -130702,15 +130702,15 @@ var init_facilitator = __esm({
|
|
|
130702
130702
|
}
|
|
130703
130703
|
});
|
|
130704
130704
|
|
|
130705
|
-
// node_modules/@x402/svm/dist/esm/chunk-
|
|
130705
|
+
// node_modules/@x402/svm/dist/esm/chunk-RCDWMK2L.mjs
|
|
130706
130706
|
var addressEncoder, compiledMessageDecoder, compiledMessageDecoder2;
|
|
130707
|
-
var
|
|
130708
|
-
"node_modules/@x402/svm/dist/esm/chunk-
|
|
130707
|
+
var init_chunk_RCDWMK2L = __esm({
|
|
130708
|
+
"node_modules/@x402/svm/dist/esm/chunk-RCDWMK2L.mjs"() {
|
|
130709
130709
|
"use strict";
|
|
130710
|
-
|
|
130711
|
-
|
|
130712
|
-
|
|
130713
|
-
|
|
130710
|
+
init_chunk_7TSGYOB2();
|
|
130711
|
+
init_chunk_L56Y5KBE();
|
|
130712
|
+
init_chunk_RZ6M7L3U();
|
|
130713
|
+
init_chunk_DAIKIZVB();
|
|
130714
130714
|
init_index_node39();
|
|
130715
130715
|
init_facilitator();
|
|
130716
130716
|
init_index_node39();
|
|
@@ -130755,15 +130755,15 @@ function registerExactSvmScheme(client, config2) {
|
|
|
130755
130755
|
var init_client3 = __esm({
|
|
130756
130756
|
"node_modules/@x402/svm/dist/esm/exact/client/index.mjs"() {
|
|
130757
130757
|
"use strict";
|
|
130758
|
-
|
|
130758
|
+
init_chunk_2P7IHAQJ();
|
|
130759
130759
|
init_chunk_WWACQNRQ();
|
|
130760
|
-
|
|
130760
|
+
init_chunk_PQ2KWLVO();
|
|
130761
130761
|
init_chunk_WIPN332D();
|
|
130762
|
-
|
|
130763
|
-
|
|
130764
|
-
|
|
130765
|
-
|
|
130766
|
-
|
|
130762
|
+
init_chunk_RCDWMK2L();
|
|
130763
|
+
init_chunk_7TSGYOB2();
|
|
130764
|
+
init_chunk_L56Y5KBE();
|
|
130765
|
+
init_chunk_RZ6M7L3U();
|
|
130766
|
+
init_chunk_DAIKIZVB();
|
|
130767
130767
|
init_utils9();
|
|
130768
130768
|
}
|
|
130769
130769
|
});
|
|
@@ -130778,13 +130778,13 @@ var init_v1 = __esm({
|
|
|
130778
130778
|
"node_modules/@x402/svm/dist/esm/v1/index.mjs"() {
|
|
130779
130779
|
"use strict";
|
|
130780
130780
|
init_chunk_WWACQNRQ();
|
|
130781
|
-
|
|
130781
|
+
init_chunk_PQ2KWLVO();
|
|
130782
130782
|
init_chunk_WIPN332D();
|
|
130783
|
-
|
|
130784
|
-
|
|
130785
|
-
|
|
130786
|
-
|
|
130787
|
-
|
|
130783
|
+
init_chunk_RCDWMK2L();
|
|
130784
|
+
init_chunk_7TSGYOB2();
|
|
130785
|
+
init_chunk_L56Y5KBE();
|
|
130786
|
+
init_chunk_RZ6M7L3U();
|
|
130787
|
+
init_chunk_DAIKIZVB();
|
|
130788
130788
|
}
|
|
130789
130789
|
});
|
|
130790
130790
|
|
|
@@ -261218,7 +261218,7 @@ var require_axios = __commonJS({
|
|
|
261218
261218
|
function getEnv2(key3) {
|
|
261219
261219
|
return process.env[key3.toLowerCase()] || process.env[key3.toUpperCase()] || "";
|
|
261220
261220
|
}
|
|
261221
|
-
var VERSION4 = "1.21.
|
|
261221
|
+
var VERSION4 = "1.21.1";
|
|
261222
261222
|
function parseProtocol2(url4) {
|
|
261223
261223
|
const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url4);
|
|
261224
261224
|
return match && match[1].toLowerCase() || "";
|
|
@@ -264426,8 +264426,11 @@ var require_axios = __commonJS({
|
|
|
264426
264426
|
throw new CanceledError3(null, config2);
|
|
264427
264427
|
}
|
|
264428
264428
|
}
|
|
264429
|
-
function
|
|
264430
|
-
return
|
|
264429
|
+
function resolveClock2() {
|
|
264430
|
+
return typeof performance !== "undefined" && utils$1.isFunction(performance.now) ? () => performance.now() : Date.now;
|
|
264431
|
+
}
|
|
264432
|
+
function elapsedSince2(now2, start) {
|
|
264433
|
+
return Math.max(0, Math.round(now2() - start));
|
|
264431
264434
|
}
|
|
264432
264435
|
function dispatchRequest2(_config) {
|
|
264433
264436
|
const config2 = utils$1.toSafeFlatObject(_config);
|
|
@@ -264438,10 +264441,11 @@ var require_axios = __commonJS({
|
|
|
264438
264441
|
config2.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
264439
264442
|
}
|
|
264440
264443
|
const adapter2 = adapters.getAdapter(config2.adapter || defaults2.adapter, config2);
|
|
264441
|
-
const
|
|
264444
|
+
const now2 = resolveClock2();
|
|
264445
|
+
const start = now2();
|
|
264442
264446
|
return adapter2(config2).then(function onAdapterResolution(response) {
|
|
264443
264447
|
throwIfCancellationRequested2(config2);
|
|
264444
|
-
response.duration = elapsedSince2(start);
|
|
264448
|
+
response.duration = elapsedSince2(now2, start);
|
|
264445
264449
|
config2.response = response;
|
|
264446
264450
|
try {
|
|
264447
264451
|
response.data = transformData2.call(config2, config2.transformResponse, response);
|
|
@@ -264454,7 +264458,7 @@ var require_axios = __commonJS({
|
|
|
264454
264458
|
if (!isCancel3(reason)) {
|
|
264455
264459
|
throwIfCancellationRequested2(config2);
|
|
264456
264460
|
if (reason && reason.response) {
|
|
264457
|
-
reason.response.duration = elapsedSince2(start);
|
|
264461
|
+
reason.response.duration = elapsedSince2(now2, start);
|
|
264458
264462
|
config2.response = reason.response;
|
|
264459
264463
|
try {
|
|
264460
264464
|
reason.response.data = transformData2.call(config2, config2.transformResponse, reason.response);
|
|
@@ -268382,7 +268386,7 @@ var top_models_default = [
|
|
|
268382
268386
|
"poolside/laguna-s-2.1",
|
|
268383
268387
|
"minimax/minimax-m3",
|
|
268384
268388
|
"minimax/minimax-m2.7",
|
|
268385
|
-
"moonshot/kimi-k3",
|
|
268389
|
+
"moonshot/kimi-k3.1-pro",
|
|
268386
268390
|
"qwen/qwen3.7-max",
|
|
268387
268391
|
"qwen/qwen3.8-max",
|
|
268388
268392
|
"qwen/qwen3.8-flash",
|
|
@@ -268448,6 +268452,8 @@ var MODEL_ALIASES = {
|
|
|
268448
268452
|
// accepts is safe to alias.
|
|
268449
268453
|
"fable-5.1": "anthropic/claude-fable-5.1",
|
|
268450
268454
|
"fable-5-1": "anthropic/claude-fable-5.1",
|
|
268455
|
+
"fable-5.2": "anthropic/claude-fable-5.2",
|
|
268456
|
+
"fable-5-2": "anthropic/claude-fable-5.2",
|
|
268451
268457
|
"anthropic/claude-fable-5-1": "anthropic/claude-fable-5.1",
|
|
268452
268458
|
// Opus 5 (2026-07-24) takes the bare `opus` alias: identical $5/$25 and the
|
|
268453
268459
|
// same 1M/128K envelope as 4.8, so a wallet with a per-call cost cap sees no
|
|
@@ -268571,6 +268577,10 @@ var MODEL_ALIASES = {
|
|
|
268571
268577
|
kimi: "moonshot/kimi-k2.7",
|
|
268572
268578
|
moonshot: "moonshot/kimi-k2.7",
|
|
268573
268579
|
"kimi-k3": "moonshot/kimi-k3",
|
|
268580
|
+
// K3.1 Pro superseded K3 on BlockRun 2026-10-25 (K3 hidden, still routable) and is
|
|
268581
|
+
// cheaper ($2/$10 vs $3/$15). Bare `kimi` stays on K2.7 for the reason above.
|
|
268582
|
+
"kimi-k3.1": "moonshot/kimi-k3.1-pro",
|
|
268583
|
+
"kimi-k3.1-pro": "moonshot/kimi-k3.1-pro",
|
|
268574
268584
|
"kimi-k2": "moonshot/kimi-k2.7",
|
|
268575
268585
|
"kimi-k2.7": "moonshot/kimi-k2.7",
|
|
268576
268586
|
"kimi-k2.6": "moonshot/kimi-k2.6",
|
|
@@ -268861,6 +268871,7 @@ var MODEL_ALIASES = {
|
|
|
268861
268871
|
"nvidia/nemotron-3.5-lightning": "free/nemotron-3.5-lightning",
|
|
268862
268872
|
"nvidia/nemotron-3-nano-30b": "free/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
268863
268873
|
"nvidia/nemotron-3-ultra-550b": "free/nemotron-3-ultra-550b",
|
|
268874
|
+
"nvidia/minimax-m3.1-flash": "free/minimax-m3.1-flash",
|
|
268864
268875
|
"nvidia/llama-3.2-11b-vision": "free/llama-3.2-11b-vision",
|
|
268865
268876
|
// The two non-NVIDIA free models keep the `free/` picker convention; their
|
|
268866
268877
|
// real upstream ids are accepted as pins and rewritten in toUpstreamModelId
|
|
@@ -268876,6 +268887,7 @@ var MODEL_ALIASES = {
|
|
|
268876
268887
|
"nemotron-nano-30b": "free/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
268877
268888
|
"ultra-550b": "free/nemotron-3-ultra-550b",
|
|
268878
268889
|
"nemotron-ultra-550b": "free/nemotron-3-ultra-550b",
|
|
268890
|
+
"minimax-m3.1-flash": "free/minimax-m3.1-flash",
|
|
268879
268891
|
"llama-vision": "free/llama-3.2-11b-vision",
|
|
268880
268892
|
"llama-3.2-vision": "free/llama-3.2-11b-vision",
|
|
268881
268893
|
"north-mini": "free/north-mini-code",
|
|
@@ -269656,6 +269668,21 @@ var BLOCKRUN_MODELS = [
|
|
|
269656
269668
|
agentic: true,
|
|
269657
269669
|
toolCalling: true
|
|
269658
269670
|
},
|
|
269671
|
+
{
|
|
269672
|
+
// Successor to Fable 5.1 at a lower price; always-on thinking. Listed on
|
|
269673
|
+
// Base only (sol.blockrun.ai does not carry it as of 2026-11-12).
|
|
269674
|
+
id: "anthropic/claude-fable-5.2",
|
|
269675
|
+
name: "Claude Fable 5.2",
|
|
269676
|
+
version: "5.2",
|
|
269677
|
+
inputPrice: 8,
|
|
269678
|
+
outputPrice: 40,
|
|
269679
|
+
contextWindow: 1e6,
|
|
269680
|
+
maxOutput: 128e3,
|
|
269681
|
+
reasoning: true,
|
|
269682
|
+
vision: true,
|
|
269683
|
+
agentic: true,
|
|
269684
|
+
toolCalling: true
|
|
269685
|
+
},
|
|
269659
269686
|
{
|
|
269660
269687
|
id: "anthropic/claude-opus-5.5",
|
|
269661
269688
|
name: "Claude Opus 5.5",
|
|
@@ -269727,6 +269754,20 @@ var BLOCKRUN_MODELS = [
|
|
|
269727
269754
|
vision: true,
|
|
269728
269755
|
toolCalling: true
|
|
269729
269756
|
},
|
|
269757
|
+
{
|
|
269758
|
+
// Gemini 4's top reasoning tier (blockrun added 2026-11-11). Same dated
|
|
269759
|
+
// ⏰ INTRO RATE as Argon above: 2/10 through 2026-11-30, 4/20 from 2026-12-01.
|
|
269760
|
+
id: "google/gemini-4-carbon",
|
|
269761
|
+
name: "Gemini 4 Carbon",
|
|
269762
|
+
version: "4",
|
|
269763
|
+
inputPrice: 2,
|
|
269764
|
+
outputPrice: 10,
|
|
269765
|
+
contextWindow: 1048576,
|
|
269766
|
+
maxOutput: 65536,
|
|
269767
|
+
reasoning: true,
|
|
269768
|
+
vision: true,
|
|
269769
|
+
toolCalling: true
|
|
269770
|
+
},
|
|
269730
269771
|
{
|
|
269731
269772
|
// Current-generation Flash. Live in the BlockRun catalog (chat, reasoning,
|
|
269732
269773
|
// coding, vision; $0.75/$3.75) and pinned from the Hermes picker, so it
|
|
@@ -269917,6 +269958,22 @@ var BLOCKRUN_MODELS = [
|
|
|
269917
269958
|
agentic: true,
|
|
269918
269959
|
toolCalling: true
|
|
269919
269960
|
},
|
|
269961
|
+
// Kimi K3.1 Pro — post-trained successor to K3 for long-horizon coding and agents
|
|
269962
|
+
// (blockrun 2026-10-25, which hid K3). 1M context, image + text input, returns
|
|
269963
|
+
// reasoning_content. $2/$10 raw cost, cheaper than K3.
|
|
269964
|
+
{
|
|
269965
|
+
id: "moonshot/kimi-k3.1-pro",
|
|
269966
|
+
name: "Kimi K3.1 Pro",
|
|
269967
|
+
version: "k3.1-pro",
|
|
269968
|
+
inputPrice: 2,
|
|
269969
|
+
outputPrice: 10,
|
|
269970
|
+
contextWindow: 1048576,
|
|
269971
|
+
maxOutput: 65536,
|
|
269972
|
+
reasoning: true,
|
|
269973
|
+
vision: true,
|
|
269974
|
+
agentic: true,
|
|
269975
|
+
toolCalling: true
|
|
269976
|
+
},
|
|
269920
269977
|
// Kimi K3 — Moonshot's flagship (blockrun added 2026-07-17, live-probed same day).
|
|
269921
269978
|
// 2.8T-param open MoE, 1M context, image + text input, returns reasoning_content.
|
|
269922
269979
|
// Priced at COGS + BlockRun's 5% margin: users pay ~$3.15/$15.75 per 1M; the fields
|
|
@@ -270636,6 +270693,20 @@ var BLOCKRUN_MODELS = [
|
|
|
270636
270693
|
maxOutput: 16384,
|
|
270637
270694
|
reasoning: true
|
|
270638
270695
|
},
|
|
270696
|
+
{
|
|
270697
|
+
// MiniMax M3.1 Flash, hosted free by NVIDIA (blockrun 2026-11-05). Pin-only:
|
|
270698
|
+
// off the picker and the FREE_MODELS cascade until it has its own probe record
|
|
270699
|
+
// here. The gateway health-gates it (it may answer `available: false`).
|
|
270700
|
+
id: "free/minimax-m3.1-flash",
|
|
270701
|
+
name: "[Free] MiniMax M3.1 Flash",
|
|
270702
|
+
version: "m3.1-flash",
|
|
270703
|
+
inputPrice: 0,
|
|
270704
|
+
outputPrice: 0,
|
|
270705
|
+
contextWindow: 1048576,
|
|
270706
|
+
maxOutput: 16384,
|
|
270707
|
+
reasoning: true,
|
|
270708
|
+
toolCalling: true
|
|
270709
|
+
},
|
|
270639
270710
|
{
|
|
270640
270711
|
// Meta Llama 3.2 11B Vision — restores a free Llama after nemotron-super-49b
|
|
270641
270712
|
// (Llama-3.3-based) hit NVIDIA's 410 EOL. A 12-model sweep found exactly two
|
|
@@ -271011,8 +271082,8 @@ function isReasoningModel(modelId) {
|
|
|
271011
271082
|
var snapshot_v1_default = {
|
|
271012
271083
|
catalog: {
|
|
271013
271084
|
schema_version: 1,
|
|
271014
|
-
catalog_version: "2026.11.12.
|
|
271015
|
-
observed_at: "2026-
|
|
271085
|
+
catalog_version: "2026.11.12.2",
|
|
271086
|
+
observed_at: "2026-11-12T20:53:46.000Z",
|
|
271016
271087
|
sources: {
|
|
271017
271088
|
base: "https://blockrun.ai/api/v1/models?format=json",
|
|
271018
271089
|
solana: "https://sol.blockrun.ai/api/v1/models?format=json"
|
|
@@ -271022,7 +271093,7 @@ var snapshot_v1_default = {
|
|
|
271022
271093
|
id: "anthropic/claude-fable-5",
|
|
271023
271094
|
name: "Claude Fable 5",
|
|
271024
271095
|
provider: "anthropic",
|
|
271025
|
-
description: "
|
|
271096
|
+
description: "Mythos-class tier above Opus, for the most demanding reasoning and long-horizon agentic work. 1M context, 128K output, always-on thinking",
|
|
271026
271097
|
lifecycle: "active",
|
|
271027
271098
|
declared_capabilities: [
|
|
271028
271099
|
"chat",
|
|
@@ -271120,6 +271191,47 @@ var snapshot_v1_default = {
|
|
|
271120
271191
|
}
|
|
271121
271192
|
}
|
|
271122
271193
|
},
|
|
271194
|
+
{
|
|
271195
|
+
id: "anthropic/claude-fable-5.2",
|
|
271196
|
+
name: "Claude Fable 5.2",
|
|
271197
|
+
provider: "anthropic",
|
|
271198
|
+
description: "Anthropic's most capable model \u2014 successor to Fable 5.1 at a lower price, for the most demanding reasoning and long-horizon agentic work. 1M context, 128K output, always-on thinking. Anthropic retains requests to this model for 30 days.",
|
|
271199
|
+
lifecycle: "active",
|
|
271200
|
+
declared_capabilities: [
|
|
271201
|
+
"chat",
|
|
271202
|
+
"coding",
|
|
271203
|
+
"reasoning",
|
|
271204
|
+
"vision"
|
|
271205
|
+
],
|
|
271206
|
+
aliases: [],
|
|
271207
|
+
redirects: [],
|
|
271208
|
+
networks: {
|
|
271209
|
+
base: {
|
|
271210
|
+
listed: true,
|
|
271211
|
+
categories: [
|
|
271212
|
+
"chat",
|
|
271213
|
+
"coding",
|
|
271214
|
+
"reasoning",
|
|
271215
|
+
"vision"
|
|
271216
|
+
],
|
|
271217
|
+
billing_mode: "paid",
|
|
271218
|
+
pricing: {
|
|
271219
|
+
input: 8,
|
|
271220
|
+
output: 40,
|
|
271221
|
+
cache_read: 0.2,
|
|
271222
|
+
cache_write: 10
|
|
271223
|
+
},
|
|
271224
|
+
context_window: 1e6,
|
|
271225
|
+
max_output: 128e3
|
|
271226
|
+
},
|
|
271227
|
+
solana: {
|
|
271228
|
+
listed: false,
|
|
271229
|
+
categories: [],
|
|
271230
|
+
billing_mode: "unavailable",
|
|
271231
|
+
pricing: {}
|
|
271232
|
+
}
|
|
271233
|
+
}
|
|
271234
|
+
},
|
|
271123
271235
|
{
|
|
271124
271236
|
id: "anthropic/claude-haiku-4.5",
|
|
271125
271237
|
name: "Claude Haiku 4.5",
|
|
@@ -271172,7 +271284,7 @@ var snapshot_v1_default = {
|
|
|
271172
271284
|
id: "anthropic/claude-opus-4.5",
|
|
271173
271285
|
name: "Claude Opus 4.5",
|
|
271174
271286
|
provider: "anthropic",
|
|
271175
|
-
description: "
|
|
271287
|
+
description: "Claude Opus 4.5 \u2014 enhanced reasoning and creativity",
|
|
271176
271288
|
lifecycle: "active",
|
|
271177
271289
|
declared_capabilities: [
|
|
271178
271290
|
"chat",
|
|
@@ -271325,7 +271437,7 @@ var snapshot_v1_default = {
|
|
|
271325
271437
|
id: "anthropic/claude-opus-5",
|
|
271326
271438
|
name: "Claude Opus 5",
|
|
271327
271439
|
provider: "anthropic",
|
|
271328
|
-
description: "
|
|
271440
|
+
description: "Opus 5 \u2014 step-change over Opus 4.8 for deep reasoning and agentic coding at the same price. 1M context, 128k output, adaptive thinking",
|
|
271329
271441
|
lifecycle: "active",
|
|
271330
271442
|
declared_capabilities: [
|
|
271331
271443
|
"chat",
|
|
@@ -271478,7 +271590,7 @@ var snapshot_v1_default = {
|
|
|
271478
271590
|
id: "anthropic/claude-sonnet-4.6",
|
|
271479
271591
|
name: "Claude Sonnet 4.6",
|
|
271480
271592
|
provider: "anthropic",
|
|
271481
|
-
description: "
|
|
271593
|
+
description: "Sonnet 4.6 \u2014 a balance of intelligence, speed, and cost",
|
|
271482
271594
|
lifecycle: "active",
|
|
271483
271595
|
declared_capabilities: [
|
|
271484
271596
|
"chat",
|
|
@@ -271529,7 +271641,7 @@ var snapshot_v1_default = {
|
|
|
271529
271641
|
id: "anthropic/claude-sonnet-5",
|
|
271530
271642
|
name: "Claude Sonnet 5",
|
|
271531
271643
|
provider: "anthropic",
|
|
271532
|
-
description: "
|
|
271644
|
+
description: "Sonnet 5 \u2014 near-Opus coding/agentic quality at Sonnet cost. 1M context, 128k output, adaptive thinking, vision",
|
|
271533
271645
|
lifecycle: "active",
|
|
271534
271646
|
declared_capabilities: [
|
|
271535
271647
|
"chat",
|
|
@@ -271632,7 +271744,7 @@ var snapshot_v1_default = {
|
|
|
271632
271744
|
name: "Sora 2",
|
|
271633
271745
|
provider: "azure",
|
|
271634
271746
|
description: "OpenAI Sora 2 via Azure AI Foundry \u2014 text-to-video AND image-to-video at 720p with synchronized audio. 4s default; 4, 8, or 12s. Portrait or landscape. Image-to-video takes a non-human reference image (human faces are rejected upstream \u2014 use Seedance + RealFace for real people). $0.10/sec.",
|
|
271635
|
-
lifecycle: "
|
|
271747
|
+
lifecycle: "deprecated",
|
|
271636
271748
|
declared_capabilities: [
|
|
271637
271749
|
"video"
|
|
271638
271750
|
],
|
|
@@ -271640,7 +271752,7 @@ var snapshot_v1_default = {
|
|
|
271640
271752
|
redirects: [],
|
|
271641
271753
|
networks: {
|
|
271642
271754
|
base: {
|
|
271643
|
-
listed:
|
|
271755
|
+
listed: false,
|
|
271644
271756
|
categories: [
|
|
271645
271757
|
"video"
|
|
271646
271758
|
],
|
|
@@ -271696,7 +271808,7 @@ var snapshot_v1_default = {
|
|
|
271696
271808
|
],
|
|
271697
271809
|
billing_mode: "per_character",
|
|
271698
271810
|
pricing: {
|
|
271699
|
-
per_1k_chars: 0.
|
|
271811
|
+
per_1k_chars: 0.315,
|
|
271700
271812
|
max_input_chars: 3e3
|
|
271701
271813
|
}
|
|
271702
271814
|
}
|
|
@@ -271735,7 +271847,8 @@ var snapshot_v1_default = {
|
|
|
271735
271847
|
],
|
|
271736
271848
|
billing_mode: "per_second",
|
|
271737
271849
|
pricing: {
|
|
271738
|
-
per_second: 0.
|
|
271850
|
+
per_second: 0.070783146,
|
|
271851
|
+
per_call_surcharge: 0,
|
|
271739
271852
|
default_duration_seconds: 5,
|
|
271740
271853
|
max_duration_seconds: 12
|
|
271741
271854
|
}
|
|
@@ -271775,7 +271888,8 @@ var snapshot_v1_default = {
|
|
|
271775
271888
|
],
|
|
271776
271889
|
billing_mode: "per_second",
|
|
271777
271890
|
pricing: {
|
|
271778
|
-
per_second: 0.
|
|
271891
|
+
per_second: 0.22709592675,
|
|
271892
|
+
per_call_surcharge: 0,
|
|
271779
271893
|
default_duration_seconds: 5,
|
|
271780
271894
|
max_duration_seconds: 15
|
|
271781
271895
|
}
|
|
@@ -271815,7 +271929,8 @@ var snapshot_v1_default = {
|
|
|
271815
271929
|
],
|
|
271816
271930
|
billing_mode: "per_second",
|
|
271817
271931
|
pricing: {
|
|
271818
|
-
per_second: 0.
|
|
271932
|
+
per_second: 0.165160674,
|
|
271933
|
+
per_call_surcharge: 0,
|
|
271819
271934
|
default_duration_seconds: 5,
|
|
271820
271935
|
max_duration_seconds: 15
|
|
271821
271936
|
}
|
|
@@ -271855,7 +271970,8 @@ var snapshot_v1_default = {
|
|
|
271855
271970
|
],
|
|
271856
271971
|
billing_mode: "per_second",
|
|
271857
271972
|
pricing: {
|
|
271858
|
-
per_second: 0.
|
|
271973
|
+
per_second: 0.07971075,
|
|
271974
|
+
per_call_surcharge: 0,
|
|
271859
271975
|
default_duration_seconds: 5,
|
|
271860
271976
|
max_duration_seconds: 15
|
|
271861
271977
|
}
|
|
@@ -271866,7 +271982,7 @@ var snapshot_v1_default = {
|
|
|
271866
271982
|
id: "bytedance/seedance-2.5",
|
|
271867
271983
|
name: "Seedance 2.5",
|
|
271868
271984
|
provider: "bytedance",
|
|
271869
|
-
description: "ByteDance Seedance 2.5 \u2014 Long-form video up to 30s at 720p, with first/last-frame control and up to
|
|
271985
|
+
description: "ByteDance Seedance 2.5 \u2014 Long-form video up to 30s at 720p, with first/last-frame control, up to 30 reference images, and reference video/audio clips up to 30s each (billed per reference second). For 1080p or 4K use Seedance 2.0 Pro.",
|
|
271870
271986
|
lifecycle: "active",
|
|
271871
271987
|
declared_capabilities: [
|
|
271872
271988
|
"video"
|
|
@@ -271895,7 +272011,8 @@ var snapshot_v1_default = {
|
|
|
271895
272011
|
],
|
|
271896
272012
|
billing_mode: "per_second",
|
|
271897
272013
|
pricing: {
|
|
271898
|
-
per_second: 0.
|
|
272014
|
+
per_second: 0.31557485925,
|
|
272015
|
+
per_call_surcharge: 0,
|
|
271899
272016
|
default_duration_seconds: 5,
|
|
271900
272017
|
max_duration_seconds: 30
|
|
271901
272018
|
}
|
|
@@ -271932,7 +272049,7 @@ var snapshot_v1_default = {
|
|
|
271932
272049
|
],
|
|
271933
272050
|
billing_mode: "per_image",
|
|
271934
272051
|
pricing: {
|
|
271935
|
-
per_image: 0.
|
|
272052
|
+
per_image: 0.04725
|
|
271936
272053
|
}
|
|
271937
272054
|
}
|
|
271938
272055
|
}
|
|
@@ -271988,7 +272105,8 @@ var snapshot_v1_default = {
|
|
|
271988
272105
|
lifecycle: "active",
|
|
271989
272106
|
declared_capabilities: [
|
|
271990
272107
|
"chat",
|
|
271991
|
-
"coding"
|
|
272108
|
+
"coding",
|
|
272109
|
+
"vision"
|
|
271992
272110
|
],
|
|
271993
272111
|
aliases: [],
|
|
271994
272112
|
redirects: [],
|
|
@@ -271997,7 +272115,8 @@ var snapshot_v1_default = {
|
|
|
271997
272115
|
listed: true,
|
|
271998
272116
|
categories: [
|
|
271999
272117
|
"chat",
|
|
272000
|
-
"coding"
|
|
272118
|
+
"coding",
|
|
272119
|
+
"vision"
|
|
272001
272120
|
],
|
|
272002
272121
|
billing_mode: "paid",
|
|
272003
272122
|
pricing: {
|
|
@@ -272012,12 +272131,17 @@ var snapshot_v1_default = {
|
|
|
272012
272131
|
listed: true,
|
|
272013
272132
|
categories: [
|
|
272014
272133
|
"chat",
|
|
272015
|
-
"coding"
|
|
272134
|
+
"coding",
|
|
272135
|
+
"vision"
|
|
272016
272136
|
],
|
|
272017
272137
|
billing_mode: "paid",
|
|
272018
272138
|
pricing: {
|
|
272019
272139
|
input: 0.14,
|
|
272020
|
-
output: 0.28
|
|
272140
|
+
output: 0.28,
|
|
272141
|
+
cache_read: 6e-3,
|
|
272142
|
+
cache_read_schemes: [
|
|
272143
|
+
"batch-settlement"
|
|
272144
|
+
]
|
|
272021
272145
|
},
|
|
272022
272146
|
context_window: 1048576,
|
|
272023
272147
|
max_output: 65536
|
|
@@ -272033,7 +272157,8 @@ var snapshot_v1_default = {
|
|
|
272033
272157
|
declared_capabilities: [
|
|
272034
272158
|
"chat",
|
|
272035
272159
|
"coding",
|
|
272036
|
-
"reasoning"
|
|
272160
|
+
"reasoning",
|
|
272161
|
+
"vision"
|
|
272037
272162
|
],
|
|
272038
272163
|
aliases: [],
|
|
272039
272164
|
redirects: [],
|
|
@@ -272043,7 +272168,8 @@ var snapshot_v1_default = {
|
|
|
272043
272168
|
categories: [
|
|
272044
272169
|
"chat",
|
|
272045
272170
|
"coding",
|
|
272046
|
-
"reasoning"
|
|
272171
|
+
"reasoning",
|
|
272172
|
+
"vision"
|
|
272047
272173
|
],
|
|
272048
272174
|
billing_mode: "paid",
|
|
272049
272175
|
pricing: {
|
|
@@ -272058,12 +272184,17 @@ var snapshot_v1_default = {
|
|
|
272058
272184
|
listed: true,
|
|
272059
272185
|
categories: [
|
|
272060
272186
|
"coding",
|
|
272061
|
-
"reasoning"
|
|
272187
|
+
"reasoning",
|
|
272188
|
+
"vision"
|
|
272062
272189
|
],
|
|
272063
272190
|
billing_mode: "paid",
|
|
272064
272191
|
pricing: {
|
|
272065
272192
|
input: 0.14,
|
|
272066
|
-
output: 0.28
|
|
272193
|
+
output: 0.28,
|
|
272194
|
+
cache_read: 6e-3,
|
|
272195
|
+
cache_read_schemes: [
|
|
272196
|
+
"batch-settlement"
|
|
272197
|
+
]
|
|
272067
272198
|
},
|
|
272068
272199
|
context_window: 1048576,
|
|
272069
272200
|
max_output: 65536
|
|
@@ -272110,7 +272241,11 @@ var snapshot_v1_default = {
|
|
|
272110
272241
|
billing_mode: "paid",
|
|
272111
272242
|
pricing: {
|
|
272112
272243
|
input: 0.3,
|
|
272113
|
-
output: 1.2
|
|
272244
|
+
output: 1.2,
|
|
272245
|
+
cache_read: 6e-3,
|
|
272246
|
+
cache_read_schemes: [
|
|
272247
|
+
"batch-settlement"
|
|
272248
|
+
]
|
|
272114
272249
|
},
|
|
272115
272250
|
context_window: 1048576,
|
|
272116
272251
|
max_output: 65536
|
|
@@ -272157,7 +272292,11 @@ var snapshot_v1_default = {
|
|
|
272157
272292
|
billing_mode: "paid",
|
|
272158
272293
|
pricing: {
|
|
272159
272294
|
input: 1.32,
|
|
272160
|
-
output: 3.96
|
|
272295
|
+
output: 3.96,
|
|
272296
|
+
cache_read: 0.044,
|
|
272297
|
+
cache_read_schemes: [
|
|
272298
|
+
"batch-settlement"
|
|
272299
|
+
]
|
|
272161
272300
|
},
|
|
272162
272301
|
context_window: 1048576,
|
|
272163
272302
|
max_output: 65536
|
|
@@ -272173,7 +272312,8 @@ var snapshot_v1_default = {
|
|
|
272173
272312
|
declared_capabilities: [
|
|
272174
272313
|
"chat",
|
|
272175
272314
|
"coding",
|
|
272176
|
-
"reasoning"
|
|
272315
|
+
"reasoning",
|
|
272316
|
+
"vision"
|
|
272177
272317
|
],
|
|
272178
272318
|
aliases: [],
|
|
272179
272319
|
redirects: [],
|
|
@@ -272183,7 +272323,8 @@ var snapshot_v1_default = {
|
|
|
272183
272323
|
categories: [
|
|
272184
272324
|
"chat",
|
|
272185
272325
|
"coding",
|
|
272186
|
-
"reasoning"
|
|
272326
|
+
"reasoning",
|
|
272327
|
+
"vision"
|
|
272187
272328
|
],
|
|
272188
272329
|
billing_mode: "paid",
|
|
272189
272330
|
pricing: {
|
|
@@ -272198,12 +272339,17 @@ var snapshot_v1_default = {
|
|
|
272198
272339
|
listed: true,
|
|
272199
272340
|
categories: [
|
|
272200
272341
|
"chat",
|
|
272201
|
-
"coding"
|
|
272342
|
+
"coding",
|
|
272343
|
+
"vision"
|
|
272202
272344
|
],
|
|
272203
272345
|
billing_mode: "paid",
|
|
272204
272346
|
pricing: {
|
|
272205
272347
|
input: 0.14,
|
|
272206
|
-
output: 0.28
|
|
272348
|
+
output: 0.28,
|
|
272349
|
+
cache_read: 6e-3,
|
|
272350
|
+
cache_read_schemes: [
|
|
272351
|
+
"batch-settlement"
|
|
272352
|
+
]
|
|
272207
272353
|
},
|
|
272208
272354
|
context_window: 1048576,
|
|
272209
272355
|
max_output: 65536
|
|
@@ -272244,7 +272390,7 @@ var snapshot_v1_default = {
|
|
|
272244
272390
|
],
|
|
272245
272391
|
billing_mode: "per_character",
|
|
272246
272392
|
pricing: {
|
|
272247
|
-
per_1k_chars: 0.
|
|
272393
|
+
per_1k_chars: 0.0525,
|
|
272248
272394
|
max_input_chars: 4e4
|
|
272249
272395
|
}
|
|
272250
272396
|
}
|
|
@@ -272284,7 +272430,7 @@ var snapshot_v1_default = {
|
|
|
272284
272430
|
],
|
|
272285
272431
|
billing_mode: "per_character",
|
|
272286
272432
|
pricing: {
|
|
272287
|
-
per_1k_chars: 0.
|
|
272433
|
+
per_1k_chars: 0.105,
|
|
272288
272434
|
max_input_chars: 1e4
|
|
272289
272435
|
}
|
|
272290
272436
|
}
|
|
@@ -272321,7 +272467,7 @@ var snapshot_v1_default = {
|
|
|
272321
272467
|
],
|
|
272322
272468
|
billing_mode: "per_generation",
|
|
272323
272469
|
pricing: {
|
|
272324
|
-
per_generation: 0.
|
|
272470
|
+
per_generation: 0.0525,
|
|
272325
272471
|
max_duration_seconds: 22
|
|
272326
272472
|
}
|
|
272327
272473
|
}
|
|
@@ -272361,7 +272507,7 @@ var snapshot_v1_default = {
|
|
|
272361
272507
|
],
|
|
272362
272508
|
billing_mode: "per_character",
|
|
272363
272509
|
pricing: {
|
|
272364
|
-
per_1k_chars: 0.
|
|
272510
|
+
per_1k_chars: 0.0525,
|
|
272365
272511
|
max_input_chars: 4e4
|
|
272366
272512
|
}
|
|
272367
272513
|
}
|
|
@@ -272401,7 +272547,7 @@ var snapshot_v1_default = {
|
|
|
272401
272547
|
],
|
|
272402
272548
|
billing_mode: "per_character",
|
|
272403
272549
|
pricing: {
|
|
272404
|
-
per_1k_chars: 0.
|
|
272550
|
+
per_1k_chars: 0.105,
|
|
272405
272551
|
max_input_chars: 5e3
|
|
272406
272552
|
}
|
|
272407
272553
|
}
|
|
@@ -272501,7 +272647,7 @@ var snapshot_v1_default = {
|
|
|
272501
272647
|
id: "google/gemini-2.5-pro",
|
|
272502
272648
|
name: "Gemini 2.5 Pro",
|
|
272503
272649
|
provider: "google",
|
|
272504
|
-
description: "
|
|
272650
|
+
description: "Gemini 2.5 Pro \u2014 strong reasoning, coding, and mathematics",
|
|
272505
272651
|
lifecycle: "active",
|
|
272506
272652
|
declared_capabilities: [
|
|
272507
272653
|
"chat",
|
|
@@ -272661,7 +272807,7 @@ var snapshot_v1_default = {
|
|
|
272661
272807
|
id: "google/gemini-3.1-pro",
|
|
272662
272808
|
name: "Gemini 3.1 Pro",
|
|
272663
272809
|
provider: "google",
|
|
272664
|
-
description: "
|
|
272810
|
+
description: "Gemini 3.1 Pro with improved thinking, token efficiency, and agentic capabilities. Optimized for software engineering (requires new SDK)",
|
|
272665
272811
|
lifecycle: "active",
|
|
272666
272812
|
declared_capabilities: [
|
|
272667
272813
|
"chat",
|
|
@@ -272728,7 +272874,7 @@ var snapshot_v1_default = {
|
|
|
272728
272874
|
id: "google/gemini-3.5-flash",
|
|
272729
272875
|
name: "Gemini 3.5 Flash",
|
|
272730
272876
|
provider: "google",
|
|
272731
|
-
description: "
|
|
272877
|
+
description: "Gemini 3.5 Flash with built-in thinking mode \u2014 frontier-class quality at Flash speed",
|
|
272732
272878
|
lifecycle: "active",
|
|
272733
272879
|
declared_capabilities: [
|
|
272734
272880
|
"chat",
|
|
@@ -272822,7 +272968,7 @@ var snapshot_v1_default = {
|
|
|
272822
272968
|
id: "google/gemini-3.6-flash",
|
|
272823
272969
|
name: "Gemini 3.6 Flash",
|
|
272824
272970
|
provider: "google",
|
|
272825
|
-
description: "
|
|
272971
|
+
description: "Gemini 3.6 Flash with built-in thinking mode \u2014 frontier-class quality at Flash speed",
|
|
272826
272972
|
lifecycle: "active",
|
|
272827
272973
|
declared_capabilities: [
|
|
272828
272974
|
"chat",
|
|
@@ -272922,7 +273068,57 @@ var snapshot_v1_default = {
|
|
|
272922
273068
|
id: "google/gemini-4-argon",
|
|
272923
273069
|
name: "Gemini 4 Argon",
|
|
272924
273070
|
provider: "google",
|
|
272925
|
-
description: "Google's
|
|
273071
|
+
description: "Google's efficient Gemini 4 model: Gemini 4 intelligence with faster responses and fewer tokens per turn than Carbon",
|
|
273072
|
+
lifecycle: "active",
|
|
273073
|
+
declared_capabilities: [
|
|
273074
|
+
"chat",
|
|
273075
|
+
"coding",
|
|
273076
|
+
"reasoning",
|
|
273077
|
+
"vision"
|
|
273078
|
+
],
|
|
273079
|
+
aliases: [],
|
|
273080
|
+
redirects: [],
|
|
273081
|
+
networks: {
|
|
273082
|
+
base: {
|
|
273083
|
+
listed: true,
|
|
273084
|
+
categories: [
|
|
273085
|
+
"chat",
|
|
273086
|
+
"coding",
|
|
273087
|
+
"reasoning",
|
|
273088
|
+
"vision"
|
|
273089
|
+
],
|
|
273090
|
+
billing_mode: "paid",
|
|
273091
|
+
pricing: {
|
|
273092
|
+
input: 2,
|
|
273093
|
+
output: 10,
|
|
273094
|
+
cache_read: 0.1
|
|
273095
|
+
},
|
|
273096
|
+
context_window: 1048576,
|
|
273097
|
+
max_output: 65536
|
|
273098
|
+
},
|
|
273099
|
+
solana: {
|
|
273100
|
+
listed: true,
|
|
273101
|
+
categories: [
|
|
273102
|
+
"chat",
|
|
273103
|
+
"coding",
|
|
273104
|
+
"reasoning",
|
|
273105
|
+
"vision"
|
|
273106
|
+
],
|
|
273107
|
+
billing_mode: "paid",
|
|
273108
|
+
pricing: {
|
|
273109
|
+
input: 2,
|
|
273110
|
+
output: 10
|
|
273111
|
+
},
|
|
273112
|
+
context_window: 1048576,
|
|
273113
|
+
max_output: 65536
|
|
273114
|
+
}
|
|
273115
|
+
}
|
|
273116
|
+
},
|
|
273117
|
+
{
|
|
273118
|
+
id: "google/gemini-4-carbon",
|
|
273119
|
+
name: "Gemini 4 Carbon",
|
|
273120
|
+
provider: "google",
|
|
273121
|
+
description: "Google's most capable reasoning model, built for complex software engineering, deep math and science, and long autonomous agent work",
|
|
272926
273122
|
lifecycle: "active",
|
|
272927
273123
|
declared_capabilities: [
|
|
272928
273124
|
"chat",
|
|
@@ -272998,7 +273194,7 @@ var snapshot_v1_default = {
|
|
|
272998
273194
|
],
|
|
272999
273195
|
billing_mode: "per_image",
|
|
273000
273196
|
pricing: {
|
|
273001
|
-
per_image: 0.
|
|
273197
|
+
per_image: 0.0525
|
|
273002
273198
|
}
|
|
273003
273199
|
}
|
|
273004
273200
|
}
|
|
@@ -273033,7 +273229,7 @@ var snapshot_v1_default = {
|
|
|
273033
273229
|
],
|
|
273034
273230
|
billing_mode: "per_image",
|
|
273035
273231
|
pricing: {
|
|
273036
|
-
per_image: 0.
|
|
273232
|
+
per_image: 0.0945
|
|
273037
273233
|
}
|
|
273038
273234
|
}
|
|
273039
273235
|
}
|
|
@@ -273068,16 +273264,94 @@ var snapshot_v1_default = {
|
|
|
273068
273264
|
],
|
|
273069
273265
|
billing_mode: "per_image",
|
|
273070
273266
|
pricing: {
|
|
273071
|
-
per_image: 0.
|
|
273267
|
+
per_image: 0.105
|
|
273072
273268
|
}
|
|
273073
273269
|
}
|
|
273074
273270
|
}
|
|
273075
273271
|
},
|
|
273272
|
+
{
|
|
273273
|
+
id: "meta/muse-spark-1.3",
|
|
273274
|
+
name: "Muse Spark 1.3",
|
|
273275
|
+
provider: "meta",
|
|
273276
|
+
description: "Meta's Muse Spark 1.3, Meta's current general model. 1M context, image + text input, tool calling, always reasons (reasoning_effort minimal to max).",
|
|
273277
|
+
lifecycle: "active",
|
|
273278
|
+
declared_capabilities: [
|
|
273279
|
+
"chat",
|
|
273280
|
+
"coding",
|
|
273281
|
+
"reasoning",
|
|
273282
|
+
"vision"
|
|
273283
|
+
],
|
|
273284
|
+
aliases: [],
|
|
273285
|
+
redirects: [],
|
|
273286
|
+
networks: {
|
|
273287
|
+
base: {
|
|
273288
|
+
listed: false,
|
|
273289
|
+
categories: [],
|
|
273290
|
+
billing_mode: "unavailable",
|
|
273291
|
+
pricing: {}
|
|
273292
|
+
},
|
|
273293
|
+
solana: {
|
|
273294
|
+
listed: true,
|
|
273295
|
+
categories: [
|
|
273296
|
+
"chat",
|
|
273297
|
+
"coding",
|
|
273298
|
+
"reasoning",
|
|
273299
|
+
"vision"
|
|
273300
|
+
],
|
|
273301
|
+
billing_mode: "paid",
|
|
273302
|
+
pricing: {
|
|
273303
|
+
input: 1.25,
|
|
273304
|
+
output: 4.25
|
|
273305
|
+
},
|
|
273306
|
+
context_window: 1048576,
|
|
273307
|
+
max_output: 131072
|
|
273308
|
+
}
|
|
273309
|
+
}
|
|
273310
|
+
},
|
|
273311
|
+
{
|
|
273312
|
+
id: "meta/muse-wonder-1.0",
|
|
273313
|
+
name: "Muse Wonder 1.0",
|
|
273314
|
+
provider: "meta",
|
|
273315
|
+
description: "Meta's Muse Wonder 1.0 (preview), Meta's frontier model for agents and coding. 1M context, image + text input, tool calling, always reasons (reasoning_effort minimal to max).",
|
|
273316
|
+
lifecycle: "active",
|
|
273317
|
+
declared_capabilities: [
|
|
273318
|
+
"chat",
|
|
273319
|
+
"coding",
|
|
273320
|
+
"reasoning",
|
|
273321
|
+
"vision"
|
|
273322
|
+
],
|
|
273323
|
+
aliases: [],
|
|
273324
|
+
redirects: [],
|
|
273325
|
+
networks: {
|
|
273326
|
+
base: {
|
|
273327
|
+
listed: false,
|
|
273328
|
+
categories: [],
|
|
273329
|
+
billing_mode: "unavailable",
|
|
273330
|
+
pricing: {}
|
|
273331
|
+
},
|
|
273332
|
+
solana: {
|
|
273333
|
+
listed: true,
|
|
273334
|
+
categories: [
|
|
273335
|
+
"chat",
|
|
273336
|
+
"coding",
|
|
273337
|
+
"reasoning",
|
|
273338
|
+
"vision"
|
|
273339
|
+
],
|
|
273340
|
+
billing_mode: "paid",
|
|
273341
|
+
pricing: {
|
|
273342
|
+
input: 4,
|
|
273343
|
+
output: 20
|
|
273344
|
+
},
|
|
273345
|
+
context_window: 1048576,
|
|
273346
|
+
max_output: 131072
|
|
273347
|
+
}
|
|
273348
|
+
}
|
|
273349
|
+
},
|
|
273076
273350
|
{
|
|
273077
273351
|
id: "minimax/minimax-m2.7",
|
|
273078
273352
|
name: "MiniMax M2.7",
|
|
273079
273353
|
provider: "minimax",
|
|
273080
|
-
description: "MiniMax's
|
|
273354
|
+
description: "MiniMax's M2.7 reasoning model with recursive self-improvement. Great value for complex tasks (~60 tps)",
|
|
273081
273355
|
lifecycle: "active",
|
|
273082
273356
|
declared_capabilities: [
|
|
273083
273357
|
"chat",
|
|
@@ -273184,7 +273458,7 @@ var snapshot_v1_default = {
|
|
|
273184
273458
|
],
|
|
273185
273459
|
billing_mode: "per_track",
|
|
273186
273460
|
pricing: {
|
|
273187
|
-
per_track: 0.
|
|
273461
|
+
per_track: 0.199,
|
|
273188
273462
|
transaction_fee: 1e-3
|
|
273189
273463
|
}
|
|
273190
273464
|
},
|
|
@@ -273195,7 +273469,7 @@ var snapshot_v1_default = {
|
|
|
273195
273469
|
],
|
|
273196
273470
|
billing_mode: "per_track",
|
|
273197
273471
|
pricing: {
|
|
273198
|
-
per_track: 0.
|
|
273472
|
+
per_track: 0.2
|
|
273199
273473
|
}
|
|
273200
273474
|
}
|
|
273201
273475
|
}
|
|
@@ -273225,8 +273499,8 @@ var snapshot_v1_default = {
|
|
|
273225
273499
|
],
|
|
273226
273500
|
billing_mode: "paid",
|
|
273227
273501
|
pricing: {
|
|
273228
|
-
input:
|
|
273229
|
-
output:
|
|
273502
|
+
input: 1.36,
|
|
273503
|
+
output: 4.18
|
|
273230
273504
|
},
|
|
273231
273505
|
context_window: 524288,
|
|
273232
273506
|
max_output: 262144
|
|
@@ -273241,8 +273515,8 @@ var snapshot_v1_default = {
|
|
|
273241
273515
|
],
|
|
273242
273516
|
billing_mode: "paid",
|
|
273243
273517
|
pricing: {
|
|
273244
|
-
input:
|
|
273245
|
-
output:
|
|
273518
|
+
input: 1.36,
|
|
273519
|
+
output: 4.18
|
|
273246
273520
|
},
|
|
273247
273521
|
context_window: 524288,
|
|
273248
273522
|
max_output: 262144
|
|
@@ -273254,7 +273528,7 @@ var snapshot_v1_default = {
|
|
|
273254
273528
|
name: "Kimi K3",
|
|
273255
273529
|
provider: "moonshot",
|
|
273256
273530
|
description: "Moonshot's flagship \u2014 a 2.8-trillion-parameter open MoE with 1M context, image + text input, returning reasoning_content. Live-verified 2026-07-17 (chat, tools, vision).",
|
|
273257
|
-
lifecycle: "
|
|
273531
|
+
lifecycle: "deprecated",
|
|
273258
273532
|
declared_capabilities: [
|
|
273259
273533
|
"chat",
|
|
273260
273534
|
"coding",
|
|
@@ -273265,7 +273539,7 @@ var snapshot_v1_default = {
|
|
|
273265
273539
|
redirects: [],
|
|
273266
273540
|
networks: {
|
|
273267
273541
|
base: {
|
|
273268
|
-
listed:
|
|
273542
|
+
listed: false,
|
|
273269
273543
|
categories: [
|
|
273270
273544
|
"chat",
|
|
273271
273545
|
"coding",
|
|
@@ -273282,7 +273556,7 @@ var snapshot_v1_default = {
|
|
|
273282
273556
|
max_output: 65536
|
|
273283
273557
|
},
|
|
273284
273558
|
solana: {
|
|
273285
|
-
listed:
|
|
273559
|
+
listed: false,
|
|
273286
273560
|
categories: [
|
|
273287
273561
|
"chat",
|
|
273288
273562
|
"coding",
|
|
@@ -273299,12 +273573,62 @@ var snapshot_v1_default = {
|
|
|
273299
273573
|
}
|
|
273300
273574
|
}
|
|
273301
273575
|
},
|
|
273576
|
+
{
|
|
273577
|
+
id: "moonshot/kimi-k3.1-pro",
|
|
273578
|
+
name: "Kimi K3.1 Pro",
|
|
273579
|
+
provider: "moonshot",
|
|
273580
|
+
description: "Moonshot's flagship \u2014 post-trained successor to Kimi K3 for long-horizon coding and agents. 1M context, image + text input, returns reasoning_content.",
|
|
273581
|
+
lifecycle: "active",
|
|
273582
|
+
declared_capabilities: [
|
|
273583
|
+
"chat",
|
|
273584
|
+
"coding",
|
|
273585
|
+
"reasoning",
|
|
273586
|
+
"vision"
|
|
273587
|
+
],
|
|
273588
|
+
aliases: [],
|
|
273589
|
+
redirects: [],
|
|
273590
|
+
networks: {
|
|
273591
|
+
base: {
|
|
273592
|
+
listed: true,
|
|
273593
|
+
categories: [
|
|
273594
|
+
"chat",
|
|
273595
|
+
"coding",
|
|
273596
|
+
"reasoning",
|
|
273597
|
+
"vision"
|
|
273598
|
+
],
|
|
273599
|
+
billing_mode: "paid",
|
|
273600
|
+
pricing: {
|
|
273601
|
+
input: 2,
|
|
273602
|
+
output: 10,
|
|
273603
|
+
cache_read: 0.2
|
|
273604
|
+
},
|
|
273605
|
+
context_window: 1048576,
|
|
273606
|
+
max_output: 65536
|
|
273607
|
+
},
|
|
273608
|
+
solana: {
|
|
273609
|
+
listed: true,
|
|
273610
|
+
categories: [
|
|
273611
|
+
"chat",
|
|
273612
|
+
"coding",
|
|
273613
|
+
"reasoning",
|
|
273614
|
+
"vision"
|
|
273615
|
+
],
|
|
273616
|
+
billing_mode: "paid",
|
|
273617
|
+
pricing: {
|
|
273618
|
+
input: 2,
|
|
273619
|
+
output: 10
|
|
273620
|
+
},
|
|
273621
|
+
context_window: 1048576,
|
|
273622
|
+
max_output: 65536
|
|
273623
|
+
}
|
|
273624
|
+
}
|
|
273625
|
+
},
|
|
273302
273626
|
{
|
|
273303
273627
|
id: "nvidia/llama-3.2-11b-vision",
|
|
273304
273628
|
name: "Llama 3.2 11B Vision (Free)",
|
|
273305
273629
|
provider: "nvidia",
|
|
273306
273630
|
description: "Meta's Llama 3.2 11B Vision hosted free by NVIDIA. Accepts images; 128K context.",
|
|
273307
|
-
lifecycle: "
|
|
273631
|
+
lifecycle: "deprecated",
|
|
273308
273632
|
declared_capabilities: [
|
|
273309
273633
|
"chat",
|
|
273310
273634
|
"vision"
|
|
@@ -273313,7 +273637,7 @@ var snapshot_v1_default = {
|
|
|
273313
273637
|
redirects: [],
|
|
273314
273638
|
networks: {
|
|
273315
273639
|
base: {
|
|
273316
|
-
listed:
|
|
273640
|
+
listed: false,
|
|
273317
273641
|
categories: [
|
|
273318
273642
|
"chat",
|
|
273319
273643
|
"vision"
|
|
@@ -273327,7 +273651,7 @@ var snapshot_v1_default = {
|
|
|
273327
273651
|
max_output: 16384
|
|
273328
273652
|
},
|
|
273329
273653
|
solana: {
|
|
273330
|
-
listed:
|
|
273654
|
+
listed: false,
|
|
273331
273655
|
categories: [
|
|
273332
273656
|
"chat",
|
|
273333
273657
|
"vision"
|
|
@@ -273342,6 +273666,52 @@ var snapshot_v1_default = {
|
|
|
273342
273666
|
}
|
|
273343
273667
|
}
|
|
273344
273668
|
},
|
|
273669
|
+
{
|
|
273670
|
+
id: "nvidia/minimax-m3.1-flash",
|
|
273671
|
+
name: "MiniMax M3.1 Flash (Free)",
|
|
273672
|
+
provider: "nvidia",
|
|
273673
|
+
description: "MiniMax's M3.1 Flash hosted free by NVIDIA. Reasons before it answers, calls tools, and takes a 1M context, usually in a few seconds.",
|
|
273674
|
+
lifecycle: "active",
|
|
273675
|
+
declared_capabilities: [
|
|
273676
|
+
"chat",
|
|
273677
|
+
"coding",
|
|
273678
|
+
"reasoning"
|
|
273679
|
+
],
|
|
273680
|
+
aliases: [],
|
|
273681
|
+
redirects: [],
|
|
273682
|
+
networks: {
|
|
273683
|
+
base: {
|
|
273684
|
+
listed: false,
|
|
273685
|
+
categories: [
|
|
273686
|
+
"chat",
|
|
273687
|
+
"coding",
|
|
273688
|
+
"reasoning"
|
|
273689
|
+
],
|
|
273690
|
+
billing_mode: "free",
|
|
273691
|
+
pricing: {
|
|
273692
|
+
input: 0,
|
|
273693
|
+
output: 0
|
|
273694
|
+
},
|
|
273695
|
+
context_window: 1048576,
|
|
273696
|
+
max_output: 16384
|
|
273697
|
+
},
|
|
273698
|
+
solana: {
|
|
273699
|
+
listed: true,
|
|
273700
|
+
categories: [
|
|
273701
|
+
"chat",
|
|
273702
|
+
"coding",
|
|
273703
|
+
"reasoning"
|
|
273704
|
+
],
|
|
273705
|
+
billing_mode: "free",
|
|
273706
|
+
pricing: {
|
|
273707
|
+
input: 0,
|
|
273708
|
+
output: 0
|
|
273709
|
+
},
|
|
273710
|
+
context_window: 1048576,
|
|
273711
|
+
max_output: 16384
|
|
273712
|
+
}
|
|
273713
|
+
}
|
|
273714
|
+
},
|
|
273345
273715
|
{
|
|
273346
273716
|
id: "nvidia/muse-glimmer-30b",
|
|
273347
273717
|
name: "Muse Glimmer 30B (Free)",
|
|
@@ -273357,7 +273727,7 @@ var snapshot_v1_default = {
|
|
|
273357
273727
|
redirects: [],
|
|
273358
273728
|
networks: {
|
|
273359
273729
|
base: {
|
|
273360
|
-
listed:
|
|
273730
|
+
listed: false,
|
|
273361
273731
|
categories: [
|
|
273362
273732
|
"chat",
|
|
273363
273733
|
"coding",
|
|
@@ -273392,7 +273762,7 @@ var snapshot_v1_default = {
|
|
|
273392
273762
|
id: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
273393
273763
|
name: "Nemotron 3 Nano Omni (Free)",
|
|
273394
273764
|
provider: "nvidia",
|
|
273395
|
-
description: "NVIDIA's multimodal reasoning Nemotron Nano Omni, free. 31B / 3.2B active MoE. Accepts text, images, video, audio. ChartQA 90.3, DocVQA 95.6, MMMU 70.8 \u2014 the only
|
|
273765
|
+
description: "NVIDIA's multimodal reasoning Nemotron Nano Omni, free. 31B / 3.2B active MoE. Accepts text, images, video, audio. ChartQA 90.3, DocVQA 95.6, MMMU 70.8 \u2014 the only free model in our catalog that takes video and audio as well as images",
|
|
273396
273766
|
lifecycle: "active",
|
|
273397
273767
|
declared_capabilities: [
|
|
273398
273768
|
"chat",
|
|
@@ -273434,6 +273804,55 @@ var snapshot_v1_default = {
|
|
|
273434
273804
|
}
|
|
273435
273805
|
}
|
|
273436
273806
|
},
|
|
273807
|
+
{
|
|
273808
|
+
id: "nvidia/nemotron-3-super-120b",
|
|
273809
|
+
name: "Nemotron 3.5 Super 120B (Free)",
|
|
273810
|
+
provider: "nvidia",
|
|
273811
|
+
description: "NVIDIA Nemotron 3.5 Super VL: MoE model (12B active params) with thinking mode. Reads images, fast and capable reasoning",
|
|
273812
|
+
lifecycle: "active",
|
|
273813
|
+
declared_capabilities: [
|
|
273814
|
+
"chat",
|
|
273815
|
+
"coding",
|
|
273816
|
+
"reasoning",
|
|
273817
|
+
"vision"
|
|
273818
|
+
],
|
|
273819
|
+
aliases: [],
|
|
273820
|
+
redirects: [],
|
|
273821
|
+
networks: {
|
|
273822
|
+
base: {
|
|
273823
|
+
listed: true,
|
|
273824
|
+
categories: [
|
|
273825
|
+
"chat",
|
|
273826
|
+
"coding",
|
|
273827
|
+
"reasoning",
|
|
273828
|
+
"vision"
|
|
273829
|
+
],
|
|
273830
|
+
billing_mode: "free",
|
|
273831
|
+
pricing: {
|
|
273832
|
+
input: 0,
|
|
273833
|
+
output: 0
|
|
273834
|
+
},
|
|
273835
|
+
context_window: 131072,
|
|
273836
|
+
max_output: 16384
|
|
273837
|
+
},
|
|
273838
|
+
solana: {
|
|
273839
|
+
listed: true,
|
|
273840
|
+
categories: [
|
|
273841
|
+
"chat",
|
|
273842
|
+
"coding",
|
|
273843
|
+
"reasoning",
|
|
273844
|
+
"vision"
|
|
273845
|
+
],
|
|
273846
|
+
billing_mode: "free",
|
|
273847
|
+
pricing: {
|
|
273848
|
+
input: 0,
|
|
273849
|
+
output: 0
|
|
273850
|
+
},
|
|
273851
|
+
context_window: 131072,
|
|
273852
|
+
max_output: 16384
|
|
273853
|
+
}
|
|
273854
|
+
}
|
|
273855
|
+
},
|
|
273437
273856
|
{
|
|
273438
273857
|
id: "nvidia/nemotron-3-ultra-550b",
|
|
273439
273858
|
name: "Nemotron 3 Ultra 550B (Free)",
|
|
@@ -273448,7 +273867,7 @@ var snapshot_v1_default = {
|
|
|
273448
273867
|
redirects: [],
|
|
273449
273868
|
networks: {
|
|
273450
273869
|
base: {
|
|
273451
|
-
listed:
|
|
273870
|
+
listed: true,
|
|
273452
273871
|
categories: [
|
|
273453
273872
|
"chat",
|
|
273454
273873
|
"reasoning"
|
|
@@ -273477,6 +273896,52 @@ var snapshot_v1_default = {
|
|
|
273477
273896
|
}
|
|
273478
273897
|
}
|
|
273479
273898
|
},
|
|
273899
|
+
{
|
|
273900
|
+
id: "nvidia/nemotron-3.5-bolt",
|
|
273901
|
+
name: "Nemotron 3.5 Bolt (Free)",
|
|
273902
|
+
provider: "nvidia",
|
|
273903
|
+
description: "NVIDIA's small, fast Nemotron 3.5 hosted free by NVIDIA. Answers in about a second, reads images and calls tools; no thinking pass. 131K context",
|
|
273904
|
+
lifecycle: "active",
|
|
273905
|
+
declared_capabilities: [
|
|
273906
|
+
"chat",
|
|
273907
|
+
"coding",
|
|
273908
|
+
"vision"
|
|
273909
|
+
],
|
|
273910
|
+
aliases: [],
|
|
273911
|
+
redirects: [],
|
|
273912
|
+
networks: {
|
|
273913
|
+
base: {
|
|
273914
|
+
listed: true,
|
|
273915
|
+
categories: [
|
|
273916
|
+
"chat",
|
|
273917
|
+
"coding",
|
|
273918
|
+
"vision"
|
|
273919
|
+
],
|
|
273920
|
+
billing_mode: "free",
|
|
273921
|
+
pricing: {
|
|
273922
|
+
input: 0,
|
|
273923
|
+
output: 0
|
|
273924
|
+
},
|
|
273925
|
+
context_window: 131072,
|
|
273926
|
+
max_output: 16384
|
|
273927
|
+
},
|
|
273928
|
+
solana: {
|
|
273929
|
+
listed: true,
|
|
273930
|
+
categories: [
|
|
273931
|
+
"chat",
|
|
273932
|
+
"coding",
|
|
273933
|
+
"vision"
|
|
273934
|
+
],
|
|
273935
|
+
billing_mode: "free",
|
|
273936
|
+
pricing: {
|
|
273937
|
+
input: 0,
|
|
273938
|
+
output: 0
|
|
273939
|
+
},
|
|
273940
|
+
context_window: 131072,
|
|
273941
|
+
max_output: 16384
|
|
273942
|
+
}
|
|
273943
|
+
}
|
|
273944
|
+
},
|
|
273480
273945
|
{
|
|
273481
273946
|
id: "nvidia/nemotron-3.5-lightning",
|
|
273482
273947
|
name: "Nemotron 3.5 Lightning (Free)",
|
|
@@ -273491,7 +273956,7 @@ var snapshot_v1_default = {
|
|
|
273491
273956
|
redirects: [],
|
|
273492
273957
|
networks: {
|
|
273493
273958
|
base: {
|
|
273494
|
-
listed:
|
|
273959
|
+
listed: true,
|
|
273495
273960
|
categories: [
|
|
273496
273961
|
"chat",
|
|
273497
273962
|
"reasoning"
|
|
@@ -273662,7 +274127,7 @@ var snapshot_v1_default = {
|
|
|
273662
274127
|
name: "GPT-4.1 Nano",
|
|
273663
274128
|
provider: "openai",
|
|
273664
274129
|
description: "Ultra-fast and cost-effective GPT-4.1",
|
|
273665
|
-
lifecycle: "
|
|
274130
|
+
lifecycle: "deprecated",
|
|
273666
274131
|
declared_capabilities: [
|
|
273667
274132
|
"chat",
|
|
273668
274133
|
"vision"
|
|
@@ -273671,7 +274136,7 @@ var snapshot_v1_default = {
|
|
|
273671
274136
|
redirects: [],
|
|
273672
274137
|
networks: {
|
|
273673
274138
|
base: {
|
|
273674
|
-
listed:
|
|
274139
|
+
listed: false,
|
|
273675
274140
|
categories: [
|
|
273676
274141
|
"chat"
|
|
273677
274142
|
],
|
|
@@ -273685,7 +274150,7 @@ var snapshot_v1_default = {
|
|
|
273685
274150
|
max_output: 32768
|
|
273686
274151
|
},
|
|
273687
274152
|
solana: {
|
|
273688
|
-
listed:
|
|
274153
|
+
listed: false,
|
|
273689
274154
|
categories: [
|
|
273690
274155
|
"chat",
|
|
273691
274156
|
"vision"
|
|
@@ -274037,7 +274502,7 @@ var snapshot_v1_default = {
|
|
|
274037
274502
|
id: "openai/gpt-5.4",
|
|
274038
274503
|
name: "GPT-5.4",
|
|
274039
274504
|
provider: "openai",
|
|
274040
|
-
description: "
|
|
274505
|
+
description: "GPT-5.4 frontier model with 1M context, native computer use, and thinking mode",
|
|
274041
274506
|
lifecycle: "active",
|
|
274042
274507
|
declared_capabilities: [
|
|
274043
274508
|
"chat",
|
|
@@ -274522,7 +274987,7 @@ var snapshot_v1_default = {
|
|
|
274522
274987
|
id: "openai/gpt-5.6-sol",
|
|
274523
274988
|
name: "GPT-5.6 Sol",
|
|
274524
274989
|
provider: "openai",
|
|
274525
|
-
description: "
|
|
274990
|
+
description: "Top GPT-5.6 tier \u2014 deepest reasoning for complex coding, agentic workflows, and long-horizon problems. 1M context",
|
|
274526
274991
|
lifecycle: "active",
|
|
274527
274992
|
declared_capabilities: [
|
|
274528
274993
|
"chat",
|
|
@@ -274932,6 +275397,52 @@ var snapshot_v1_default = {
|
|
|
274932
275397
|
}
|
|
274933
275398
|
}
|
|
274934
275399
|
},
|
|
275400
|
+
{
|
|
275401
|
+
id: "openai/gpt-6-luna-decisions",
|
|
275402
|
+
name: "GPT-6 Luna Decisions",
|
|
275403
|
+
provider: "openai",
|
|
275404
|
+
description: "Typed judgments over text or images: predicate (yes/no with a probability), choice (one of your values, with per-value probabilities) or score (an ordered rubric). OpenAI Decisions-compatible \u2014 POST /v1/decisions, not /v1/chat/completions. Billed on input tokens only, plus the transaction fee per call; with an API key from https://user.blockrun.ai, https://api.blockrun.ai/v1/decisions bills them from credit.",
|
|
275405
|
+
lifecycle: "active",
|
|
275406
|
+
declared_capabilities: [
|
|
275407
|
+
"judgment"
|
|
275408
|
+
],
|
|
275409
|
+
aliases: [],
|
|
275410
|
+
redirects: [],
|
|
275411
|
+
networks: {
|
|
275412
|
+
base: {
|
|
275413
|
+
listed: true,
|
|
275414
|
+
categories: [
|
|
275415
|
+
"judgment"
|
|
275416
|
+
],
|
|
275417
|
+
billing_mode: "per_token",
|
|
275418
|
+
pricing: {
|
|
275419
|
+
input: 0.1,
|
|
275420
|
+
output: 0,
|
|
275421
|
+
transaction_fee: 1e-3,
|
|
275422
|
+
long_context: {
|
|
275423
|
+
threshold: 272e3,
|
|
275424
|
+
input: 0.2
|
|
275425
|
+
}
|
|
275426
|
+
}
|
|
275427
|
+
},
|
|
275428
|
+
solana: {
|
|
275429
|
+
listed: true,
|
|
275430
|
+
categories: [
|
|
275431
|
+
"judgment"
|
|
275432
|
+
],
|
|
275433
|
+
billing_mode: "per_token",
|
|
275434
|
+
pricing: {
|
|
275435
|
+
input: 0.1,
|
|
275436
|
+
output: 0,
|
|
275437
|
+
long_context_threshold: 272e3,
|
|
275438
|
+
long_context_input: 0.2,
|
|
275439
|
+
per_call_fee_exact: 1e-3,
|
|
275440
|
+
per_call_fee_batch: 0,
|
|
275441
|
+
service_fee: 0
|
|
275442
|
+
}
|
|
275443
|
+
}
|
|
275444
|
+
}
|
|
275445
|
+
},
|
|
274935
275446
|
{
|
|
274936
275447
|
id: "openai/gpt-6-sol",
|
|
274937
275448
|
name: "GPT-6 Sol",
|
|
@@ -275100,7 +275611,7 @@ var snapshot_v1_default = {
|
|
|
275100
275611
|
],
|
|
275101
275612
|
billing_mode: "per_image",
|
|
275102
275613
|
pricing: {
|
|
275103
|
-
per_image: 0.
|
|
275614
|
+
per_image: 0.021
|
|
275104
275615
|
}
|
|
275105
275616
|
}
|
|
275106
275617
|
}
|
|
@@ -275135,7 +275646,7 @@ var snapshot_v1_default = {
|
|
|
275135
275646
|
],
|
|
275136
275647
|
billing_mode: "per_image",
|
|
275137
275648
|
pricing: {
|
|
275138
|
-
per_image: 0.
|
|
275649
|
+
per_image: 0.063
|
|
275139
275650
|
}
|
|
275140
275651
|
}
|
|
275141
275652
|
}
|
|
@@ -275170,7 +275681,7 @@ var snapshot_v1_default = {
|
|
|
275170
275681
|
],
|
|
275171
275682
|
billing_mode: "per_image",
|
|
275172
275683
|
pricing: {
|
|
275173
|
-
per_image: 0.
|
|
275684
|
+
per_image: 0.294
|
|
275174
275685
|
}
|
|
275175
275686
|
}
|
|
275176
275687
|
}
|
|
@@ -275205,7 +275716,7 @@ var snapshot_v1_default = {
|
|
|
275205
275716
|
],
|
|
275206
275717
|
billing_mode: "per_image",
|
|
275207
275718
|
pricing: {
|
|
275208
|
-
per_image: 0.
|
|
275719
|
+
per_image: 0.294
|
|
275209
275720
|
}
|
|
275210
275721
|
}
|
|
275211
275722
|
}
|
|
@@ -275260,7 +275771,7 @@ var snapshot_v1_default = {
|
|
|
275260
275771
|
id: "openai/o3",
|
|
275261
275772
|
name: "o3",
|
|
275262
275773
|
provider: "openai",
|
|
275263
|
-
description: "
|
|
275774
|
+
description: "o-series reasoning model with improved performance",
|
|
275264
275775
|
lifecycle: "active",
|
|
275265
275776
|
declared_capabilities: [
|
|
275266
275777
|
"chat",
|
|
@@ -275352,7 +275863,7 @@ var snapshot_v1_default = {
|
|
|
275352
275863
|
id: "openai/o4-mini",
|
|
275353
275864
|
name: "o4-mini",
|
|
275354
275865
|
provider: "openai",
|
|
275355
|
-
description: "
|
|
275866
|
+
description: "Efficient o4-generation reasoning model",
|
|
275356
275867
|
lifecycle: "active",
|
|
275357
275868
|
declared_capabilities: [
|
|
275358
275869
|
"coding",
|
|
@@ -275542,7 +276053,7 @@ var snapshot_v1_default = {
|
|
|
275542
276053
|
id: "qwen/qwen3.7-max",
|
|
275543
276054
|
name: "Qwen3.7 Max",
|
|
275544
276055
|
provider: "qwen",
|
|
275545
|
-
description: "Alibaba's
|
|
276056
|
+
description: "Alibaba's Qwen3.7 Max tier. 1M context, strong reasoning, coding, and agentic tool use. Live-verified 2026-07-20.",
|
|
275546
276057
|
lifecycle: "active",
|
|
275547
276058
|
declared_capabilities: [
|
|
275548
276059
|
"chat",
|
|
@@ -275733,6 +276244,43 @@ var snapshot_v1_default = {
|
|
|
275733
276244
|
}
|
|
275734
276245
|
}
|
|
275735
276246
|
},
|
|
276247
|
+
{
|
|
276248
|
+
id: "reflection/beam-1.0-501b-a23b",
|
|
276249
|
+
name: "Beam 1.0",
|
|
276250
|
+
provider: "reflection",
|
|
276251
|
+
description: "Reflection's Beam 1.0 \u2014 open-weight 501B MoE (23B active) reasoning model for coding and long-horizon agents. 1M context, tool calling, reasoning_effort low-max.",
|
|
276252
|
+
lifecycle: "active",
|
|
276253
|
+
declared_capabilities: [
|
|
276254
|
+
"chat",
|
|
276255
|
+
"coding",
|
|
276256
|
+
"reasoning"
|
|
276257
|
+
],
|
|
276258
|
+
aliases: [],
|
|
276259
|
+
redirects: [],
|
|
276260
|
+
networks: {
|
|
276261
|
+
base: {
|
|
276262
|
+
listed: false,
|
|
276263
|
+
categories: [],
|
|
276264
|
+
billing_mode: "unavailable",
|
|
276265
|
+
pricing: {}
|
|
276266
|
+
},
|
|
276267
|
+
solana: {
|
|
276268
|
+
listed: true,
|
|
276269
|
+
categories: [
|
|
276270
|
+
"chat",
|
|
276271
|
+
"coding",
|
|
276272
|
+
"reasoning"
|
|
276273
|
+
],
|
|
276274
|
+
billing_mode: "paid",
|
|
276275
|
+
pricing: {
|
|
276276
|
+
input: 0.25,
|
|
276277
|
+
output: 1
|
|
276278
|
+
},
|
|
276279
|
+
context_window: 1048576,
|
|
276280
|
+
max_output: 131072
|
|
276281
|
+
}
|
|
276282
|
+
}
|
|
276283
|
+
},
|
|
275736
276284
|
{
|
|
275737
276285
|
id: "tencent/hy4-preview",
|
|
275738
276286
|
name: "Tencent Hy4 Preview",
|
|
@@ -275850,7 +276398,7 @@ var snapshot_v1_default = {
|
|
|
275850
276398
|
id: "xai/grok-4.5",
|
|
275851
276399
|
name: "Grok 4.5",
|
|
275852
276400
|
provider: "xai",
|
|
275853
|
-
description: "xAI's
|
|
276401
|
+
description: "xAI's Grok 4.5 \u2014 500K context, vision-capable, chain-of-thought reasoning. Supports Live Search (+$0.30 per call)",
|
|
275854
276402
|
lifecycle: "active",
|
|
275855
276403
|
declared_capabilities: [
|
|
275856
276404
|
"chat",
|
|
@@ -275920,7 +276468,7 @@ var snapshot_v1_default = {
|
|
|
275920
276468
|
id: "xai/grok-4.6",
|
|
275921
276469
|
name: "Grok 4.6",
|
|
275922
276470
|
provider: "xai",
|
|
275923
|
-
description: "xAI's
|
|
276471
|
+
description: "xAI's Grok 4.6 \u2014 500K context, chain-of-thought reasoning with selectable effort. Supports Live Search (+$0.30 per call)",
|
|
275924
276472
|
lifecycle: "active",
|
|
275925
276473
|
declared_capabilities: [
|
|
275926
276474
|
"chat",
|
|
@@ -276147,7 +276695,7 @@ var snapshot_v1_default = {
|
|
|
276147
276695
|
],
|
|
276148
276696
|
billing_mode: "per_image",
|
|
276149
276697
|
pricing: {
|
|
276150
|
-
per_image: 0.
|
|
276698
|
+
per_image: 0.021
|
|
276151
276699
|
}
|
|
276152
276700
|
}
|
|
276153
276701
|
}
|
|
@@ -276156,7 +276704,7 @@ var snapshot_v1_default = {
|
|
|
276156
276704
|
id: "xai/grok-imagine-image-2.0",
|
|
276157
276705
|
name: "Grok Imagine 2.0",
|
|
276158
276706
|
provider: "xai",
|
|
276159
|
-
description: "xAI's Grok Imagine 2.0 image generation. Sits between Grok Imagine and
|
|
276707
|
+
description: "xAI's Grok Imagine 2.0 image generation at low quality. Sits between Grok Imagine and Grok Imagine Pro on price.",
|
|
276160
276708
|
lifecycle: "active",
|
|
276161
276709
|
declared_capabilities: [
|
|
276162
276710
|
"image"
|
|
@@ -276182,7 +276730,7 @@ var snapshot_v1_default = {
|
|
|
276182
276730
|
],
|
|
276183
276731
|
billing_mode: "per_image",
|
|
276184
276732
|
pricing: {
|
|
276185
|
-
per_image: 0.
|
|
276733
|
+
per_image: 0.042
|
|
276186
276734
|
}
|
|
276187
276735
|
}
|
|
276188
276736
|
}
|
|
@@ -276191,7 +276739,7 @@ var snapshot_v1_default = {
|
|
|
276191
276739
|
id: "xai/grok-imagine-image-pro",
|
|
276192
276740
|
name: "Grok Imagine Pro",
|
|
276193
276741
|
provider: "xai",
|
|
276194
|
-
description: "xAI's
|
|
276742
|
+
description: "xAI's Grok Imagine 2.0 image generation at medium quality: finer detail than Grok Imagine 2.0. 30 RPM.",
|
|
276195
276743
|
lifecycle: "active",
|
|
276196
276744
|
declared_capabilities: [
|
|
276197
276745
|
"image"
|
|
@@ -276206,7 +276754,7 @@ var snapshot_v1_default = {
|
|
|
276206
276754
|
],
|
|
276207
276755
|
billing_mode: "per_image",
|
|
276208
276756
|
pricing: {
|
|
276209
|
-
per_image: 0.
|
|
276757
|
+
per_image: 0.063,
|
|
276210
276758
|
transaction_fee: 1e-3
|
|
276211
276759
|
}
|
|
276212
276760
|
},
|
|
@@ -276217,7 +276765,7 @@ var snapshot_v1_default = {
|
|
|
276217
276765
|
],
|
|
276218
276766
|
billing_mode: "per_image",
|
|
276219
276767
|
pricing: {
|
|
276220
|
-
per_image: 0.
|
|
276768
|
+
per_image: 0.063
|
|
276221
276769
|
}
|
|
276222
276770
|
}
|
|
276223
276771
|
}
|
|
@@ -276226,7 +276774,7 @@ var snapshot_v1_default = {
|
|
|
276226
276774
|
id: "xai/grok-imagine-video",
|
|
276227
276775
|
name: "Grok Imagine Video",
|
|
276228
276776
|
provider: "xai",
|
|
276229
|
-
description: "xAI's Grok Imagine video generation. Text or image to video, configurable 1\u201315s clips. $0.05/sec at 480p (default), $0.07/sec at 720p \u2014 official per-second rates, plus a flat $0.001 per generation.",
|
|
276777
|
+
description: "xAI's Grok Imagine video generation. Text or image to video, configurable 1\u201315s clips. $0.05/sec at 480p (default), $0.07/sec at 720p \u2014 official per-second rates, plus $0.002 per input image and a flat $0.001 per generation.",
|
|
276230
276778
|
lifecycle: "active",
|
|
276231
276779
|
declared_capabilities: [
|
|
276232
276780
|
"video"
|
|
@@ -276243,6 +276791,7 @@ var snapshot_v1_default = {
|
|
|
276243
276791
|
pricing: {
|
|
276244
276792
|
per_second: 0.05,
|
|
276245
276793
|
per_call_surcharge: 1e-3,
|
|
276794
|
+
per_input_image: 2e-3,
|
|
276246
276795
|
transaction_fee: 1e-3,
|
|
276247
276796
|
default_duration_seconds: 8,
|
|
276248
276797
|
max_duration_seconds: 15
|
|
@@ -276256,6 +276805,8 @@ var snapshot_v1_default = {
|
|
|
276256
276805
|
billing_mode: "per_second",
|
|
276257
276806
|
pricing: {
|
|
276258
276807
|
per_second: 0.05,
|
|
276808
|
+
per_call_surcharge: 1e-3,
|
|
276809
|
+
per_input_image: 2e-3,
|
|
276259
276810
|
default_duration_seconds: 8,
|
|
276260
276811
|
max_duration_seconds: 15
|
|
276261
276812
|
}
|
|
@@ -276266,7 +276817,7 @@ var snapshot_v1_default = {
|
|
|
276266
276817
|
id: "xai/grok-imagine-video-1.5",
|
|
276267
276818
|
name: "Grok Imagine Video 1.5",
|
|
276268
276819
|
provider: "xai",
|
|
276269
|
-
description: "xAI's flagship Grok Imagine Video 1.5 \u2014 text or image to video with native synced audio, 1\u201315s clips. $0.08/sec at 480p (default), $0.14/sec at 720p, $0.25/sec at 1080p \u2014 official per-second rates, plus a flat $0.001 per generation.",
|
|
276820
|
+
description: "xAI's flagship Grok Imagine Video 1.5 \u2014 text or image to video with native synced audio, 1\u201315s clips. $0.08/sec at 480p (default), $0.14/sec at 720p, $0.25/sec at 1080p \u2014 official per-second rates, plus $0.01 per input image and a flat $0.001 per generation. First-and-last-frame at 480p and 720p.",
|
|
276270
276821
|
lifecycle: "active",
|
|
276271
276822
|
declared_capabilities: [
|
|
276272
276823
|
"video"
|
|
@@ -276283,6 +276834,7 @@ var snapshot_v1_default = {
|
|
|
276283
276834
|
pricing: {
|
|
276284
276835
|
per_second: 0.08,
|
|
276285
276836
|
per_call_surcharge: 1e-3,
|
|
276837
|
+
per_input_image: 0.01,
|
|
276286
276838
|
transaction_fee: 1e-3,
|
|
276287
276839
|
default_duration_seconds: 8,
|
|
276288
276840
|
max_duration_seconds: 15
|
|
@@ -276296,6 +276848,8 @@ var snapshot_v1_default = {
|
|
|
276296
276848
|
billing_mode: "per_second",
|
|
276297
276849
|
pricing: {
|
|
276298
276850
|
per_second: 0.08,
|
|
276851
|
+
per_call_surcharge: 1e-3,
|
|
276852
|
+
per_input_image: 0.01,
|
|
276299
276853
|
default_duration_seconds: 8,
|
|
276300
276854
|
max_duration_seconds: 15
|
|
276301
276855
|
}
|
|
@@ -276421,7 +276975,7 @@ var snapshot_v1_default = {
|
|
|
276421
276975
|
],
|
|
276422
276976
|
billing_mode: "per_image",
|
|
276423
276977
|
pricing: {
|
|
276424
|
-
per_image: 0.
|
|
276978
|
+
per_image: 0.01575
|
|
276425
276979
|
}
|
|
276426
276980
|
}
|
|
276427
276981
|
}
|
|
@@ -276520,7 +277074,7 @@ var snapshot_v1_default = {
|
|
|
276520
277074
|
id: "zai/glm-5.1",
|
|
276521
277075
|
name: "GLM-5.1",
|
|
276522
277076
|
provider: "zai",
|
|
276523
|
-
description: "Z.AI
|
|
277077
|
+
description: "Z.AI's GLM-5.1 \u2014 #1 open source on SWE-Bench Pro, 8-hour autonomous execution. 200K context",
|
|
276524
277078
|
lifecycle: "active",
|
|
276525
277079
|
declared_capabilities: [
|
|
276526
277080
|
"chat",
|
|
@@ -276711,8 +277265,8 @@ var snapshot_v1_default = {
|
|
|
276711
277265
|
},
|
|
276712
277266
|
picker_policy: {
|
|
276713
277267
|
schema_version: 1,
|
|
276714
|
-
policy_version: "2026.
|
|
276715
|
-
catalog_version: "2026.11.12.
|
|
277268
|
+
policy_version: "2026.11.12.2",
|
|
277269
|
+
catalog_version: "2026.11.12.2",
|
|
276716
277270
|
default_network: "solana",
|
|
276717
277271
|
compatibility_shortcuts: {
|
|
276718
277272
|
"opus-4.6": "anthropic/claude-opus-4.6",
|
|
@@ -276781,7 +277335,7 @@ var snapshot_v1_default = {
|
|
|
276781
277335
|
"xiaomi/mimo-v2.5-pro",
|
|
276782
277336
|
"minimax/minimax-m3",
|
|
276783
277337
|
"minimax/minimax-m2.7",
|
|
276784
|
-
"moonshot/kimi-k3",
|
|
277338
|
+
"moonshot/kimi-k3.1-pro",
|
|
276785
277339
|
"qwen/qwen3.7-max",
|
|
276786
277340
|
"qwen/qwen3.8-flash",
|
|
276787
277341
|
"deepseek/deepseek-v4-flash-vision-exp",
|
|
@@ -276792,7 +277346,8 @@ var snapshot_v1_default = {
|
|
|
276792
277346
|
"cohere/north-mini-code",
|
|
276793
277347
|
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
276794
277348
|
"nvidia/nemotron-3-ultra-550b",
|
|
276795
|
-
"nvidia/
|
|
277349
|
+
"nvidia/nemotron-3-super-120b",
|
|
277350
|
+
"nvidia/nemotron-3.5-bolt"
|
|
276796
277351
|
],
|
|
276797
277352
|
groups: [
|
|
276798
277353
|
{
|
|
@@ -276834,7 +277389,7 @@ var snapshot_v1_default = {
|
|
|
276834
277389
|
"xiaomi/mimo-v2.5-pro",
|
|
276835
277390
|
"minimax/minimax-m3",
|
|
276836
277391
|
"minimax/minimax-m2.7",
|
|
276837
|
-
"moonshot/kimi-k3",
|
|
277392
|
+
"moonshot/kimi-k3.1-pro",
|
|
276838
277393
|
"qwen/qwen3.7-max",
|
|
276839
277394
|
"qwen/qwen3.8-flash",
|
|
276840
277395
|
"deepseek/deepseek-v4-flash-vision-exp",
|
|
@@ -276851,7 +277406,8 @@ var snapshot_v1_default = {
|
|
|
276851
277406
|
"cohere/north-mini-code",
|
|
276852
277407
|
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
276853
277408
|
"nvidia/nemotron-3-ultra-550b",
|
|
276854
|
-
"nvidia/
|
|
277409
|
+
"nvidia/nemotron-3-super-120b",
|
|
277410
|
+
"nvidia/nemotron-3.5-bolt"
|
|
276855
277411
|
]
|
|
276856
277412
|
}
|
|
276857
277413
|
],
|
|
@@ -276907,7 +277463,7 @@ var snapshot_v1_default = {
|
|
|
276907
277463
|
"glm-5": "zai/glm-5",
|
|
276908
277464
|
"glm-turbo": "zai/glm-5-turbo",
|
|
276909
277465
|
glm5: "zai/glm-5.1",
|
|
276910
|
-
kimi: "moonshot/kimi-k3",
|
|
277466
|
+
kimi: "moonshot/kimi-k3.1-pro",
|
|
276911
277467
|
"br-sonnet": "anthropic/claude-sonnet-4.6",
|
|
276912
277468
|
"sonnet-4": "anthropic/claude-sonnet-4.6",
|
|
276913
277469
|
"sonnet-4-6": "anthropic/claude-sonnet-4.6",
|
|
@@ -276961,7 +277517,7 @@ var snapshot_v1_default = {
|
|
|
276961
277517
|
"openai-codex/gpt-5.4-mini": "openai/gpt-5.4-mini",
|
|
276962
277518
|
"gpt-5.4-mini": "openai/gpt-5.4-mini",
|
|
276963
277519
|
"deepseek-chat": "deepseek/deepseek-chat",
|
|
276964
|
-
"kimi-k3": "moonshot/kimi-k3",
|
|
277520
|
+
"kimi-k3": "moonshot/kimi-k3.1-pro",
|
|
276965
277521
|
"qwen3.7-max": "qwen/qwen3.7-max",
|
|
276966
277522
|
"qwen3.8-flash": "qwen/qwen3.8-flash",
|
|
276967
277523
|
"qwen3-8-flash": "qwen/qwen3.8-flash",
|
|
@@ -277009,7 +277565,7 @@ var snapshot_v1_default = {
|
|
|
277009
277565
|
"free/devstral-2-123b": "nvidia/nemotron-3.5-lightning",
|
|
277010
277566
|
"mistral-free": "nvidia/nemotron-3.5-lightning",
|
|
277011
277567
|
"glm-free": "nvidia/nemotron-3.5-lightning",
|
|
277012
|
-
"llama-free": "nvidia/
|
|
277568
|
+
"llama-free": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277013
277569
|
"qwen-coder-free": "nvidia/nemotron-3.5-lightning",
|
|
277014
277570
|
"qwen-thinking": "nvidia/nemotron-3.5-lightning",
|
|
277015
277571
|
"coder-free": "cohere/north-mini-code",
|
|
@@ -277029,7 +277585,7 @@ var snapshot_v1_default = {
|
|
|
277029
277585
|
"nvidia/nemotron-3.5-lightning": "nvidia/nemotron-3.5-lightning",
|
|
277030
277586
|
"nvidia/nemotron-3-nano-30b": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277031
277587
|
"nvidia/nemotron-3-ultra-550b": "nvidia/nemotron-3-ultra-550b",
|
|
277032
|
-
"nvidia/llama-3.2-11b-vision": "nvidia/
|
|
277588
|
+
"nvidia/llama-3.2-11b-vision": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277033
277589
|
"cohere/north-mini-code": "cohere/north-mini-code",
|
|
277034
277590
|
"poolside/laguna-xs-2.1": "poolside/laguna-xs-2.1",
|
|
277035
277591
|
lightning: "nvidia/nemotron-3.5-lightning",
|
|
@@ -277039,8 +277595,8 @@ var snapshot_v1_default = {
|
|
|
277039
277595
|
"nemotron-nano-30b": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277040
277596
|
"ultra-550b": "nvidia/nemotron-3-ultra-550b",
|
|
277041
277597
|
"nemotron-ultra-550b": "nvidia/nemotron-3-ultra-550b",
|
|
277042
|
-
"llama-vision": "nvidia/
|
|
277043
|
-
"llama-3.2-vision": "nvidia/
|
|
277598
|
+
"llama-vision": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277599
|
+
"llama-3.2-vision": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277044
277600
|
"north-mini": "cohere/north-mini-code",
|
|
277045
277601
|
"north-mini-code": "cohere/north-mini-code",
|
|
277046
277602
|
laguna: "poolside/laguna-xs-2.1",
|
|
@@ -277060,7 +277616,7 @@ var snapshot_v1_default = {
|
|
|
277060
277616
|
qwen: "qwen/qwen3.8-max",
|
|
277061
277617
|
"free-code": "cohere/north-mini-code",
|
|
277062
277618
|
"free-fast": "nvidia/nemotron-3.5-lightning",
|
|
277063
|
-
"free-vision": "nvidia/
|
|
277619
|
+
"free-vision": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277064
277620
|
"claude-sonnet-4.5": "anthropic/claude-sonnet-4.5",
|
|
277065
277621
|
"gpt-5-mini": "openai/gpt-5-mini",
|
|
277066
277622
|
"gemini-2.5-pro": "google/gemini-2.5-pro",
|
|
@@ -277085,7 +277641,7 @@ var snapshot_v1_default = {
|
|
|
277085
277641
|
"gpt-6-luna": "openai/gpt-6-luna",
|
|
277086
277642
|
"grok-4.6": "xai/grok-4.6",
|
|
277087
277643
|
"claude-sonnet-4.6": "anthropic/claude-sonnet-4.6",
|
|
277088
|
-
"llama-3.2-11b-vision": "nvidia/
|
|
277644
|
+
"llama-3.2-11b-vision": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
277089
277645
|
"hy4-preview": "tencent/hy4-preview",
|
|
277090
277646
|
"gpt-4o-mini": "openai/gpt-4o-mini",
|
|
277091
277647
|
"claude-opus-4.7": "anthropic/claude-opus-4.7",
|
|
@@ -277098,19 +277654,26 @@ var snapshot_v1_default = {
|
|
|
277098
277654
|
"gemini-3-flash-preview": "google/gemini-3-flash-preview",
|
|
277099
277655
|
"claude-fable-5.1": "anthropic/claude-fable-5.1",
|
|
277100
277656
|
"gpt-6-astra": "openai/gpt-6-astra",
|
|
277101
|
-
"gpt-4.1-nano": "openai/gpt-4
|
|
277657
|
+
"gpt-4.1-nano": "openai/gpt-5.4-nano",
|
|
277102
277658
|
"gpt-5.3-codex": "openai/gpt-5.3-codex",
|
|
277103
277659
|
"gpt-6.1-sol": "openai/gpt-6.1-sol",
|
|
277104
277660
|
"mistral-large-4": "mistral/mistral-large-4",
|
|
277105
|
-
"deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash"
|
|
277661
|
+
"deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash",
|
|
277662
|
+
"gemini-4-carbon": "google/gemini-4-carbon",
|
|
277663
|
+
"kimi-k3.1-pro": "moonshot/kimi-k3.1-pro",
|
|
277664
|
+
"kimi-k3.1": "moonshot/kimi-k3.1-pro",
|
|
277665
|
+
"nemotron-3.5-bolt": "nvidia/nemotron-3.5-bolt",
|
|
277666
|
+
"nemotron-bolt": "nvidia/nemotron-3.5-bolt",
|
|
277667
|
+
"nemotron-3-super": "nvidia/nemotron-3-super-120b",
|
|
277668
|
+
"minimax-m3.1-flash": "nvidia/minimax-m3.1-flash"
|
|
277106
277669
|
}
|
|
277107
277670
|
}
|
|
277108
277671
|
}
|
|
277109
277672
|
},
|
|
277110
277673
|
router_policy: {
|
|
277111
277674
|
schema_version: 1,
|
|
277112
|
-
policy_version: "2026.
|
|
277113
|
-
catalog_version: "2026.11.12.
|
|
277675
|
+
policy_version: "2026.11.12.2",
|
|
277676
|
+
catalog_version: "2026.11.12.2",
|
|
277114
277677
|
default_network: "solana",
|
|
277115
277678
|
status: "draft",
|
|
277116
277679
|
description: "Prototype model-specific policy for Router Core. Do not consume in production until benchmark review is complete.",
|
|
@@ -277124,7 +277687,7 @@ var snapshot_v1_default = {
|
|
|
277124
277687
|
medium: [
|
|
277125
277688
|
"openai/gpt-5.6-luna",
|
|
277126
277689
|
"google/gemini-3.6-flash",
|
|
277127
|
-
"moonshot/kimi-k3",
|
|
277690
|
+
"moonshot/kimi-k3.1-pro",
|
|
277128
277691
|
"qwen/qwen3.8-flash"
|
|
277129
277692
|
],
|
|
277130
277693
|
complex: [
|
|
@@ -277143,7 +277706,7 @@ var snapshot_v1_default = {
|
|
|
277143
277706
|
"openai/gpt-5.6-terra",
|
|
277144
277707
|
"anthropic/claude-sonnet-5",
|
|
277145
277708
|
"xai/grok-4.5",
|
|
277146
|
-
"moonshot/kimi-k3"
|
|
277709
|
+
"moonshot/kimi-k3.1-pro"
|
|
277147
277710
|
]
|
|
277148
277711
|
},
|
|
277149
277712
|
free_candidate_sets: {
|
|
@@ -277157,7 +277720,6 @@ var snapshot_v1_default = {
|
|
|
277157
277720
|
"nvidia/nemotron-3-ultra-550b"
|
|
277158
277721
|
],
|
|
277159
277722
|
vision: [
|
|
277160
|
-
"nvidia/llama-3.2-11b-vision",
|
|
277161
277723
|
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning"
|
|
277162
277724
|
]
|
|
277163
277725
|
},
|
|
@@ -282068,53 +282630,60 @@ var SpendPolicyConflictError = class extends Error {
|
|
|
282068
282630
|
};
|
|
282069
282631
|
var FileSpendControlStorage = class {
|
|
282070
282632
|
spendingFile;
|
|
282071
|
-
constructor() {
|
|
282072
|
-
this.spendingFile = path.join(WALLET_DIR, "spending.json");
|
|
282633
|
+
constructor(spendingFile) {
|
|
282634
|
+
this.spendingFile = spendingFile ?? path.join(WALLET_DIR, "spending.json");
|
|
282073
282635
|
}
|
|
282074
282636
|
load() {
|
|
282637
|
+
let raw;
|
|
282075
282638
|
try {
|
|
282076
|
-
|
|
282077
|
-
|
|
282078
|
-
|
|
282079
|
-
|
|
282080
|
-
|
|
282081
|
-
|
|
282082
|
-
|
|
282083
|
-
|
|
282084
|
-
|
|
282085
|
-
|
|
282086
|
-
|
|
282087
|
-
|
|
282088
|
-
|
|
282089
|
-
|
|
282090
|
-
|
|
282091
|
-
|
|
282092
|
-
|
|
282093
|
-
|
|
282094
|
-
|
|
282095
|
-
|
|
282096
|
-
|
|
282097
|
-
|
|
282098
|
-
|
|
282099
|
-
|
|
282100
|
-
|
|
282101
|
-
|
|
282102
|
-
|
|
282103
|
-
|
|
282104
|
-
|
|
282105
|
-
|
|
282106
|
-
|
|
282639
|
+
raw = readTextFileSync(this.spendingFile);
|
|
282640
|
+
} catch (err) {
|
|
282641
|
+
const code = err?.code;
|
|
282642
|
+
if (code === "ENOENT" || code === "ENOTDIR") {
|
|
282643
|
+
return null;
|
|
282644
|
+
}
|
|
282645
|
+
throw new UnreadableSpendPolicyError(err);
|
|
282646
|
+
}
|
|
282647
|
+
try {
|
|
282648
|
+
const data = JSON.parse(raw);
|
|
282649
|
+
const rawLimits = data.limits ?? {};
|
|
282650
|
+
const rawHistory = data.history ?? [];
|
|
282651
|
+
const limits = {};
|
|
282652
|
+
for (const key3 of ["perRequest", "hourly", "daily", "session"]) {
|
|
282653
|
+
const val = rawLimits[key3];
|
|
282654
|
+
if (typeof val === "number" && val > 0 && Number.isFinite(val)) {
|
|
282655
|
+
limits[key3] = val;
|
|
282656
|
+
}
|
|
282657
|
+
}
|
|
282658
|
+
for (const key3 of POLICY_LISTS) {
|
|
282659
|
+
if (!Object.prototype.hasOwnProperty.call(rawLimits, key3)) continue;
|
|
282660
|
+
const val = rawLimits[key3];
|
|
282661
|
+
if (!isValidPolicyValues(val)) {
|
|
282662
|
+
throw new MalformedSpendPolicyError(key3);
|
|
282663
|
+
}
|
|
282664
|
+
if (val.length === 0) continue;
|
|
282665
|
+
limits[key3] = normalizePolicyValues(key3, val);
|
|
282666
|
+
}
|
|
282667
|
+
const history = [];
|
|
282668
|
+
if (Array.isArray(rawHistory)) {
|
|
282669
|
+
for (const r2 of rawHistory) {
|
|
282670
|
+
if (typeof r2?.timestamp === "number" && typeof r2?.amount === "number" && Number.isFinite(r2.timestamp) && Number.isFinite(r2.amount) && r2.amount >= 0) {
|
|
282671
|
+
history.push({
|
|
282672
|
+
timestamp: r2.timestamp,
|
|
282673
|
+
amount: r2.amount,
|
|
282674
|
+
model: typeof r2.model === "string" ? r2.model : void 0,
|
|
282675
|
+
action: typeof r2.action === "string" ? r2.action : void 0
|
|
282676
|
+
});
|
|
282107
282677
|
}
|
|
282108
282678
|
}
|
|
282109
|
-
return { limits, history };
|
|
282110
282679
|
}
|
|
282680
|
+
return { limits, history };
|
|
282111
282681
|
} catch (err) {
|
|
282112
282682
|
if (err instanceof MalformedSpendPolicyError) {
|
|
282113
282683
|
throw err;
|
|
282114
282684
|
}
|
|
282115
282685
|
throw new UnreadableSpendPolicyError(err);
|
|
282116
282686
|
}
|
|
282117
|
-
return null;
|
|
282118
282687
|
}
|
|
282119
282688
|
save(data) {
|
|
282120
282689
|
try {
|
|
@@ -282202,6 +282771,8 @@ var SpendControl = class {
|
|
|
282202
282771
|
diskLimits = {};
|
|
282203
282772
|
/** Set when spending.json held an unusable policy list: refuse every payment. */
|
|
282204
282773
|
policyFileBroken;
|
|
282774
|
+
/** Whether persisted history loaded successfully; when false, recovery from an initial failure restores history. */
|
|
282775
|
+
initialHistoryLoaded = false;
|
|
282205
282776
|
storage;
|
|
282206
282777
|
now;
|
|
282207
282778
|
constructor(options) {
|
|
@@ -282267,7 +282838,7 @@ var SpendControl = class {
|
|
|
282267
282838
|
data = this.storage.load();
|
|
282268
282839
|
} catch (err) {
|
|
282269
282840
|
if (err instanceof UnreadableSpendPolicyError) {
|
|
282270
|
-
console.error(`${err.message}
|
|
282841
|
+
console.error(`${err.message}: keeping the limits already in effect`);
|
|
282271
282842
|
return;
|
|
282272
282843
|
}
|
|
282273
282844
|
if (!(err instanceof MalformedSpendPolicyError)) throw err;
|
|
@@ -282275,6 +282846,13 @@ var SpendControl = class {
|
|
|
282275
282846
|
console.error(`[ClawRouter] ${err.message}`);
|
|
282276
282847
|
return;
|
|
282277
282848
|
}
|
|
282849
|
+
if (!this.initialHistoryLoaded) {
|
|
282850
|
+
if (data) {
|
|
282851
|
+
this.history = data.history;
|
|
282852
|
+
this.cleanup();
|
|
282853
|
+
}
|
|
282854
|
+
this.initialHistoryLoaded = true;
|
|
282855
|
+
}
|
|
282278
282856
|
this.policyFileBroken = void 0;
|
|
282279
282857
|
this.limits = data ? cloneLimits(data.limits) : {};
|
|
282280
282858
|
this.diskLimits = cloneLimits(this.limits);
|
|
@@ -282602,19 +283180,15 @@ var SpendControl = class {
|
|
|
282602
283180
|
try {
|
|
282603
283181
|
data = this.storage.load();
|
|
282604
283182
|
} catch (err) {
|
|
282605
|
-
if (err instanceof UnreadableSpendPolicyError) {
|
|
283183
|
+
if (err instanceof UnreadableSpendPolicyError || err instanceof MalformedSpendPolicyError) {
|
|
283184
|
+
this.policyFileBroken = err.message;
|
|
283185
|
+
console.error(`[ClawRouter] ${err.message}`);
|
|
282606
283186
|
console.error(
|
|
282607
|
-
|
|
283187
|
+
"[ClawRouter] All paid requests will be refused until spending.json is repaired. Free models are unaffected."
|
|
282608
283188
|
);
|
|
282609
283189
|
return;
|
|
282610
283190
|
}
|
|
282611
|
-
|
|
282612
|
-
this.policyFileBroken = err.message;
|
|
282613
|
-
console.error(`[ClawRouter] ${err.message}`);
|
|
282614
|
-
console.error(
|
|
282615
|
-
"[ClawRouter] All paid requests will be refused until spending.json is repaired. Free models are unaffected."
|
|
282616
|
-
);
|
|
282617
|
-
return;
|
|
283191
|
+
throw err;
|
|
282618
283192
|
}
|
|
282619
283193
|
if (data) {
|
|
282620
283194
|
this.limits = cloneLimits(data.limits);
|
|
@@ -282622,6 +283196,7 @@ var SpendControl = class {
|
|
|
282622
283196
|
this.history = data.history;
|
|
282623
283197
|
this.cleanup();
|
|
282624
283198
|
}
|
|
283199
|
+
this.initialHistoryLoaded = true;
|
|
282625
283200
|
}
|
|
282626
283201
|
};
|
|
282627
283202
|
var sharedControlHost = () => process;
|
|
@@ -283052,7 +283627,7 @@ function createPermit2Nonce() {
|
|
|
283052
283627
|
return BigInt(toHex(randomBytes9)).toString();
|
|
283053
283628
|
}
|
|
283054
283629
|
|
|
283055
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
283630
|
+
// node_modules/@x402/evm/dist/esm/chunk-5AIYL4HT.mjs
|
|
283056
283631
|
var EVM_NETWORK_CHAIN_ID_MAP = {
|
|
283057
283632
|
ethereum: 1,
|
|
283058
283633
|
sepolia: 11155111,
|
|
@@ -283077,7 +283652,9 @@ var EVM_NETWORK_CHAIN_ID_MAP = {
|
|
|
283077
283652
|
stable: 988,
|
|
283078
283653
|
"stable-testnet": 2201,
|
|
283079
283654
|
celo: 42220,
|
|
283080
|
-
flare: 14
|
|
283655
|
+
flare: 14,
|
|
283656
|
+
hemi: 43111,
|
|
283657
|
+
"hemi-testnet": 743111
|
|
283081
283658
|
};
|
|
283082
283659
|
var NETWORKS = Object.keys(EVM_NETWORK_CHAIN_ID_MAP);
|
|
283083
283660
|
function getEvmChainIdV1(network) {
|
|
@@ -283162,7 +283739,7 @@ var DEFAULT_MAX_PRIORITY_FEE_PER_GAS = 100000000n;
|
|
|
283162
283739
|
var PERMIT2_ADDRESS = "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
283163
283740
|
var x402ExactPermit2ProxyAddress = "0x402085c248EeA27D92E8b30b2C58ed07f9E20001";
|
|
283164
283741
|
|
|
283165
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
283742
|
+
// node_modules/@x402/evm/dist/esm/chunk-AB46Q4WU.mjs
|
|
283166
283743
|
var EIP2612_GAS_SPONSORING_KEY = "eip2612GasSponsoring";
|
|
283167
283744
|
var ERC20_APPROVAL_GAS_SPONSORING_KEY = "erc20ApprovalGasSponsoring";
|
|
283168
283745
|
var ERC20_APPROVAL_GAS_SPONSORING_VERSION = "1";
|
|
@@ -283398,7 +283975,7 @@ async function trySignErc20ApprovalExtension(signer, options, requirements, cont
|
|
|
283398
283975
|
};
|
|
283399
283976
|
}
|
|
283400
283977
|
|
|
283401
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
283978
|
+
// node_modules/@x402/evm/dist/esm/chunk-6XWQF37J.mjs
|
|
283402
283979
|
var DEFAULT_ASSETS = {
|
|
283403
283980
|
"eip155:8453": [
|
|
283404
283981
|
{
|
|
@@ -283713,8 +284290,39 @@ var DEFAULT_ASSETS = {
|
|
|
283713
284290
|
decimals: 6,
|
|
283714
284291
|
symbol: "USDC"
|
|
283715
284292
|
}
|
|
283716
|
-
]
|
|
284293
|
+
],
|
|
283717
284294
|
// Arc Testnet USDC (EIP-3009 supported)
|
|
284295
|
+
"eip155:4663": [
|
|
284296
|
+
{
|
|
284297
|
+
asset: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
284298
|
+
name: "Global Dollar",
|
|
284299
|
+
version: "1",
|
|
284300
|
+
decimals: 6,
|
|
284301
|
+
symbol: "USDG"
|
|
284302
|
+
}
|
|
284303
|
+
],
|
|
284304
|
+
// Robinhood Chain mainnet USDG (EIP-3009 supported)
|
|
284305
|
+
"eip155:43111": [
|
|
284306
|
+
{
|
|
284307
|
+
asset: "0xad11a8BEb98bbf61dbb1aa0F6d6F2ECD87b35afA",
|
|
284308
|
+
name: "Bridged USDC (Stargate)",
|
|
284309
|
+
version: "2",
|
|
284310
|
+
decimals: 6,
|
|
284311
|
+
symbol: "USDC.e"
|
|
284312
|
+
}
|
|
284313
|
+
],
|
|
284314
|
+
// Hemi mainnet USDC.e (EIP-3009 supported)
|
|
284315
|
+
"eip155:743111": [
|
|
284316
|
+
{
|
|
284317
|
+
asset: "0xD47971C7F5B1067d25cd45d30b2c9eb60de96443",
|
|
284318
|
+
name: "USDC.e",
|
|
284319
|
+
version: "1",
|
|
284320
|
+
decimals: 6,
|
|
284321
|
+
symbol: "USDC.e",
|
|
284322
|
+
assetTransferMethod: "permit2"
|
|
284323
|
+
}
|
|
284324
|
+
]
|
|
284325
|
+
// Hemi testnet USDC.e (no EIP-3009, no EIP-2612)
|
|
283718
284326
|
};
|
|
283719
284327
|
function resolveNetworkKey(network) {
|
|
283720
284328
|
if (network in DEFAULT_ASSETS) {
|
|
@@ -283736,7 +284344,7 @@ var findDefaultAsset = (asset, network) => {
|
|
|
283736
284344
|
return assets.find((entry) => entry.asset.toLowerCase() === normalized);
|
|
283737
284345
|
};
|
|
283738
284346
|
|
|
283739
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
284347
|
+
// node_modules/@x402/evm/dist/esm/chunk-X42JDBHW.mjs
|
|
283740
284348
|
var ExactEvmSchemeV1 = class {
|
|
283741
284349
|
/**
|
|
283742
284350
|
* Creates a new ExactEvmClientV1 instance.
|
|
@@ -283818,7 +284426,7 @@ var ExactEvmSchemeV1 = class {
|
|
|
283818
284426
|
}
|
|
283819
284427
|
};
|
|
283820
284428
|
|
|
283821
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
284429
|
+
// node_modules/@x402/evm/dist/esm/chunk-QKR4OFMY.mjs
|
|
283822
284430
|
async function createPermit2PayloadForProxy(proxyAddress, signer, x402Version2, paymentRequirements) {
|
|
283823
284431
|
const now2 = Math.floor(Date.now() / 1e3);
|
|
283824
284432
|
const nonce = createPermit2Nonce();
|
|
@@ -283870,7 +284478,7 @@ async function signPermit2Authorization(signer, permit2Authorization, requiremen
|
|
|
283870
284478
|
});
|
|
283871
284479
|
}
|
|
283872
284480
|
|
|
283873
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
284481
|
+
// node_modules/@x402/evm/dist/esm/chunk-H3CLVT6Z.mjs
|
|
283874
284482
|
var MAX_UINT256 = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
283875
284483
|
async function createPermit2Payload(signer, x402Version2, paymentRequirements) {
|
|
283876
284484
|
return createPermit2PayloadForProxy(
|
|
@@ -283881,7 +284489,7 @@ async function createPermit2Payload(signer, x402Version2, paymentRequirements) {
|
|
|
283881
284489
|
);
|
|
283882
284490
|
}
|
|
283883
284491
|
|
|
283884
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
284492
|
+
// node_modules/@x402/evm/dist/esm/chunk-374U7QOG.mjs
|
|
283885
284493
|
init_utils9();
|
|
283886
284494
|
async function createEIP3009Payload(signer, x402Version2, paymentRequirements) {
|
|
283887
284495
|
const nonce = createNonce();
|
|
@@ -284021,7 +284629,7 @@ function registerExactEvmScheme(client, config2) {
|
|
|
284021
284629
|
return client;
|
|
284022
284630
|
}
|
|
284023
284631
|
|
|
284024
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
284632
|
+
// node_modules/@x402/evm/dist/esm/chunk-BBPWOJXX.mjs
|
|
284025
284633
|
var SALT_BINDING_TYPEHASH = keccak256(
|
|
284026
284634
|
toBytes(
|
|
284027
284635
|
"x402AuthCaptureSaltBinding(address receiverAuthorizer,address policy,uint256 saltNonce)"
|
|
@@ -284033,7 +284641,7 @@ var PAYMENT_INFO_TYPEHASH = keccak256(
|
|
|
284033
284641
|
)
|
|
284034
284642
|
);
|
|
284035
284643
|
|
|
284036
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
284644
|
+
// node_modules/@x402/evm/dist/esm/chunk-7DJ4WEQ5.mjs
|
|
284037
284645
|
var CHANNEL_CONFIG_TYPEHASH = keccak256(
|
|
284038
284646
|
toBytes(
|
|
284039
284647
|
"ChannelConfig(address payer,address payerAuthorizer,address receiver,address receiverAuthorizer,address token,uint40 withdrawDelay,bytes32 salt)"
|
|
@@ -284041,7 +284649,7 @@ var CHANNEL_CONFIG_TYPEHASH = keccak256(
|
|
|
284041
284649
|
);
|
|
284042
284650
|
var UINT96_MASK = (1n << 96n) - 1n;
|
|
284043
284651
|
|
|
284044
|
-
// node_modules/@x402/evm/dist/esm/chunk-
|
|
284652
|
+
// node_modules/@x402/evm/dist/esm/chunk-AEYKXGQA.mjs
|
|
284045
284653
|
init_http3();
|
|
284046
284654
|
init_http3();
|
|
284047
284655
|
init_client();
|
|
@@ -289871,12 +290479,28 @@ function shortenPaths(messages) {
|
|
|
289871
290479
|
|
|
289872
290480
|
// src/compression/layers/json-compact.ts
|
|
289873
290481
|
function compactJson(jsonString) {
|
|
290482
|
+
if (typeof jsonString !== "string") return jsonString;
|
|
289874
290483
|
try {
|
|
289875
|
-
|
|
289876
|
-
return JSON.stringify(parsed);
|
|
290484
|
+
JSON.parse(jsonString);
|
|
289877
290485
|
} catch {
|
|
289878
290486
|
return jsonString;
|
|
289879
290487
|
}
|
|
290488
|
+
let out = "";
|
|
290489
|
+
let start = 0;
|
|
290490
|
+
let inString = false;
|
|
290491
|
+
for (let i = 0; i < jsonString.length; i++) {
|
|
290492
|
+
const ch = jsonString[i];
|
|
290493
|
+
if (inString) {
|
|
290494
|
+
if (ch === "\\") i++;
|
|
290495
|
+
else if (ch === '"') inString = false;
|
|
290496
|
+
} else if (ch === '"') {
|
|
290497
|
+
inString = true;
|
|
290498
|
+
} else if (ch === " " || ch === " " || ch === "\n" || ch === "\r") {
|
|
290499
|
+
out += jsonString.slice(start, i);
|
|
290500
|
+
start = i + 1;
|
|
290501
|
+
}
|
|
290502
|
+
}
|
|
290503
|
+
return out + jsonString.slice(start);
|
|
289880
290504
|
}
|
|
289881
290505
|
function looksLikeJson(str) {
|
|
289882
290506
|
const trimmed = str.trim();
|
|
@@ -291655,6 +292279,9 @@ var SHARE_PRESETS = [
|
|
|
291655
292279
|
function isSharePreset(s3) {
|
|
291656
292280
|
return SHARE_PRESETS.includes(s3);
|
|
291657
292281
|
}
|
|
292282
|
+
var TELEGRAM_MAX_LEN = 4096;
|
|
292283
|
+
var TELEGRAM_SUFFIX_RESERVE = 24;
|
|
292284
|
+
var TELEGRAM_CHUNK_CONTENT_LIMIT = TELEGRAM_MAX_LEN - TELEGRAM_SUFFIX_RESERVE;
|
|
291658
292285
|
var PH_BOLD = "__CR_PH_BOLD_";
|
|
291659
292286
|
var PH_LINK = "__CR_PH_LINK_";
|
|
291660
292287
|
var PH_END = "__";
|
|
@@ -292115,20 +292742,44 @@ var ClientDisconnectedError = class extends Error {
|
|
|
292115
292742
|
this.name = "ClientDisconnectedError";
|
|
292116
292743
|
}
|
|
292117
292744
|
};
|
|
292118
|
-
|
|
292745
|
+
function isClientAbortError(err, res) {
|
|
292746
|
+
if (err instanceof ClientDisconnectedError) return true;
|
|
292747
|
+
if (!(err instanceof Error)) return false;
|
|
292748
|
+
const clientGone = res.destroyed && !res.writableEnded;
|
|
292749
|
+
return clientGone && (err.name === "AbortError" || err.message.includes("aborted"));
|
|
292750
|
+
}
|
|
292751
|
+
async function readBodyWithTimeout(body, timeoutMs = MODEL_BODY_READ_TIMEOUT_MS, signal, abortError = () => new ClientDisconnectedError()) {
|
|
292119
292752
|
if (!body) return [];
|
|
292753
|
+
if (signal?.aborted) {
|
|
292754
|
+
await body.cancel().catch(() => {
|
|
292755
|
+
});
|
|
292756
|
+
throw abortError();
|
|
292757
|
+
}
|
|
292120
292758
|
const reader = body.getReader();
|
|
292121
292759
|
const chunks = [];
|
|
292122
292760
|
let timer2;
|
|
292761
|
+
let abortHandler;
|
|
292123
292762
|
try {
|
|
292124
292763
|
while (true) {
|
|
292764
|
+
if (signal?.aborted) {
|
|
292765
|
+
throw abortError();
|
|
292766
|
+
}
|
|
292767
|
+
const abortPromise = signal ? new Promise((_, reject) => {
|
|
292768
|
+
abortHandler = () => reject(abortError());
|
|
292769
|
+
signal.addEventListener("abort", abortHandler, { once: true });
|
|
292770
|
+
}) : null;
|
|
292125
292771
|
const result = await Promise.race([
|
|
292126
292772
|
reader.read(),
|
|
292127
292773
|
new Promise((_, reject) => {
|
|
292128
292774
|
timer2 = setTimeout(() => reject(new Error("Body read timeout")), timeoutMs);
|
|
292129
|
-
})
|
|
292775
|
+
}),
|
|
292776
|
+
...abortPromise ? [abortPromise] : []
|
|
292130
292777
|
]);
|
|
292131
292778
|
clearTimeout(timer2);
|
|
292779
|
+
if (signal && abortHandler) {
|
|
292780
|
+
signal.removeEventListener("abort", abortHandler);
|
|
292781
|
+
abortHandler = void 0;
|
|
292782
|
+
}
|
|
292132
292783
|
if (result.done) break;
|
|
292133
292784
|
chunks.push(result.value);
|
|
292134
292785
|
}
|
|
@@ -292138,6 +292789,9 @@ async function readBodyWithTimeout(body, timeoutMs = MODEL_BODY_READ_TIMEOUT_MS)
|
|
|
292138
292789
|
throw err;
|
|
292139
292790
|
} finally {
|
|
292140
292791
|
clearTimeout(timer2);
|
|
292792
|
+
if (signal && abortHandler) {
|
|
292793
|
+
signal.removeEventListener("abort", abortHandler);
|
|
292794
|
+
}
|
|
292141
292795
|
reader.releaseLock();
|
|
292142
292796
|
}
|
|
292143
292797
|
return chunks;
|
|
@@ -293218,9 +293872,15 @@ async function proxyPaidApiRequest(req, res, apiBase, payFetch, getActualPayment
|
|
|
293218
293872
|
headers["user-agent"] = USER_AGENT;
|
|
293219
293873
|
console.log(`[ClawRouter] ${requestLabel} request: ${req.method} ${req.url}`);
|
|
293220
293874
|
const clientAbort = new AbortController();
|
|
293221
|
-
|
|
293222
|
-
if (!res.writableEnded
|
|
293223
|
-
|
|
293875
|
+
const onClientDisconnect = () => {
|
|
293876
|
+
if (!res.writableEnded && !clientAbort.signal.aborted) {
|
|
293877
|
+
clientAbort.abort();
|
|
293878
|
+
}
|
|
293879
|
+
};
|
|
293880
|
+
res.on("close", onClientDisconnect);
|
|
293881
|
+
if ((res.destroyed || req.socket?.destroyed) && !res.writableEnded) {
|
|
293882
|
+
onClientDisconnect();
|
|
293883
|
+
}
|
|
293224
293884
|
publishDispatchCost(0);
|
|
293225
293885
|
const upstream = await payFetch(upstreamUrl, {
|
|
293226
293886
|
method: req.method ?? "POST",
|
|
@@ -293262,7 +293922,7 @@ async function proxyPaidApiRequest(req, res, apiBase, payFetch, getActualPayment
|
|
|
293262
293922
|
res.end();
|
|
293263
293923
|
}
|
|
293264
293924
|
} else {
|
|
293265
|
-
const chunks = upstream.body ? await readBodyWithTimeout(upstream.body, ERROR_BODY_READ_TIMEOUT_MS) : [];
|
|
293925
|
+
const chunks = upstream.body ? await readBodyWithTimeout(upstream.body, ERROR_BODY_READ_TIMEOUT_MS, clientAbort.signal) : [];
|
|
293266
293926
|
res.writeHead(upstream.status, responseHeaders);
|
|
293267
293927
|
for (const chunk of chunks) {
|
|
293268
293928
|
safeWrite(res, Buffer.from(chunk));
|
|
@@ -294610,13 +295270,18 @@ async function startProxy(options) {
|
|
|
294610
295270
|
);
|
|
294611
295271
|
} catch (err) {
|
|
294612
295272
|
if (refuseOverCostCap(res, err)) return;
|
|
294613
|
-
const
|
|
294614
|
-
options.onError?.(
|
|
294615
|
-
if (
|
|
295273
|
+
const clientGone = isClientAbortError(err, res);
|
|
295274
|
+
if (!clientGone) options.onError?.(err instanceof Error ? err : new Error(String(err)));
|
|
295275
|
+
if (clientGone) {
|
|
295276
|
+
if (!res.writableEnded) res.destroy();
|
|
295277
|
+
} else if (!res.headersSent) {
|
|
294616
295278
|
res.writeHead(502, { "Content-Type": "application/json" });
|
|
294617
295279
|
res.end(
|
|
294618
295280
|
JSON.stringify({
|
|
294619
|
-
error: {
|
|
295281
|
+
error: {
|
|
295282
|
+
message: `Partner proxy error: ${err instanceof Error ? err.message : String(err)}`,
|
|
295283
|
+
type: "partner_error"
|
|
295284
|
+
}
|
|
294620
295285
|
})
|
|
294621
295286
|
);
|
|
294622
295287
|
} else if (!res.writableEnded) {
|
|
@@ -294645,18 +295310,25 @@ async function startProxy(options) {
|
|
|
294645
295310
|
);
|
|
294646
295311
|
} catch (err) {
|
|
294647
295312
|
if (refuseOverCostCap(res, err)) return;
|
|
294648
|
-
const
|
|
294649
|
-
options.onError?.(
|
|
294650
|
-
if (
|
|
295313
|
+
const clientGone = isClientAbortError(err, res);
|
|
295314
|
+
if (!clientGone) options.onError?.(err instanceof Error ? err : new Error(String(err)));
|
|
295315
|
+
if (clientGone) {
|
|
295316
|
+
if (!res.writableEnded) res.destroy();
|
|
295317
|
+
} else if (!res.headersSent) {
|
|
294651
295318
|
res.writeHead(502, { "Content-Type": "application/json" });
|
|
294652
295319
|
res.end(
|
|
294653
295320
|
JSON.stringify({
|
|
294654
|
-
error: {
|
|
295321
|
+
error: {
|
|
295322
|
+
message: `Account API error: ${err instanceof Error ? err.message : String(err)}`,
|
|
295323
|
+
type: "account_error"
|
|
295324
|
+
}
|
|
294655
295325
|
})
|
|
294656
295326
|
);
|
|
294657
295327
|
} else if (!res.writableEnded) {
|
|
294658
295328
|
res.end();
|
|
294659
295329
|
}
|
|
295330
|
+
} finally {
|
|
295331
|
+
paymentStore.getStore()?.sessionSpend?.release();
|
|
294660
295332
|
}
|
|
294661
295333
|
return;
|
|
294662
295334
|
}
|
|
@@ -296189,6 +296861,7 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
|
|
|
296189
296861
|
} else {
|
|
296190
296862
|
clearInterval(heartbeatInterval);
|
|
296191
296863
|
heartbeatInterval = void 0;
|
|
296864
|
+
onClientClose();
|
|
296192
296865
|
}
|
|
296193
296866
|
}, HEARTBEAT_INTERVAL_MS);
|
|
296194
296867
|
}
|
|
@@ -296218,7 +296891,7 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
|
|
|
296218
296891
|
const timeoutMs = options.requestTimeoutMs ?? DEFAULT_REQUEST_TIMEOUT_MS;
|
|
296219
296892
|
const globalController = new AbortController();
|
|
296220
296893
|
const timeoutId = setTimeout(() => globalController.abort(), timeoutMs);
|
|
296221
|
-
const clientDisconnected = () => res.destroyed && !res.writableEnded;
|
|
296894
|
+
const clientDisconnected = () => (res.destroyed || req.socket?.destroyed === true) && !res.writableEnded;
|
|
296222
296895
|
const abortError = () => clientDisconnected() ? new ClientDisconnectedError() : new Error(`Request timed out after ${timeoutMs}ms`);
|
|
296223
296896
|
const onClientClose = () => {
|
|
296224
296897
|
if (!res.writableEnded && !globalController.signal.aborted) {
|
|
@@ -296227,7 +296900,9 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
|
|
|
296227
296900
|
}
|
|
296228
296901
|
};
|
|
296229
296902
|
res.on("close", onClientClose);
|
|
296230
|
-
if (
|
|
296903
|
+
if (clientDisconnected()) {
|
|
296904
|
+
onClientClose();
|
|
296905
|
+
}
|
|
296231
296906
|
try {
|
|
296232
296907
|
let modelsToTry;
|
|
296233
296908
|
const excludeList = options.excludeModels ?? loadExcludeList();
|
|
@@ -296875,7 +297550,12 @@ data: [DONE]
|
|
|
296875
297550
|
const responseChunks = [];
|
|
296876
297551
|
if (headersSentEarly) {
|
|
296877
297552
|
if (upstream.body) {
|
|
296878
|
-
const chunks = await readBodyWithTimeout(
|
|
297553
|
+
const chunks = await readBodyWithTimeout(
|
|
297554
|
+
upstream.body,
|
|
297555
|
+
MODEL_BODY_READ_TIMEOUT_MS,
|
|
297556
|
+
globalController.signal,
|
|
297557
|
+
abortError
|
|
297558
|
+
);
|
|
296879
297559
|
const jsonBody = Buffer.concat(chunks);
|
|
296880
297560
|
const jsonStr = jsonBody.toString();
|
|
296881
297561
|
try {
|
|
@@ -297006,7 +297686,9 @@ data: [DONE]
|
|
|
297006
297686
|
responseChunks.push(Buffer.from(finishData));
|
|
297007
297687
|
}
|
|
297008
297688
|
}
|
|
297009
|
-
} catch {
|
|
297689
|
+
} catch (err) {
|
|
297690
|
+
if (err instanceof ClientDisconnectedError) throw err;
|
|
297691
|
+
if (globalController.signal.aborted) throw abortError();
|
|
297010
297692
|
const errPayload = JSON.stringify({
|
|
297011
297693
|
error: {
|
|
297012
297694
|
message: `Upstream response could not be parsed: ${jsonStr.slice(0, 200)}`,
|
|
@@ -297094,7 +297776,12 @@ data: [DONE]
|
|
|
297094
297776
|
}
|
|
297095
297777
|
const bodyParts = [];
|
|
297096
297778
|
if (upstream.body) {
|
|
297097
|
-
const chunks = await readBodyWithTimeout(
|
|
297779
|
+
const chunks = await readBodyWithTimeout(
|
|
297780
|
+
upstream.body,
|
|
297781
|
+
MODEL_BODY_READ_TIMEOUT_MS,
|
|
297782
|
+
globalController.signal,
|
|
297783
|
+
abortError
|
|
297784
|
+
);
|
|
297098
297785
|
for (const chunk of chunks) {
|
|
297099
297786
|
bodyParts.push(Buffer.from(chunk));
|
|
297100
297787
|
}
|
|
@@ -298764,7 +299451,7 @@ var AMOY_CONTRACTS = {
|
|
|
298764
299451
|
conditionalTokens: "0x69308FB512518e39F9b16112fA8d994F4e2Bf8bB",
|
|
298765
299452
|
exchangeV2: "0xE111180000d2663C0091e4f400237545B87B996B",
|
|
298766
299453
|
negRiskExchangeV2: "0xe2222d279d744050d28e00520010520000310F59",
|
|
298767
|
-
exchangeV3: "
|
|
299454
|
+
exchangeV3: "0xe3333700cA9d93003F00f0F71f8515005F6c00Aa"
|
|
298768
299455
|
};
|
|
298769
299456
|
var MATIC_CONTRACTS = {
|
|
298770
299457
|
exchange: "0x4bFb41d5B3570DeFd03C39a9A4D8dE6Bd8B8982E",
|
|
@@ -301814,7 +302501,7 @@ import { resolve as resolvePath } from "path";
|
|
|
301814
302501
|
import zlib from "zlib";
|
|
301815
302502
|
|
|
301816
302503
|
// node_modules/axios/lib/env/data.js
|
|
301817
|
-
var VERSION2 = "1.21.
|
|
302504
|
+
var VERSION2 = "1.21.1";
|
|
301818
302505
|
|
|
301819
302506
|
// node_modules/axios/lib/helpers/parseProtocol.js
|
|
301820
302507
|
function parseProtocol(url3) {
|
|
@@ -305315,8 +306002,11 @@ function throwIfCancellationRequested(config2) {
|
|
|
305315
306002
|
throw new CanceledError_default(null, config2);
|
|
305316
306003
|
}
|
|
305317
306004
|
}
|
|
305318
|
-
function
|
|
305319
|
-
return
|
|
306005
|
+
function resolveClock() {
|
|
306006
|
+
return typeof performance !== "undefined" && utils_default.isFunction(performance.now) ? () => performance.now() : Date.now;
|
|
306007
|
+
}
|
|
306008
|
+
function elapsedSince(now2, start) {
|
|
306009
|
+
return Math.max(0, Math.round(now2() - start));
|
|
305320
306010
|
}
|
|
305321
306011
|
function dispatchRequest(_config) {
|
|
305322
306012
|
const config2 = utils_default.toSafeFlatObject(_config);
|
|
@@ -305327,11 +306017,12 @@ function dispatchRequest(_config) {
|
|
|
305327
306017
|
config2.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
305328
306018
|
}
|
|
305329
306019
|
const adapter2 = adapters_default.getAdapter(config2.adapter || defaults_default.adapter, config2);
|
|
305330
|
-
const
|
|
306020
|
+
const now2 = resolveClock();
|
|
306021
|
+
const start = now2();
|
|
305331
306022
|
return adapter2(config2).then(
|
|
305332
306023
|
function onAdapterResolution(response) {
|
|
305333
306024
|
throwIfCancellationRequested(config2);
|
|
305334
|
-
response.duration = elapsedSince(start);
|
|
306025
|
+
response.duration = elapsedSince(now2, start);
|
|
305335
306026
|
config2.response = response;
|
|
305336
306027
|
try {
|
|
305337
306028
|
response.data = transformData.call(config2, config2.transformResponse, response);
|
|
@@ -305345,7 +306036,7 @@ function dispatchRequest(_config) {
|
|
|
305345
306036
|
if (!isCancel(reason)) {
|
|
305346
306037
|
throwIfCancellationRequested(config2);
|
|
305347
306038
|
if (reason && reason.response) {
|
|
305348
|
-
reason.response.duration = elapsedSince(start);
|
|
306039
|
+
reason.response.duration = elapsedSince(now2, start);
|
|
305349
306040
|
config2.response = reason.response;
|
|
305350
306041
|
try {
|
|
305351
306042
|
reason.response.data = transformData.call(
|
|
@@ -311992,6 +312683,6 @@ js-sha3/src/sha3.js:
|
|
|
311992
312683
|
*)
|
|
311993
312684
|
|
|
311994
312685
|
axios/dist/node/axios.cjs:
|
|
311995
|
-
(*! Axios v1.21.
|
|
312686
|
+
(*! Axios v1.21.1 Copyright (c) 2026 Matt Zabriskie and contributors *)
|
|
311996
312687
|
*/
|
|
311997
312688
|
//# sourceMappingURL=index.js.map
|