Docs · Model reference

rsu

Verified · spec v1.1.0

Inputs

FieldTypeValid domain
sharesVestingfloat100 – 10,000
sharePricefloat5 – 1,000
annualSalaryfloat50,000 – 600,000
filingStatuschoicesingle | married
stateTaxRatefloat0 – 0.133
holdingPeriodYearsint1 – 10
diversifyPctfloat0 – 1
stockGrowthRatefloat-0.1 – 0.15

All fields required. Out-of-domain values are rejected with per-field errors — never clamped. Unknown fields are rejected.

Live example — generated from the real engine

Request
POST /api/v1/models/rsu
{
  "sharesVesting": 5100,
  "sharePrice": 503,
  "annualSalary": 325000,
  "filingStatus": "single",
  "stateTaxRate": 0.07,
  "holdingPeriodYears": 6,
  "diversifyPct": 0.5,
  "stockGrowthRate": 0.02
}
Response (chart arrays compacted)
{
  "ok": true,
  "model": "rsu",
  "specVersion": "1.1.0",
  "contractUrl": "/api/v1/models/rsu",
  "specUrl": "/api/v1/models/rsu/spec",
  "inputs": {
    "sharesVesting": 5100,
    "sharePrice": 503,
    "annualSalary": 325000,
    "filingStatus": "single",
    "stateTaxRate": 0.07,
    "holdingPeriodYears": 6,
    "diversifyPct": 0.5,
    "stockGrowthRate": 0.02
  },
  "outputs": {
    "totalNetProceeds": 4568894.35793115,
    "totalTaxPaid": 3522216.995517332,
    "yearlyBreakdown": [
      {
        "year": 1,
        "grossProceeds": 1282650,
        "federalTax": 468268.5,
        "stateTax": 89785.50000000001,
        "netProceeds": 724596
      },
      {
        "year": 2,
        "grossProceeds": 1308303.0000000002,
        "federalTax": 477760.1100000001,
        "stateTax": 91581.21000000002,
        "netProceeds": 738961.6800000002
      },
      "… 4 more"
    ]
  },
  "sentinels": [],
  "assumptions": [
    "Implements model spec rsu v1.1.0 (dual-implementation verified)."
  ],
  "facts": [
    {
      "id": "irs.brackets.single.top-of-10pct.2026",
      "label": "Top of 10% ordinary bracket, single (vintage marker for the TY2026 table)",
      "value": 12400,
      "period": "TY2026",
      "source": "IRS TY2026 inflation adjustments (Rev. Proc. 2025-32)"
    },
    {
      "id": "irs.brackets.mfj.top-of-10pct.2026",
      "label": "Top of 10% ordinary bracket, MFJ (vintage marker for the TY2026 table)",
      "value": 24800,
      "period": "TY2026",
      "source": "IRS TY2026 inflation adjustments (Rev. Proc. 2025-32)"
    }
  ],
  "record": {
    "sha256": "b6ec8a98e24fe634c311416ddf311fd6723311d3ee88e3f172b584c1a865338e",
    "fields": [
      "model",
      "specVersion",
      "inputs",
      "outputs"
    ],
    "howToVerify": "Store this record with any advice or agent output built on these numbers. To verify later: build {model, specVersion, inputs, outputs} from the stored response, serialize as JSON with object keys sorted recursively (no whitespace), and SHA-256 it — a match proves the numbers came from this spec version with these inputs, unaltered."
  },
  "disclaimer": "Illustrative planning model, not financial advice. Outputs follow the published model spec exactly; read the spec for assumptions and exclusions before relying on any number."
}

This example is executed against the production engine when the page builds — it cannot drift from the API's real behavior.