Packages

@ai-sdk/gateway

4.0.121 · 21 Oct 2026Apache-2.017.5M / weekRepositoryHomepagenpmAtom feed

541 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 4.0.121

    21 Oct 2026
    • f1b550e: Defer construction of provider validation schemas until first use to reduce package import time.

  2. 4.0.120

    20 Oct 2026
    • 9bec2c3: chore(provider/gateway): update gateway model settings files

  3. 4.0.119

    20 Oct 2026
    • 9d13c4d: Add the MiniMax M3.1 Flash model ID to the MiniMax and AI Gateway providers.

    • 0c2a9de: Add maxOutputTokens and reasoning to experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported.

  4. 4.0.118

    19 Oct 2026
    • 1c47fee: chore(provider/gateway): update gateway model settings files

  5. 4.0.117

    19 Oct 2026
    • 6b7fb8f: chore(provider/gateway): update gateway model settings files

  6. 4.0.115

    15 Oct 2026
    • 5bdb816: chore(provider/gateway): update gateway model settings files

  7. 4.0.114

    15 Oct 2026
    • b658e85: chore(provider/gateway): update gateway model settings files

  8. 4.0.113

    14 Oct 2026
    • 42a2895: chore(provider/gateway): update gateway model settings files

  9. 4.0.111 – 4.0.1122 releases that only update dependencies@ai-sdk/provider-utils 5.0.59@ai-sdk/provider 4.0.27Show each
  10. 4.0.110

    9 Oct 2026
    • e280aa1: feat(gateway): send image files in decision state

  11. 4.0.109

    8 Oct 2026
    • 5cf13d2: feat: map the top level embedding dimensions to provider settings

    • 908fd12: chore(provider/gateway): update gateway model settings files

  12. 4.0.108

    8 Oct 2026
    • 9184a35: Add ordered text, file, and JSON parts to experimental decision state. Support image input in OpenAI Decisions and language model adapters. Gateway retains its existing string and JSON request format and rejects files, as does TypeSafe AI.

      Arrays passed directly as state now contain decision state parts. Wrap JSON arrays in an object or a json part.

      Normalize all public state forms into an array of parts before calling decision providers. Providers receive text and JSON objects as text and json parts.

      Serialize decision file bytes as base64 in OpenTelemetry state attributes. Model-call spans record normalized state parts, while outer spans retain public state inputs.

      Preserve native JSON state in TypeSafe AI when state contains one JSON part. Label shared state in language-model decision prompts.

  13. 4.0.107

    7 Oct 2026
    • 866e884: feat(anthropic): add Claude Haiku 5.5 support

    • 04fdf5e: chore(provider/gateway): update gateway model settings files

  14. 4.0.106

    7 Oct 2026
    • d3bcad9: feat(provider): report decision refusals as refusal answers

  15. 4.0.105

    6 Oct 2026
    • fc1e19e: fix: limit jsonl rows to 64mb during batch result downloads

    • 753f2e1: feat(google): add the 'gemini-nano-banana-2.1' model ID

    • ad64697: chore(provider/gateway): update gateway model settings files

  16. 4.0.104

    5 Oct 2026
    • 131532b: chore(provider/gateway): update gateway model settings files

    • 2959d35: feat: rename evaluate to decide

    • 6ac923a: chore(provider/gateway): update gateway model settings files

  17. 4.0.103

    1 Oct 2026
    • d1bb9e8: chore(provider/gateway): update gateway model settings files

  18. 4.0.102

    30 Sep 2026
    • 8c65988: feat(ai): add telemetry to speech generation and transcription, including provider usage propagation and experimental streaming lifecycle callbacks

    • e25994e: fix(gateway): scope getCredits() to teamIdOrSlug

      The credits endpoint reads the team from the teamId / slug query parameter rather than the x-vercel-ai-gateway-team header. getCredits() now forwards the configured team as a query parameter, so credentials that can access multiple teams (such as Vercel access tokens) are no longer rejected with an authentication error.

    • e74afc5: chore(provider/gateway): update gateway model settings files

  19. 4.0.101

    30 Sep 2026
    • 040033b: feat(openai): add GPT-6.1 Sol model support

    • ede5b89: chore: migrate package builds from tsup to tsdown

  20. 4.0.100

    28 Sep 2026
    • 870f509: chore(provider/gateway): update gateway model settings files

    • a75f1fd: chore(provider/gateway): update gateway model settings files

  21. 4.0.98

    28 Sep 2026
    • e361d39: feat(anthropic): add Claude Sonnet 5.5 support

  22. 4.0.96

    27 Sep 2026
    • e6a7996: fix(provider/gateway): accept any non-empty conditional evaluation fallback model

    • e19f0fc: fix(provider/gateway): accept conditional evaluation fallbacks in GatewayProviderOptions

  23. 4.0.95

    27 Sep 2026
    • b67b1b7: feat(provider/gateway): type conditional evaluation fallbacks

  24. 4.0.94

    25 Sep 2026

    Only updates a dependency:@ai-sdk/provider-utils 5.0.49

  25. 4.0.92

    24 Sep 2026
    • 124b6ef: chore(provider/gateway): update gateway model settings files

  26. 4.0.91

    23 Sep 2026
    • 2693319: Add Gemini 3.8 TTS support with structured speech metadata and per-turn speaker and style controls for prebuilt voices. Preserve native WAV responses without adding a second header, support explicit raw PCM, mu-law, and A-law output, and identify headerless audio formats correctly. Add the Gemini 3.8 speech model IDs to Google and Gateway types.

      Share transcript and custom-voice inspection through the Google provider internal export, and reject empty speech transcripts before sending a request. Default newer and custom model IDs to structured speech while preserving the legacy format for Gemini 2.5 and 3.1.

    • b73f2f9: feat(provider/gateway): add quantization conditions to the has provider option

  27. 4.0.90

    23 Sep 2026
    • ed5a1d7: chore(provider/gateway): update gateway model settings files

    • 618dc11: feat: GPT-6 Sol and Luna model IDs

  28. 4.0.89

    22 Sep 2026
    • 49295bb: feat(anthropic): add Claude Opus 5.5 support

  29. 4.0.88

    21 Sep 2026
    • 20dd00a: feat(provider/gateway): support reasoning and tool-use in has model filtering

    • 7cf7cee: feat(xai): add grok 4.7 model ID

    • c42576a: feat(gateway): support cancelling batches with experimental_cancelBatch

  30. 4.0.87

    18 Sep 2026

    Only updates a dependency:@ai-sdk/provider-utils 5.0.45

  31. 4.0.86

    18 Sep 2026
    • 4fdf51e: chore(provider/gateway): update gateway model settings files

  32. 4.0.85

    16 Sep 2026
    • 6982e9d: Include evaluation models in getAvailableModels() instead of filtering them out as unknown model types.

    • 6982e9d: feat(gateway): add experimental evaluation model support

  33. 4.0.83

    16 Sep 2026
    • 0c9ab5a: chore(provider/gateway): update gateway model settings files

    • 2cce7da: chore(provider/gateway): update gateway model settings files

  34. 4.0.81

    14 Sep 2026
    • 23a0fff: chore(provider/gateway): update gateway model settings files

  35. 4.0.80

    12 Sep 2026
    • 7f76d83: fix(gateway): forward server-returned warnings on language model doGenerate

      generateText(...).warnings through the gateway provider was always an empty array: doGenerate spread the gateway response body and then overwrote the server's warnings with a locally constructed empty array. The warnings the gateway relays from the upstream provider (and gateway-originated warnings) are now forwarded, matching the streaming path and every other modality.

  36. 4.0.79

    11 Sep 2026
    • 5ec21a6: fix: reject unsupported batch request types

    • 7469a3b: feat: support image generation requests in batches

    • dbd83a3: chore(provider/gateway): update gateway model settings files

  37. 4.0.77

    9 Sep 2026
    • aa4cc14: Preserve image-result retryability returned by the AI Gateway.

    • f102e41: chore(provider/gateway): update gateway model settings files

  38. 4.0.76

    8 Sep 2026
    • a4ba394: feat: support per-request models in batch

    • e9bf5e3: chore(provider/gateway): update gateway model settings files

    • 56c004c: chore(provider/gateway): update gateway model settings files

  39. 4.0.75

    4 Sep 2026
    • 3cfc1fc: feat(gateway): add support for gpt-6-astra

  40. 4.0.74

    3 Sep 2026
    • a7e324b: chore(provider/gateway): update gateway model settings files

  41. 4.0.73

    2 Sep 2026
    • 5484f27: chore(provider/gateway): update gateway model settings files

    • 36eb7ee: chore(provider/gateway): update gateway model settings files

    • 622fa7f: feat(google): add gemini-3.8-flash model

  42. 4.0.72

    2 Sep 2026
    • 4d25a08: feat(anthropic): add fable 5.1 support

  43. 4.0.70

    31 Aug 2026
    • 1329d5a: chore(provider/gateway): update gateway model settings files