528 models found. Pick one and click “View prices”.

497 sites · 893 prices

How to read these prices

Input, output and cache prices and terms for each plan stay together, in each site’s own units; prices in different units can’t be compared directly.

893 prices: 785 recent, 8 with an unconfirmed collection time, 100 older or not yet verified.

Counted as of ; whether a price counts as recent depends on its own collection time.

Viewing a name used on sites

Back to all providers

1 providers and 2 prices found · 2 on this page

allrouter.ai

Ask a question or add information

2 prices · 2 on this page

2 recent, 0 with an unconfirmed collection time, 0 older or not yet verified.

default· Public API

deepseek-v4-flash

Units for each item are in the full pricing rule · Collected:

Price depends on conditions · expand to see every case and condition

All prices, conditions and raw data

deepseek-v4-flash

allrouter.ai · Price published through the provider’s API

Plan / group: declared-group:default · default

Recently collected price · not real-time

Collected: · API data cached until: · Treated as current until (not including):

This is the price the provider publishes. Whether you can buy at this price, whose model is really behind it and how good the service is are not verified.

Pricing unit: Units for each item are in the full pricing rule

The price is calculated from the full rule and conditions below.

Input
Not stated or not read
Output
Not stated or not read
Per request
Not stated or not read
Cache read
Not stated or not read
Cache write
Not stated or not read
Full pricing rule (every case, unit and condition)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "1.32",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.015",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.44",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "0.66",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.015",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.22",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "10"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "UTC"
            }
          ],
          "function": "weekday",
          "type": "call"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "5"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.22"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.66"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.015"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.44"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.32"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.015"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      },
      {
        "argument": "UTC",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "6dd9d1fe8a089e5e907faa15ea2157139560fbe1dda9f56ec6ec5d5799dbb9a4",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d6e4f34dbd8e5eca629b50f639f51298b33b1c712121509d540251236027ae10",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
All conditions the provider states
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "默认分组",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "default",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Data used to check whether it is out of date
{
  "cacheFreshUntil": "2026-10-17T07:15:10.483000Z",
  "firstObservedAt": "2026-10-10T07:15:12.154Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-10T07:15:12.154Z",
  "snapshotId": "ea4ab6a6e101da5d6942f52768589c67e8d4c50ff3b5ab535902db99fb5454a0",
  "sourceId": "allrouter.ai",
  "transactionId": "f478a46ec7fc1e5e32c0f7937362918ca5790cd50a34e0cbdabb4b481f9ae375"
}
Full raw record for this price
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "2de2602e4e8dd091f448776399342fccd828bff71db4478070647e91b9efee9b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "默认分组",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "default",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "default",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-17T07:15:10.483000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-10T07:15:12.154Z",
  "offerKey": "d7d1908a2f13ef746928c1d2cdf8b39ab307b47ff5f57f296a80c221d187b6fd",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:default",
  "pricePairSourceRowId": "9f57dfc6bde65a2a79bc8dd43e9dd5e785d307d234f96cb7051806450928b6a7",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "1.32",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.015",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.44",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "4"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "6"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "10"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "0.66",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.015",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.22",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "4"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "6"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "10"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "10"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.22"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.66"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.015"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.44"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.32"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.015"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        },
        {
          "argument": "UTC",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "6dd9d1fe8a089e5e907faa15ea2157139560fbe1dda9f56ec6ec5d5799dbb9a4",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d6e4f34dbd8e5eca629b50f639f51298b33b1c712121509d540251236027ae10",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "b00b1d1f91aafea1bb607300cf34159d790e87ad6c4f2c29faac86ec1168e4f5",
  "quoteOrdinal": 16,
  "semanticFlags": [],
  "snapshotId": "ea4ab6a6e101da5d6942f52768589c67e8d4c50ff3b5ab535902db99fb5454a0",
  "sourceDomain": "allrouter.ai",
  "sourceId": "allrouter.ai",
  "sourceRowId": "9f57dfc6bde65a2a79bc8dd43e9dd5e785d307d234f96cb7051806450928b6a7",
  "transactionId": "f478a46ec7fc1e5e32c0f7937362918ca5790cd50a34e0cbdabb4b481f9ae375",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}

