Skip to content

Releases

@latens/sdk v1.3.0: GPU Price History & Paginated Offers

Choose a tag to compare

@CedricWeber89 CedricWeber89 released this 01 Dec 21:34

Added

  • LatensReadOnlyClient.getPriceHistory({ model, window, interval, category }): queries GET /api/v1/agent/models/history returning genuine recorded min, median, and max USD/GPU/hr time series across 24h, 7d, and 30d windows (15m, 1h, and 1d intervals) with first_recorded_at and coverage_hours (zero backfill or interpolation).
  • Full pagination and sorting on LatensReadOnlyClient.listOffers(): supports offset, limit (up to 100), sort (price_asc default, price_desc, vram_desc), and returns total, count, offset, limit, sort, and next_offset.
  • Synced openapi/openapi.v3.1.json to info.version: 1.3.0, documenting /api/v1/agent/models/history, strict unknown parameter rejection (HTTP 400 with hints), and totalOffers vs filteredOffers.

Verification & Compatibility

  • Rebuilt zero-dependency ESM + .d.ts bundle in dist/ and added publishConfig.access: "public" in package.json ahead of npm publication.
  • Expanded unit test suite (tests/sdk.test.mjs) covering price history queries, pagination params, and existing sizing/TCO/tier tests.
  • Live OpenAPI 3.1 specification: https://latens.trade/api/v1/openapi.json.
  • Ecosystem token $LTNS on Robinhood Chain (4663): 0x6c29b040f7d139c93d22f8d6e29b1528e3ca4bf9.

@latens/sdk v1.2.0: LLM VRAM Sizing & Multi-Offer TCO Ranker

Choose a tag to compare

@CedricWeber89 CedricWeber89 released this 01 Dec 09:00

Added

  • estimateLlmVramRequirements (src/sizing.ts): deterministic VRAM breakdown covering parameter weights (fp32, fp16, bf16, fp8, int8, q8_0, q4_k_m, int4), GQA-aware KV cache scaling, LoRA and full fine-tuning optimizer/gradient/activation overhead, runtime headroom, and compatible multi-GPU layouts (RTX 3090, RTX 4090, L40S, A100 SXM, H100 SXM, H200, B200).
  • rankOffersByTco (src/sizing.ts): filters unavailable or catalog-only listings, evaluates full rental TCO (compute + persistent storage amortization + outbound egress), applies $LTNS Private Compute Desk fee tiers and settlement rebates, and computes savings spread across providers.
  • LatensReadOnlyClient.compareLiveOffersForWorkload (src/client.ts): end-to-end workload sizing paired with live normalized GPU offer TCO ranking.

Verification & Compatibility

  • Prebuilt ESM + .d.ts bundle in dist/ updated for zero-dependency direct GitHub installs (npm install github:LatensRbh/latens-sdk).
  • Expanded unit test suite (tests/sdk.test.mjs) covering hardware normalization, deterministic cost breakdowns, $LTNS tier resolution, LLM VRAM estimation, and multi-offer TCO ranking.
  • Live OpenAPI 3.1 specification synced at https://latens.trade/api/v1/openapi.json.
  • Ecosystem token $LTNS on Robinhood Chain (4663): 0x6c29b040f7d139c93d22f8d6e29b1528e3ca4bf9.