@ai-sdk/gateway
4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/gateway From 4.0.135 to 4.0.136
1 release in betweenevery note read
Release by release
- New
Add opt-in streaming decoding of large generated images to reduce peak memory.
- New
Add marketCost, surchargeCost, and gatewayCost fields to getGenerationInfo() results, surfacing the corresponding fields from the AI Gateway generation lookup API.
- Fixed
Preserve optional normalized word timings returned by transcription responses and warn when shared timestampGranularities requests are not forwarded by the gateway adapter.
- Fixed
Accept explicit uploaded-video outcomes in video generation and status responses.
- Fixed
Pass through
seed: 0instead of dropping it in image and video models. KlingAI now reportsseed: 0as an unsupported setting like any other seed. - Fixed
Feat (provider/gateway): implement server-side realtime connection descriptors
- New
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.