Claude Code· Public API

deepseek-v4-flash

Units for each item are in the full pricing rule · Collected:

Price depends on conditions · expand to see every case and condition

All prices, conditions and raw data

deepseek-v4-flash

allrouter.ai · Price published through the provider’s API

Plan / group: declared-group:Claude Code · Claude Code

Recently collected price · not real-time

Collected: · API data cached until: · Treated as current until (not including):

This is the price the provider publishes. Whether you can buy at this price, whose model is really behind it and how good the service is are not verified.

Pricing unit: Units for each item are in the full pricing rule

The price is calculated from the full rule and conditions below.

Input
Not stated or not read
Output
Not stated or not read
Per request
Not stated or not read
Cache read
Not stated or not read
Cache write
Not stated or not read
Full pricing rule (every case, unit and condition)
{
  "branches": [
    {
      "components": [
        {
          "coefficient": "1.32",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.015",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.44",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": true
        }
      ],
      "perRequestPrice": null,
      "tierName": "peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    },
    {
      "components": [
        {
          "coefficient": "0.66",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "OUTPUT_BASE",
          "usageVariable": "c"
        },
        {
          "coefficient": "0.015",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "CACHE_READ",
          "usageVariable": "cr"
        },
        {
          "coefficient": "0.22",
          "unit": "DECLARED_USD_PER_MILLION_TOKENS",
          "usageKind": "INPUT_BASE",
          "usageVariable": "p"
        }
      ],
      "pathConditions": [
        {
          "conditionAST": {
            "left": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "1"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "4"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "||",
                "right": {
                  "left": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": ">=",
                    "right": {
                      "type": "number",
                      "value": "6"
                    },
                    "type": "binary"
                  },
                  "operator": "&&",
                  "right": {
                    "left": {
                      "arguments": [
                        {
                          "type": "string",
                          "value": "UTC"
                        }
                      ],
                      "function": "hour",
                      "type": "call"
                    },
                    "operator": "<",
                    "right": {
                      "type": "number",
                      "value": "10"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "weekday",
                "type": "call"
              },
              "operator": "<=",
              "right": {
                "type": "number",
                "value": "5"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "matches": false
        }
      ],
      "perRequestPrice": null,
      "tierName": "off_peak",
      "unit": "DECLARED_USD_PER_MILLION_TOKENS"
    }
  ],
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "conditionAST": {
    "condition": {
      "left": {
        "left": {
          "left": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "1"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "4"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "||",
          "right": {
            "left": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": ">=",
              "right": {
                "type": "number",
                "value": "6"
              },
              "type": "binary"
            },
            "operator": "&&",
            "right": {
              "left": {
                "arguments": [
                  {
                    "type": "string",
                    "value": "UTC"
                  }
                ],
                "function": "hour",
                "type": "call"
              },
              "operator": "<",
              "right": {
                "type": "number",
                "value": "10"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": ">=",
          "right": {
            "type": "number",
            "value": "1"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "operator": "&&",
      "right": {
        "left": {
          "arguments": [
            {
              "type": "string",
              "value": "UTC"
            }
          ],
          "function": "weekday",
          "type": "call"
        },
        "operator": "<=",
        "right": {
          "type": "number",
          "value": "5"
        },
        "type": "binary"
      },
      "type": "binary"
    },
    "type": "conditional",
    "whenFalse": {
      "arguments": [
        {
          "type": "string",
          "value": "off_peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.22"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.66"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.015"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    },
    "whenTrue": {
      "arguments": [
        {
          "type": "string",
          "value": "peak"
        },
        {
          "left": {
            "left": {
              "left": {
                "name": "p",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.44"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "c",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "1.32"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "+",
          "right": {
            "left": {
              "name": "cr",
              "type": "variable"
            },
            "operator": "*",
            "right": {
              "type": "number",
              "value": "0.015"
            },
            "type": "binary"
          },
          "type": "binary"
        }
      ],
      "function": "tier",
      "type": "call"
    }
  },
  "dependencies": {
    "requestContext": [
      {
        "argument": "UTC",
        "function": "hour"
      },
      {
        "argument": "UTC",
        "function": "weekday"
      }
    ],
    "taskUsageSchema": null,
    "usageVariables": [
      "c",
      "cr",
      "p"
    ]
  },
  "evidenceRefs": [
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
    "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
  ],
  "expressionVersion": "v1",
  "groupRatio": "1",
  "groupRatioApplied": false,
  "humanExtractionReview": "NOT_PERFORMED",
  "kind": "CONDITIONAL_EXPRESSION",
  "limitations": [
    "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
    "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
    "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
    "GROUP_RATIO_NOT_APPLIED",
    "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
    "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
    "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
  ],
  "normalization": {
    "contextLength": "len is full input context, before subclass exclusion",
    "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
    "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
    "profile": "NEW_API_BILLINGEXPR_V1",
    "referencedVariablesAreExpressionWide": true,
    "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
  },
  "parserVersion": "grandet.new-api-expression-projection/1.1.0",
  "ruleContentSha256": "6dd9d1fe8a089e5e907faa15ea2157139560fbe1dda9f56ec6ec5d5799dbb9a4",
  "schema": "grandet.public-pricing-rule/v1",
  "sourceExpressionSha256": "d6e4f34dbd8e5eca629b50f639f51298b33b1c712121509d540251236027ae10",
  "status": "SUPPORTED_PUBLIC_DECLARATION",
  "units": [
    "DECLARED_USD_PER_MILLION_TOKENS"
  ]
}
All conditions the provider states
{
  "balanceExpiry": {
    "status": "UNKNOWN"
  },
  "bonusWallet": {
    "status": "UNKNOWN"
  },
  "declaredEndpointTypes": [
    "openai"
  ],
  "declaredGroupDescription": "Claude Code专用",
  "declaredGroupRatio": 1,
  "eligibility": {
    "declaredGroup": "Claude Code",
    "status": "UNKNOWN"
  },
  "membership": {
    "status": "UNKNOWN"
  },
  "minimumTopup": {
    "status": "UNKNOWN"
  },
  "mixedWallet": {
    "status": "UNKNOWN"
  },
  "nightDiscount": {
    "status": "UNKNOWN"
  },
  "rateWindows": {
    "status": "UNKNOWN"
  },
  "requiredFees": {
    "status": "UNKNOWN"
  },
  "sharedAllowance": {
    "status": "UNKNOWN"
  },
  "sourceEffectiveAt": {
    "status": "UNKNOWN"
  },
  "tieredRates": {
    "status": "UNKNOWN"
  },
  "topupBonus": {
    "status": "UNKNOWN"
  }
}
Data used to check whether it is out of date
{
  "cacheFreshUntil": "2026-10-17T07:15:10.483000Z",
  "firstObservedAt": "2026-10-10T07:15:12.154Z",
  "maximumQuoteAgeDays": 7,
  "observedAt": "2026-10-10T07:15:12.154Z",
  "snapshotId": "ea4ab6a6e101da5d6942f52768589c67e8d4c50ff3b5ab535902db99fb5454a0",
  "sourceId": "allrouter.ai",
  "transactionId": "f478a46ec7fc1e5e32c0f7937362918ca5790cd50a34e0cbdabb4b481f9ae375"
}
Full raw record for this price
{
  "accountEligibility": "UNVERIFIED",
  "analysisDoesNotRenewObservation": true,
  "attemptId": "2de2602e4e8dd091f448776399342fccd828bff71db4478070647e91b9efee9b",
  "cacheReadPrice": null,
  "cacheWritePrice": null,
  "captureParserVersion": "grandet.new-api-public-pricing/1.7.0",
  "cashQualification": "NOT_EVALUATED",
  "cashQualified": false,
  "classification": "STRUCTURED_PRICING_RULE",
  "conditions": {
    "balanceExpiry": {
      "status": "UNKNOWN"
    },
    "bonusWallet": {
      "status": "UNKNOWN"
    },
    "declaredEndpointTypes": [
      "openai"
    ],
    "declaredGroupDescription": "Claude Code专用",
    "declaredGroupRatio": 1,
    "eligibility": {
      "declaredGroup": "Claude Code",
      "status": "UNKNOWN"
    },
    "membership": {
      "status": "UNKNOWN"
    },
    "minimumTopup": {
      "status": "UNKNOWN"
    },
    "mixedWallet": {
      "status": "UNKNOWN"
    },
    "nightDiscount": {
      "status": "UNKNOWN"
    },
    "rateWindows": {
      "status": "UNKNOWN"
    },
    "requiredFees": {
      "status": "UNKNOWN"
    },
    "sharedAllowance": {
      "status": "UNKNOWN"
    },
    "sourceEffectiveAt": {
      "status": "UNKNOWN"
    },
    "tieredRates": {
      "status": "UNKNOWN"
    },
    "topupBonus": {
      "status": "UNKNOWN"
    }
  },
  "declaredGroup": "Claude Code",
  "formulaAssurance": "DECLARED_BILLING_EXPRESSION_IMPLEMENTATION_UNVERIFIED",
  "formulaProjectionBlockers": [],
  "freshUntil": "2026-10-17T07:15:10.483000Z",
  "groupOfferingFlags": [],
  "humanExtractionReview": "NOT_PERFORMED",
  "inputPrice": null,
  "modelName": "deepseek-v4-flash",
  "multimodalPricing": null,
  "observedAt": "2026-10-10T07:15:12.154Z",
  "offerKey": "58c2ebd34497cc84d21a25bd84e6c447b273ec1619249c152cf3c71323087a03",
  "outputPrice": null,
  "parseRevisionId": null,
  "parsedPricingDeclarations": null,
  "parserFamily": "NEW_API_PUBLIC_PRICING",
  "parserVersion": "grandet.new-api-public-pricing/1.7.0",
  "partialPriceComponents": null,
  "perRequestPrice": null,
  "planId": "declared-group:Claude Code",
  "pricePairSourceRowId": "9f57dfc6bde65a2a79bc8dd43e9dd5e785d307d234f96cb7051806450928b6a7",
  "pricingAdapterEvidence": [
    {
      "kind": "PUBLIC_PRIMARY_VENDOR_SCHEMA",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/model/pricing.go"
    },
    {
      "kind": "PUBLIC_PRIMARY_USABLE_GROUP_FILTER",
      "url": "https://raw.githubusercontent.com/QuantumNous/new-api/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/controller/pricing.go"
    }
  ],
  "pricingResolution": "STRUCTURED_RULE",
  "pricingRule": {
    "branches": [
      {
        "components": [
          {
            "coefficient": "1.32",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.015",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.44",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "4"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "6"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "10"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": true
          }
        ],
        "perRequestPrice": null,
        "tierName": "peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      },
      {
        "components": [
          {
            "coefficient": "0.66",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "OUTPUT_BASE",
            "usageVariable": "c"
          },
          {
            "coefficient": "0.015",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "CACHE_READ",
            "usageVariable": "cr"
          },
          {
            "coefficient": "0.22",
            "unit": "DECLARED_USD_PER_MILLION_TOKENS",
            "usageKind": "INPUT_BASE",
            "usageVariable": "p"
          }
        ],
        "pathConditions": [
          {
            "conditionAST": {
              "left": {
                "left": {
                  "left": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "1"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "4"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "operator": "||",
                  "right": {
                    "left": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": ">=",
                      "right": {
                        "type": "number",
                        "value": "6"
                      },
                      "type": "binary"
                    },
                    "operator": "&&",
                    "right": {
                      "left": {
                        "arguments": [
                          {
                            "type": "string",
                            "value": "UTC"
                          }
                        ],
                        "function": "hour",
                        "type": "call"
                      },
                      "operator": "<",
                      "right": {
                        "type": "number",
                        "value": "10"
                      },
                      "type": "binary"
                    },
                    "type": "binary"
                  },
                  "type": "binary"
                },
                "operator": "&&",
                "right": {
                  "left": {
                    "arguments": [
                      {
                        "type": "string",
                        "value": "UTC"
                      }
                    ],
                    "function": "weekday",
                    "type": "call"
                  },
                  "operator": ">=",
                  "right": {
                    "type": "number",
                    "value": "1"
                  },
                  "type": "binary"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "weekday",
                  "type": "call"
                },
                "operator": "<=",
                "right": {
                  "type": "number",
                  "value": "5"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "matches": false
          }
        ],
        "perRequestPrice": null,
        "tierName": "off_peak",
        "unit": "DECLARED_USD_PER_MILLION_TOKENS"
      }
    ],
    "cashQualification": "NOT_EVALUATED",
    "cashQualified": false,
    "conditionAST": {
      "condition": {
        "left": {
          "left": {
            "left": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "1"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "4"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "||",
            "right": {
              "left": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": ">=",
                "right": {
                  "type": "number",
                  "value": "6"
                },
                "type": "binary"
              },
              "operator": "&&",
              "right": {
                "left": {
                  "arguments": [
                    {
                      "type": "string",
                      "value": "UTC"
                    }
                  ],
                  "function": "hour",
                  "type": "call"
                },
                "operator": "<",
                "right": {
                  "type": "number",
                  "value": "10"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "type": "binary"
          },
          "operator": "&&",
          "right": {
            "left": {
              "arguments": [
                {
                  "type": "string",
                  "value": "UTC"
                }
              ],
              "function": "weekday",
              "type": "call"
            },
            "operator": ">=",
            "right": {
              "type": "number",
              "value": "1"
            },
            "type": "binary"
          },
          "type": "binary"
        },
        "operator": "&&",
        "right": {
          "left": {
            "arguments": [
              {
                "type": "string",
                "value": "UTC"
              }
            ],
            "function": "weekday",
            "type": "call"
          },
          "operator": "<=",
          "right": {
            "type": "number",
            "value": "5"
          },
          "type": "binary"
        },
        "type": "binary"
      },
      "type": "conditional",
      "whenFalse": {
        "arguments": [
          {
            "type": "string",
            "value": "off_peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.22"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.66"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.015"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      },
      "whenTrue": {
        "arguments": [
          {
            "type": "string",
            "value": "peak"
          },
          {
            "left": {
              "left": {
                "left": {
                  "name": "p",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "0.44"
                },
                "type": "binary"
              },
              "operator": "+",
              "right": {
                "left": {
                  "name": "c",
                  "type": "variable"
                },
                "operator": "*",
                "right": {
                  "type": "number",
                  "value": "1.32"
                },
                "type": "binary"
              },
              "type": "binary"
            },
            "operator": "+",
            "right": {
              "left": {
                "name": "cr",
                "type": "variable"
              },
              "operator": "*",
              "right": {
                "type": "number",
                "value": "0.015"
              },
              "type": "binary"
            },
            "type": "binary"
          }
        ],
        "function": "tier",
        "type": "call"
      }
    },
    "dependencies": {
      "requestContext": [
        {
          "argument": "UTC",
          "function": "hour"
        },
        {
          "argument": "UTC",
          "function": "weekday"
        }
      ],
      "taskUsageSchema": null,
      "usageVariables": [
        "c",
        "cr",
        "p"
      ]
    },
    "evidenceRefs": [
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/expr.md",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/settle.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/run.go",
      "https://github.com/QuantumNous/new-api/blob/1a4166d8e8ba9802d2ca56fe8ecf0ed5404e80d5/pkg/billingexpr/fixed.go"
    ],
    "expressionVersion": "v1",
    "groupRatio": "1",
    "groupRatioApplied": false,
    "humanExtractionReview": "NOT_PERFORMED",
    "kind": "CONDITIONAL_EXPRESSION",
    "limitations": [
      "DECLARED_USD_COEFFICIENTS_NOT_RECHARGE_CASH_PROOF",
      "PROVIDER_DEPLOYMENT_SEMANTICS_UNVERIFIED",
      "TOKEN_USAGE_NORMALIZATION_REQUIRES_UPSTREAM_USAGE_SHAPE",
      "GROUP_RATIO_NOT_APPLIED",
      "TOOL_SURCHARGES_AND_EXTERNAL_REQUEST_MULTIPLIERS_NOT_ESTABLISHED",
      "OTHER_PRICING_FIELDS_REQUIRE_SEPARATE_REVIEW",
      "CONDITIONS_RETAINED_NOT_EVALUATED_WITH_REQUEST_OR_PROVIDER_CLOCK"
    ],
    "normalization": {
      "contextLength": "len is full input context, before subclass exclusion",
      "inputBase": "p excludes separately referenced input subclasses; omitted subclasses follow its base rate",
      "outputBase": "c excludes separately referenced output subclasses; omitted subclasses follow its base rate",
      "profile": "NEW_API_BILLINGEXPR_V1",
      "referencedVariablesAreExpressionWide": true,
      "upstreamUsageConvention": "Normalization depends on OpenAI or Claude usage shape; img_cr requires valid modality details"
    },
    "parserVersion": "grandet.new-api-expression-projection/1.1.0",
    "ruleContentSha256": "6dd9d1fe8a089e5e907faa15ea2157139560fbe1dda9f56ec6ec5d5799dbb9a4",
    "schema": "grandet.public-pricing-rule/v1",
    "sourceExpressionSha256": "d6e4f34dbd8e5eca629b50f639f51298b33b1c712121509d540251236027ae10",
    "status": "SUPPORTED_PUBLIC_DECLARATION",
    "units": [
      "DECLARED_USD_PER_MILLION_TOKENS"
    ]
  },
  "publicOfferingStatus": "DECLARED_IN_PUBLIC_GROUP",
  "quoteId": "66d886dd51604270813742e2a2d40ee5d4878c111112676e7d05d4fb31c45d78",
  "quoteOrdinal": 17,
  "semanticFlags": [],
  "snapshotId": "ea4ab6a6e101da5d6942f52768589c67e8d4c50ff3b5ab535902db99fb5454a0",
  "sourceDomain": "allrouter.ai",
  "sourceId": "allrouter.ai",
  "sourceRowId": "9f57dfc6bde65a2a79bc8dd43e9dd5e785d307d234f96cb7051806450928b6a7",
  "transactionId": "f478a46ec7fc1e5e32c0f7937362918ca5790cd50a34e0cbdabb4b481f9ae375",
  "unit": "STRUCTURED_DECLARED_PRICING_RULE"
}
Download full data

deepseek-v4-flash

How this name was classified
{
  "id": "f61ff5cf8e1cc88da694",
  "matches": [
    {
      "declaredName": "deepseek-v4-flash",
      "evidence": {
        "canonicalId": "deepseek/deepseek-v4-flash",
        "claimId": "f61ff5cf8e1cc88da694",
        "confidence": "DOCUMENTED_IDENTIFIER",
        "declaredName": "deepseek-v4-flash",
        "evidenceIds": [
          "deepseek-models",
          "hf-deepseek"
        ],
        "evidenceUrl": "https://api-docs.deepseek.com/quick_start/pricing",
        "qualifiers": [],
        "qualityVerification": "NOT_MEASURED",
        "relationship": "EXACT_OFFICIAL_IDENTIFIER",
        "status": "OFFICIAL_ID",
        "upstreamVerification": "NOT_TESTED",
        "validity": {
          "appliesTo": "NAME_DECLARATION_ONLY",
          "checkedAt": "2026-10-02",
          "configurationSupport": "NOT_VERIFIED",
          "historicalBackendConfirmed": false
        }
      }
    }
  ],
  "name": "deepseek-v4-flash",
  "officialId": null
}