exostream

EICS

Inference Cost Swaps

Lock your inference costs for 1, 3, or 6 months. A fixed-for-floating swap settled against the EICI.

How it works

1. You have exposure

You run 10M tokens/month of coding workloads. The EICI says $8.34/M today. Your monthly inference bill fluctuates with provider pricing changes.

2. You enter a swap

Lock in $8.34/M fixed for 3 months. Your counterparty takes the other side. The EICI is the floating reference rate — like SOFR for interest rates, but for inference.

3. Cash settlement

At expiry, if EICI rose to $11/M, your counterparty pays you the difference. If it fell to $6/M, you pay. Either way, your effective cost was locked at $8.34.

Settlement

PnL = (Floating - Fixed) × Notional / 1,000,000

Prices rose (fixed payer profits)

Fixed: $8.34 · Floating: $11.00 · Notional: 10M

PnL = ($11.00 - $8.34) × 10 = +$26.60

Prices fell (fixed payer loses)

Fixed: $8.34 · Floating: $6.00 · Notional: 10M

PnL = ($6.00 - $8.34) × 10 = -$23.40

Price a swap

POST https://api.exostream.ai/v1/swap
{
  "taskType": "coding",
  "tenor": "3M",
  "notionalTokens": 10000000,
  "priceType": "sync"
}

// Response
{
  "fairFixedRate": 7.312,       // $/M tokens — your locked rate
  "greeks": {
    "delta": 0.94,              // price sensitivity
    "vega": 12.8,               // volatility sensitivity
    "theta_greek": -0.28        // daily time decay
  },
  "notionalUsd": 73.12,
  "tenorMonths": 3
}

Reference Implementations

Template contracts for on-chain settlement, SDKs, and legal frameworks.

Select a format to view the reference implementation.