# @ai-sdk/gateway

## 3.0.80

### Patch Changes

- 0db5cd8: Backport: chore(provider/gateway): update gateway model settings files

## 3.0.79

### Patch Changes

- 3caa544: chore(provider/xai): update Grok 4.20 model IDs to their non-beta versions

## 3.0.78

### Patch Changes

- 763e178: Backport: chore(provider/gateway): update gateway model settings files

## 3.0.77

### Patch Changes

- d99eb91: Backport: chore(provider/gateway): update gateway model settings files
- 055cd68: fix: publish v6 to latest npm dist tag
- Updated dependencies [055cd68]
  - @ai-sdk/provider-utils@4.0.21

## 3.0.76

### Patch Changes

- 25af909: Backport: chore(provider/gateway): update gateway model settings files

## 3.0.75

### Patch Changes

- f95e0c0: Backport: chore(provider/gateway): update gateway model settings files

## 3.0.74

### Patch Changes

- 7324b56: Backport: chore(provider/gateway): update gateway model settings files

## 3.0.73

### Patch Changes

- ac0c407: Backport: chore(provider/gateway): update gateway model settings files
- e748159: Backport: chore(provider/gateway): update gateway model settings files

## 3.0.72

### Patch Changes

- 5ffb1ad: feat(provider/google): add `gemini-embedding-2-preview` and fix multimodal embedding support with `embedMany`
- f5bf0c6: Backport: chore(provider/gateway): update gateway model settings files

## 3.0.71

### Patch Changes

- 55ccbe2: chore(provider/xai): remove obsolete Grok 2 models now that they are shut down in their API

## 3.0.70

### Patch Changes

- ca0b430: chore(provider/gateway): update gateway model settings files

## 3.0.69

### Patch Changes

- efdaefc: chore(provider/gateway): update gateway model settings files

## 3.0.68

### Patch Changes

- Updated dependencies [64ac0fd]
  - @ai-sdk/provider-utils@4.0.20

## 3.0.67

### Patch Changes

- 2589004: feat(provider/openai): add GPT-5.4 model support

## 3.0.66

### Patch Changes

- Updated dependencies [ad4cfc2]
  - @ai-sdk/provider-utils@4.0.19

## 3.0.65

### Patch Changes

- Updated dependencies [824b295]
  - @ai-sdk/provider-utils@4.0.18

## 3.0.64

### Patch Changes

- db3d4ca: chore(provider/gateway): update gateway model settings files

## 3.0.63

### Patch Changes

- 1b01ec1: feat(gateway): add providerTimeouts to provider options
- 8df8e11: chore(provider/gateway): update gateway model settings files

## 3.0.62

### Patch Changes

- 10bec50: feat(provider/google): add `gemini-3.1-flash-lite-preview`

## 3.0.61

### Patch Changes

- Updated dependencies [08336f1]
  - @ai-sdk/provider-utils@4.0.17

## 3.0.60

### Patch Changes

- 29e9f4d: chore(provider/gateway): update gateway model settings files

## 3.0.59

### Patch Changes

- Updated dependencies [58bc42d]
  - @ai-sdk/provider-utils@4.0.16

## 3.0.58

### Patch Changes

- 1330f2f: chore(provider/gateway): update gateway model settings files

## 3.0.57

### Patch Changes

- ba63bc2: chore(provider/gateway): update gateway model settings files

## 3.0.56

### Patch Changes

- 45f0a7f: feat(provider/google): add support for gemini-3.1-flash-image-preview

## 3.0.55

### Patch Changes

- e8172b6: feat (provider/gateway): pass through project id when available for o11y

## 3.0.54

### Patch Changes

- 0c9395b: feat(provider/openai): add `gpt-5.3-codex`

## 3.0.53

### Patch Changes

- 73b7e09: feat (provider/gateway): add SSE support for video generation with heartbeat keep-alive

## 3.0.52

### Patch Changes

- 363fa44: chore(provider/gateway): update gateway model settings files

## 3.0.51

### Patch Changes

- 765b013: feat(provider/google): add support for `gemini-3.1-pro-preview`

## 3.0.50

### Patch Changes

- a433cd3: chore(provider/gateway): update gateway model settings files

## 3.0.49

### Patch Changes

- 5f693c8: chore(provider/gateway): update gateway model settings files

## 3.0.48

### Patch Changes

- 2a1c664: feat(provider/anthropic): add support for new Claude Sonnet 4.6 model

## 3.0.47

### Patch Changes

- 6bbd05b: chore(provider/gateway): update gateway model settings files

## 3.0.46

### Patch Changes

- f75f18c: chore(provider/gateway): update gateway model settings files

## 3.0.45

### Patch Changes

- e858654: fix (provider/gateway): Fixed error handling in Gateway models by making asGatewayError async in both image and video model implementations.

## 3.0.44

### Patch Changes

- Updated dependencies [4024a3a]
  - @ai-sdk/provider-utils@4.0.15

## 3.0.43

### Patch Changes

- b424e50: chore(provider/gateway): update gateway model settings files

## 3.0.42

### Patch Changes

- 1819bc1: fix (provider/gateway): add missing warning types for video response parsing

## 3.0.41

### Patch Changes

- 99fbed8: feat: normalize provider specific model options type names and ensure they are exported

## 3.0.40

### Patch Changes

- a2208a2: fix (provider/gateway): added custom error class and message for client side timeouts

## 3.0.39

### Patch Changes

- eea5d30: fix: image generation via Gateway warning schema mismatch

## 3.0.38

### Patch Changes

- 70028ab: feat: report image generation usage info in Gateway

## 3.0.37

### Patch Changes

- Updated dependencies [7168375]
  - @ai-sdk/provider@3.0.8
  - @ai-sdk/provider-utils@4.0.14

## 3.0.36

### Patch Changes

- 9892c58: feat(anthropic): add support for Opus 4.6

## 3.0.35

### Patch Changes

- 8e2eaac: chore(provider/gateway): update gateway model settings files

## 3.0.34

### Patch Changes

- 4867635: feat (provider/gateway): add video generation support

## 3.0.33

### Patch Changes

- ae30443: fix(google): remove shut down `gemini-2.5-flash-image-preview`

## 3.0.32

### Patch Changes

- Updated dependencies [53f6731]
  - @ai-sdk/provider@3.0.7
  - @ai-sdk/provider-utils@4.0.13

## 3.0.31

### Patch Changes

- Updated dependencies [96936e5]
  - @ai-sdk/provider-utils@4.0.12

## 3.0.30

### Patch Changes

- 1a74972: chore(provider/gateway): update gateway model settings files

## 3.0.29

### Patch Changes

- Updated dependencies [2810850]
  - @ai-sdk/provider-utils@4.0.11
  - @ai-sdk/provider@3.0.6

## 3.0.28

### Patch Changes

- 1524271: chore: add skill information to README files

## 3.0.27

### Patch Changes

- 0acff64: feat (provider/gateway): add parallel search tool

## 3.0.26

### Patch Changes

- a8be296: chore(provider/gateway): update gateway model settings files

## 3.0.25

### Patch Changes

- 15a78c7: chore(provider/gateway): update gateway model settings files

## 3.0.24

### Patch Changes

- Updated dependencies [462ad00]
  - @ai-sdk/provider-utils@4.0.10

## 3.0.23

### Patch Changes

- cbf1704: chore(provider/gateway): update gateway model settings files

## 3.0.22

### Patch Changes

- 4de5a1d: chore: excluded tests from src folder in npm package
- Updated dependencies [4de5a1d]
  - @ai-sdk/provider@3.0.5
  - @ai-sdk/provider-utils@4.0.9

## 3.0.21

### Patch Changes

- 2b8369d: chore: add docs to package dist

## 3.0.20

### Patch Changes

- 8dc54db: chore: add src folders to package bundle

## 3.0.19

### Patch Changes

- c60fdd8: Inline fullMessage variable in GatewayError constructor

## 3.0.18

### Patch Changes

- 7af4eb4: chore(provider/gateway): update gateway model settings files

## 3.0.17

### Patch Changes

- 66d78d5: chore(provider/gateway): update gateway model settings files

## 3.0.16

### Patch Changes

- Updated dependencies [5c090e7]
  - @ai-sdk/provider@3.0.4
  - @ai-sdk/provider-utils@4.0.8

## 3.0.15

### Patch Changes

- Updated dependencies [46f46e4]
  - @ai-sdk/provider-utils@4.0.7

## 3.0.14

### Patch Changes

- Updated dependencies [1b11dcb]
  - @ai-sdk/provider-utils@4.0.6
  - @ai-sdk/provider@3.0.3

## 3.0.13

### Patch Changes

- 92b339b: feat (provider/gateway): add'l perplexity search tool params

## 3.0.12

### Patch Changes

- Updated dependencies [34d1c8a]
  - @ai-sdk/provider-utils@4.0.5

## 3.0.11

### Patch Changes

- 891a60a: feat (provider/gateway): add provider-defined perplexity search

## 3.0.10

### Patch Changes

- 2696fd2: chore(provider/gateway): Update gateway model settings files

## 3.0.9

### Patch Changes

- Updated dependencies [d937c8f]
  - @ai-sdk/provider@3.0.2
  - @ai-sdk/provider-utils@4.0.4

## 3.0.8

### Patch Changes

- 8ec1984: fix(gateway): bump `@vercel/oidc` to 3.1.0

## 3.0.7

### Patch Changes

- Updated dependencies [0b429d4]
  - @ai-sdk/provider-utils@4.0.3

## 3.0.6

### Patch Changes

- 74c0157: feat (provider/gateway): support image editing

## 3.0.5

### Patch Changes

- 7ee2d12: chore (provider/gateway): bump specification version header to reflect v3

## 3.0.4

### Patch Changes

- 863d34f: fix: trigger release to update `@latest`
- Updated dependencies [863d34f]
  - @ai-sdk/provider@3.0.1
  - @ai-sdk/provider-utils@4.0.2

## 3.0.3

### Patch Changes

- 1dad057: fix(gateway): add error handling for oidc refresh

## 3.0.2

### Patch Changes

- Updated dependencies [29264a3]
  - @ai-sdk/provider-utils@4.0.1

## 3.0.1

### Patch Changes

- c0c8a0e: Add zai/glm-4.7 model support

## 3.0.0

### Major Changes

- 387980f: fix: major version bump for AI SDK v6

## 2.0.0

### Major Changes

- dee8b05: ai SDK 6 beta
- 2f8b0c8: fix(gateway): bump `@vercel/oidc` to latest

### Minor Changes

- 78928cb: release: start 5.1 beta

### Patch Changes

- 0c3b58b: fix(provider): add specificationVersion to ProviderV3
- ea9ca31: feat(provider/gateway): Add new xAI models
- 5dd4c6a: fix(provider/gateway): Fix Gateway image model provider options not passing through
- 5d21222: feat(provider/gateway): Add gpt-5-codex to Gateway model string autocomplete
- 0adc679: feat(provider): shared spec v3
- 7294355: feat (provider/gateway): update route path version and embed format
- e8694af: feat(provider/gateway): Server-side image request splitting
- 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3

  Before

  ```ts
  model.textEmbeddingModel("my-model-id");
  ```

  After

  ```ts
  model.embeddingModel("my-model-id");
  ```

- aaf5ebf: feat(provider/gateway): Add new Qwen models to Gateway model string autocomplete
- 95f65c2: chore: use import \* from zod/v4
- c823faf: feat(provider/gateway): Add new Gemini preview models to Gateway model string autocomplete
- 2b6a848: feat (provider/gateway): add models provider option for model routing
- 0c4822d: feat: `EmbeddingModelV3`
- 34ee8d0: feat (provider/gateway): add support for request-scoped byok
- 1890317: feat (provider/gateway): improve auth error messages
- 636e614: feat(provider/gateway): Add DeepSeek V3.2 Exp to Gateway language model settings
- 7ccb36f: feat(provider/gateway): Add LongCat Thinking model to Gateway autocomplete
- ed329cb: feat: `Provider-V3`
- 5f66123: chore(provider/gateway): Update gateway language model settings
- 1cad0ab: feat: add provider version to user-agent header
- bca7e61: feat(provider/gateway): Change default maxImagesPerCall per-provider
- 8dac895: feat: `LanguageModelV3`
- 3e83633: add getCredits() gateway method
- 1d8ea2c: feat(provider/gateway): Add GPT-5 pro to Gateway model string autocomplete
- ef62178: feat(gateway): oidc refresh with `@vercel/oidc`
- 0a2ff8a: feat (provider/gateway): add user and tags provider options
- ee71658: feat (provider/gateway): add zero data retention provider option
- 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
- 9061dc0: feat: image editing
- 7d73922: feat(provider/gateway): Add MiniMax M2 to Gateway autocomplete
- e6bfe91: feat(provider/gateway): Update DeepSeek model string autocomplete
- acc14d8: feat (provider/gateway): add 'only' to provider options
- f83903d: getCredits style improvements
- 0e29b8b: chore(provider/gateway): lazy schema loading
- 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
- cdd0bc2: feat (provider/gateway): add intellect-3 model id
- 96322b7: feat(provider/gateway): Add GPT OSS Safeguard 20B to Gateway model string autocomplete
- 4616b86: chore: update zod peer depenedency version
- 2d166e4: feat(provider/gateway): add support for image models
- 6c766ef: feat(provider/gateway): Add DeepSeek V3.1 Terminus to Gateway autocomplete
- 7b1b1b1: fix(provider/gateway): add "react-native" as export condition for browser behavior

  This avoids the use of native Node APIs in bundles created for React Native / Expo apps

- 3782645: bump `@vercel/oidc` to 3.0.5
- f18ef7f: feat(openai): add gpt-5.2 models
- 1425df5: feat(provider/gateway): Add Imagen 4 Ultra Generate to model string autocomplete list
- 9f6149e: feat(provider/gateway): Add Sonnet 4.5 to Gateway model string autocomplete
- cc5170d: feat(provider/gateway): update gateway model string autocomplete
- a90dca6: feat(provider/gateway): Add zAI GLM 4.6 to Gateway language model settings
- b1624f0: feat (provider/gateway): add trinity-mini model id
- cbf52cd: feat: expose raw finish reason
- 870297d: feat(google): gemini-3-flash
- f0b2157: fix: revert zod import change
- Updated dependencies
  - @ai-sdk/provider@3.0.0
  - @ai-sdk/provider-utils@4.0.0

## 2.0.0-beta.93

### Patch Changes

- 7294355: feat (provider/gateway): update route path version and embed format

## 2.0.0-beta.92

### Patch Changes

- Updated dependencies [475189e]
  - @ai-sdk/provider@3.0.0-beta.32
  - @ai-sdk/provider-utils@4.0.0-beta.59

## 2.0.0-beta.91

### Patch Changes

- Updated dependencies [2625a04]
  - @ai-sdk/provider@3.0.0-beta.31
  - @ai-sdk/provider-utils@4.0.0-beta.58

## 2.0.0-beta.90

### Patch Changes

- cbf52cd: feat: expose raw finish reason
- Updated dependencies [cbf52cd]
  - @ai-sdk/provider@3.0.0-beta.30
  - @ai-sdk/provider-utils@4.0.0-beta.57

## 2.0.0-beta.89

### Patch Changes

- Updated dependencies [9549c9e]
  - @ai-sdk/provider@3.0.0-beta.29
  - @ai-sdk/provider-utils@4.0.0-beta.56

## 2.0.0-beta.88

### Patch Changes

- Updated dependencies [50b70d6]
  - @ai-sdk/provider-utils@4.0.0-beta.55

## 2.0.0-beta.87

### Patch Changes

- ee71658: feat (provider/gateway): add zero data retention provider option

## 2.0.0-beta.86

### Patch Changes

- 9061dc0: feat: image editing
- Updated dependencies [9061dc0]
  - @ai-sdk/provider-utils@4.0.0-beta.54
  - @ai-sdk/provider@3.0.0-beta.28

## 2.0.0-beta.85

### Patch Changes

- 870297d: feat(google): gemini-3-flash

## 2.0.0-beta.84

### Patch Changes

- 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
- Updated dependencies [366f50b]
  - @ai-sdk/provider@3.0.0-beta.27
  - @ai-sdk/provider-utils@4.0.0-beta.53

## 2.0.0-beta.83

### Patch Changes

- Updated dependencies [763d04a]
  - @ai-sdk/provider-utils@4.0.0-beta.52

## 2.0.0-beta.82

### Patch Changes

- Updated dependencies [c1efac4]
  - @ai-sdk/provider-utils@4.0.0-beta.51

## 2.0.0-beta.81

### Patch Changes

- Updated dependencies [32223c8]
  - @ai-sdk/provider-utils@4.0.0-beta.50

## 2.0.0-beta.80

### Patch Changes

- Updated dependencies [83e5744]
  - @ai-sdk/provider-utils@4.0.0-beta.49

## 2.0.0-beta.79

### Patch Changes

- Updated dependencies [960ec8f]
  - @ai-sdk/provider-utils@4.0.0-beta.48

## 2.0.0-beta.78

### Patch Changes

- f18ef7f: feat(openai): add gpt-5.2 models

## 2.0.0-beta.77

### Patch Changes

- Updated dependencies [e9e157f]
  - @ai-sdk/provider-utils@4.0.0-beta.47

## 2.0.0-beta.76

### Patch Changes

- 34ee8d0: feat (provider/gateway): add support for request-scoped byok

## 2.0.0-beta.75

### Patch Changes

- Updated dependencies [81e29ab]
  - @ai-sdk/provider-utils@4.0.0-beta.46

## 2.0.0-beta.74

### Patch Changes

- Updated dependencies [3bd2689]
  - @ai-sdk/provider@3.0.0-beta.26
  - @ai-sdk/provider-utils@4.0.0-beta.45

## 2.0.0-beta.73

### Patch Changes

- Updated dependencies [53f3368]
  - @ai-sdk/provider@3.0.0-beta.25
  - @ai-sdk/provider-utils@4.0.0-beta.44

## 2.0.0-beta.72

### Patch Changes

- Updated dependencies [dce03c4]
  - @ai-sdk/provider-utils@4.0.0-beta.43
  - @ai-sdk/provider@3.0.0-beta.24

## 2.0.0-beta.71

### Patch Changes

- Updated dependencies [3ed5519]
  - @ai-sdk/provider-utils@4.0.0-beta.42

## 2.0.0-beta.70

### Patch Changes

- Updated dependencies [1bd7d32]
  - @ai-sdk/provider-utils@4.0.0-beta.41
  - @ai-sdk/provider@3.0.0-beta.23

## 2.0.0-beta.69

### Patch Changes

- b1624f0: feat (provider/gateway): add trinity-mini model id

## 2.0.0-beta.68

### Patch Changes

- Updated dependencies [544d4e8]
  - @ai-sdk/provider-utils@4.0.0-beta.40
  - @ai-sdk/provider@3.0.0-beta.22

## 2.0.0-beta.67

### Patch Changes

- Updated dependencies [954c356]
  - @ai-sdk/provider-utils@4.0.0-beta.39
  - @ai-sdk/provider@3.0.0-beta.21

## 2.0.0-beta.66

### Patch Changes

- Updated dependencies [03849b0]
  - @ai-sdk/provider-utils@4.0.0-beta.38

## 2.0.0-beta.65

### Patch Changes

- cdd0bc2: feat (provider/gateway): add intellect-3 model id

## 2.0.0-beta.64

### Patch Changes

- 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
- Updated dependencies [457318b]
  - @ai-sdk/provider@3.0.0-beta.20
  - @ai-sdk/provider-utils@4.0.0-beta.37

## 2.0.0-beta.63

### Patch Changes

- 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3

  Before

  ```ts
  model.textEmbeddingModel("my-model-id");
  ```

  After

  ```ts
  model.embeddingModel("my-model-id");
  ```

- Updated dependencies [8d9e8ad]
  - @ai-sdk/provider@3.0.0-beta.19
  - @ai-sdk/provider-utils@4.0.0-beta.36

## 2.0.0-beta.62

### Patch Changes

- Updated dependencies [10d819b]
  - @ai-sdk/provider@3.0.0-beta.18
  - @ai-sdk/provider-utils@4.0.0-beta.35

## 2.0.0-beta.61

### Patch Changes

- e8694af: feat(provider/gateway): Server-side image request splitting

## 2.0.0-beta.60

### Patch Changes

- Updated dependencies [db913bd]
  - @ai-sdk/provider@3.0.0-beta.17
  - @ai-sdk/provider-utils@4.0.0-beta.34

## 2.0.0-beta.59

### Patch Changes

- 5dd4c6a: fix(provider/gateway): Fix Gateway image model provider options not passing through

## 2.0.0-beta.58

### Patch Changes

- 1425df5: feat(provider/gateway): Add Imagen 4 Ultra Generate to model string autocomplete list

## 2.0.0-beta.57

### Patch Changes

- bca7e61: feat(provider/gateway): Change default maxImagesPerCall per-provider

## 2.0.0-beta.56

### Patch Changes

- 2d166e4: feat(provider/gateway): add support for image models

## 2.0.0-beta.55

### Patch Changes

- cc5170d: feat(provider/gateway): update gateway model string autocomplete

## 2.0.0-beta.54

### Patch Changes

- 5f66123: chore(provider/gateway): Update gateway language model settings

## 2.0.0-beta.53

### Patch Changes

- 3782645: bump `@vercel/oidc` to 3.0.5

## 2.0.0-beta.52

### Patch Changes

- Updated dependencies [b681d7d]
  - @ai-sdk/provider@3.0.0-beta.16
  - @ai-sdk/provider-utils@4.0.0-beta.33

## 2.0.0-beta.51

### Patch Changes

- Updated dependencies [32d8dbb]
  - @ai-sdk/provider-utils@4.0.0-beta.32

## 2.0.0-beta.50

### Patch Changes

- Updated dependencies [bb36798]
  - @ai-sdk/provider@3.0.0-beta.15
  - @ai-sdk/provider-utils@4.0.0-beta.31

## 2.0.0-beta.49

### Patch Changes

- Updated dependencies [4f16c37]
  - @ai-sdk/provider-utils@4.0.0-beta.30

## 2.0.0-beta.48

### Patch Changes

- Updated dependencies [af3780b]
  - @ai-sdk/provider@3.0.0-beta.14
  - @ai-sdk/provider-utils@4.0.0-beta.29

## 2.0.0-beta.47

### Patch Changes

- 96322b7: feat(provider/gateway): Add GPT OSS Safeguard 20B to Gateway model string autocomplete

## 2.0.0-beta.46

### Patch Changes

- Updated dependencies [016b111]
  - @ai-sdk/provider-utils@4.0.0-beta.28

## 2.0.0-beta.45

### Patch Changes

- Updated dependencies [37c58a0]
  - @ai-sdk/provider@3.0.0-beta.13
  - @ai-sdk/provider-utils@4.0.0-beta.27

## 2.0.0-beta.44

### Patch Changes

- 7d73922: feat(provider/gateway): Add MiniMax M2 to Gateway autocomplete

## 2.0.0-beta.43

### Patch Changes

- Updated dependencies [d1bdadb]
  - @ai-sdk/provider@3.0.0-beta.12
  - @ai-sdk/provider-utils@4.0.0-beta.26

## 2.0.0-beta.42

### Patch Changes

- Updated dependencies [4c44a5b]
  - @ai-sdk/provider@3.0.0-beta.11
  - @ai-sdk/provider-utils@4.0.0-beta.25

## 2.0.0-beta.41

### Patch Changes

- 0c3b58b: fix(provider): add specificationVersion to ProviderV3
- Updated dependencies [0c3b58b]
  - @ai-sdk/provider@3.0.0-beta.10
  - @ai-sdk/provider-utils@4.0.0-beta.24

## 2.0.0-beta.40

### Patch Changes

- Updated dependencies [a755db5]
  - @ai-sdk/provider@3.0.0-beta.9
  - @ai-sdk/provider-utils@4.0.0-beta.23

## 2.0.0-beta.39

### Patch Changes

- Updated dependencies [58920e0]
  - @ai-sdk/provider-utils@4.0.0-beta.22

## 2.0.0-beta.38

### Patch Changes

- Updated dependencies [293a6b7]
  - @ai-sdk/provider-utils@4.0.0-beta.21

## 2.0.0-beta.37

### Patch Changes

- 2b6a848: feat (provider/gateway): add models provider option for model routing

## 2.0.0-beta.36

### Patch Changes

- Updated dependencies [fca786b]
  - @ai-sdk/provider-utils@4.0.0-beta.20

## 2.0.0-beta.35

### Patch Changes

- Updated dependencies [3794514]
  - @ai-sdk/provider-utils@4.0.0-beta.19
  - @ai-sdk/provider@3.0.0-beta.8

## 2.0.0-beta.34

### Major Changes

- 2f8b0c8: fix(gateway): bump `@vercel/oidc` to latest

## 2.0.0-beta.33

### Patch Changes

- 1890317: feat (provider/gateway): improve auth error messages

## 2.0.0-beta.32

### Patch Changes

- Updated dependencies [81d4308]
  - @ai-sdk/provider@3.0.0-beta.7
  - @ai-sdk/provider-utils@4.0.0-beta.18

## 2.0.0-beta.31

### Patch Changes

- Updated dependencies [703459a]
  - @ai-sdk/provider-utils@4.0.0-beta.17

## 2.0.0-beta.30

### Patch Changes

- 0a2ff8a: feat (provider/gateway): add user and tags provider options

## 2.0.0-beta.29

### Patch Changes

- Updated dependencies [6306603]
  - @ai-sdk/provider-utils@4.0.0-beta.16

## 2.0.0-beta.28

### Patch Changes

- f0b2157: fix: revert zod import change
- Updated dependencies [f0b2157]
  - @ai-sdk/provider-utils@4.0.0-beta.15

## 2.0.0-beta.27

### Patch Changes

- Updated dependencies [3b1d015]
  - @ai-sdk/provider-utils@4.0.0-beta.14

## 2.0.0-beta.26

### Patch Changes

- Updated dependencies [d116b4b]
  - @ai-sdk/provider-utils@4.0.0-beta.13

## 2.0.0-beta.25

### Patch Changes

- Updated dependencies [7e32fea]
  - @ai-sdk/provider-utils@4.0.0-beta.12

## 2.0.0-beta.24

### Patch Changes

- 0e29b8b: chore(provider/gateway): lazy schema loading

## 2.0.0-beta.23

### Patch Changes

- acc14d8: feat (provider/gateway): add 'only' to provider options

## 2.0.0-beta.22

### Patch Changes

- 95f65c2: chore: use import \* from zod/v4
- Updated dependencies
  - @ai-sdk/provider-utils@4.0.0-beta.11

## 2.0.0-beta.21

### Patch Changes

- 7b1b1b1: fix(provider/gateway): add "react-native" as export condition for browser behavior

  This avoids the use of native Node APIs in bundles created for React Native / Expo apps

## 2.0.0-beta.20

### Major Changes

- dee8b05: ai SDK 6 beta

### Patch Changes

- Updated dependencies [dee8b05]
  - @ai-sdk/provider@3.0.0-beta.6
  - @ai-sdk/provider-utils@4.0.0-beta.10

## 1.1.0-beta.19

### Patch Changes

- Updated dependencies [521c537]
  - @ai-sdk/provider-utils@3.1.0-beta.9

## 1.1.0-beta.18

### Patch Changes

- Updated dependencies [e06565c]
  - @ai-sdk/provider-utils@3.1.0-beta.8

## 1.1.0-beta.17

### Patch Changes

- 1d8ea2c: feat(provider/gateway): Add GPT-5 pro to Gateway model string autocomplete

## 1.1.0-beta.16

### Patch Changes

- Updated dependencies
  - @ai-sdk/provider@2.1.0-beta.5
  - @ai-sdk/provider-utils@3.1.0-beta.7

## 1.1.0-beta.15

### Patch Changes

- ef62178: feat(gateway): oidc refresh with `@vercel/oidc`

## 1.1.0-beta.14

### Patch Changes

- a90dca6: feat(provider/gateway): Add zAI GLM 4.6 to Gateway language model settings

## 1.1.0-beta.13

### Patch Changes

- 0adc679: feat(provider): shared spec v3
- Updated dependencies
  - @ai-sdk/provider-utils@3.1.0-beta.6
  - @ai-sdk/provider@2.1.0-beta.4

## 1.1.0-beta.12

### Patch Changes

- e6bfe91: feat(provider/gateway): Update DeepSeek model string autocomplete

## 1.1.0-beta.11

### Patch Changes

- 636e614: feat(provider/gateway): Add DeepSeek V3.2 Exp to Gateway language model settings

## 1.1.0-beta.10

### Patch Changes

- 9f6149e: feat(provider/gateway): Add Sonnet 4.5 to Gateway model string autocomplete

## 1.1.0-beta.9

### Patch Changes

- 8dac895: feat: `LanguageModelV3`
- Updated dependencies [8dac895]
  - @ai-sdk/provider-utils@3.1.0-beta.5
  - @ai-sdk/provider@2.1.0-beta.3

## 1.1.0-beta.8

### Patch Changes

- c823faf: feat(provider/gateway): Add new Gemini preview models to Gateway model string autocomplete

## 1.1.0-beta.7

### Patch Changes

- 4616b86: chore: update zod peer depenedency version
- Updated dependencies [4616b86]
  - @ai-sdk/provider-utils@3.1.0-beta.4

## 1.1.0-beta.6

### Patch Changes

- aaf5ebf: feat(provider/gateway): Add new Qwen models to Gateway model string autocomplete
- ed329cb: feat: `Provider-V3`
- Updated dependencies
  - @ai-sdk/provider@2.1.0-beta.2
  - @ai-sdk/provider-utils@3.1.0-beta.3

## 1.1.0-beta.5

### Patch Changes

- 5d21222: feat(provider/gateway): Add gpt-5-codex to Gateway model string autocomplete
- 0c4822d: feat: `EmbeddingModelV3`
- 1cad0ab: feat: add provider version to user-agent header
- Updated dependencies [0c4822d]
  - @ai-sdk/provider@2.1.0-beta.1
  - @ai-sdk/provider-utils@3.1.0-beta.2

## 1.1.0-beta.4

### Patch Changes

- 7ccb36f: feat(provider/gateway): Add LongCat Thinking model to Gateway autocomplete
- 6c766ef: feat(provider/gateway): Add DeepSeek V3.1 Terminus to Gateway autocomplete

## 1.1.0-beta.3

### Patch Changes

- ea9ca31: feat(provider/gateway): Add new xAI models

## 1.1.0-beta.2

### Patch Changes

- 3e83633: add getCredits() gateway method
- f83903d: getCredits style improvements

## 1.1.0-beta.1

### Patch Changes

- Updated dependencies [cbb1d35]
  - @ai-sdk/provider-utils@3.1.0-beta.1

## 1.1.0-beta.0

### Minor Changes

- 78928cb: release: start 5.1 beta

### Patch Changes

- Updated dependencies [78928cb]
  - @ai-sdk/provider@2.1.0-beta.0
  - @ai-sdk/provider-utils@3.1.0-beta.0

## 1.0.23

### Patch Changes

- f49f924: feat (provider/gateway): add qwen3 next model ids

## 1.0.22

### Patch Changes

- Updated dependencies [0294b58]
  - @ai-sdk/provider-utils@3.0.9

## 1.0.21

### Patch Changes

- 4ee3719: feat(provider/gateway): Add Meituan LongCat Flash Chat to autocomplete

## 1.0.20

### Patch Changes

- 350a328: feat(provider/gateway): Add stealth models to Gateway autocomplete

## 1.0.19

### Patch Changes

- 034287f: feat (provider/gateway): add qwen3-max model id
- dee1afe: feat(provider/gateway): Fix embeddings `providerOptions`

## 1.0.18

### Patch Changes

- 5d59a8c: feat (provider/gateway): add moonshotai/kimi-k2-0905 model id

## 1.0.17

### Patch Changes

- b6005cd: feat(provider/gateway): Add Voyage embedding models

## 1.0.16

### Patch Changes

- Updated dependencies [99964ed]
  - @ai-sdk/provider-utils@3.0.8

## 1.0.15

### Patch Changes

- 980633d: feat(provider/gateway): Add xAI Grok Code Fast 1
- 1c5b88d: feat (provider/gateway): add new model ids

## 1.0.14

### Patch Changes

- Updated dependencies [886e7cd]
  - @ai-sdk/provider-utils@3.0.7

## 1.0.13

### Patch Changes

- c9994f9: feat(provider/gateway): Add cache pricing fields to model metadata
- Updated dependencies [1b5a3d3]
  - @ai-sdk/provider-utils@3.0.6

## 1.0.12

### Patch Changes

- 50e2029: feat (provider/gateway): add deepseek v3.1 thinking model id
- b8478f0: feat (provider/gateway): add mistral medium model id

## 1.0.11

### Patch Changes

- 926259f: feat(provider/gateway): Expose model type in model spec
- c000f96: feat(provider/gateway): Add DeepSeek V3.1

## 1.0.10

### Patch Changes

- Updated dependencies [0857788]
  - @ai-sdk/provider-utils@3.0.5

## 1.0.9

### Patch Changes

- 8b96f99: feat(provider/gateway): Add DeepSeek v3.1 Base

## 1.0.8

### Patch Changes

- Updated dependencies [68751f9]
  - @ai-sdk/provider-utils@3.0.4

## 1.0.7

### Patch Changes

- 28a4006: feat (provider/gateway): add gemini-2.5-flash-lite model id

## 1.0.6

### Patch Changes

- eefa730: refactor(provider/gateway): Make claude-sonnet-4 and similar the primary model slug for Anthropic v4 models
- Updated dependencies
  - @ai-sdk/provider-utils@3.0.3

## 1.0.5

### Patch Changes

- cf7b2ad: feat(provider/gateway): Add GLM-4.5V
- Updated dependencies [38ac190]
  - @ai-sdk/provider-utils@3.0.2

## 1.0.4

### Patch Changes

- 35f93ce: feat (provider/gateway): add new model ids

## 1.0.3

### Patch Changes

- 893aed6: feat (provider/gateway): add anthropic claude 4.1 opus model id

## 1.0.2

### Patch Changes

- 444df49: feat (provider/gateway): update model ids

## 1.0.1

### Patch Changes

- 028fb9c: refactor(provider/gateway): Cleanup old gateway-embedding-options file
- 6331826: feat(provider/gateway): Hide Cohere embedding models with no pricing info
- Updated dependencies [90d212f]
  - @ai-sdk/provider-utils@3.0.1

## 1.0.0

### Patch Changes

- 9e16bfd: feat (provider/gateway): update model ids
- 0477a13: feat (provider/gateway): Add OpenAI embedding support
- 26b6dd0: feat (providers/gateway): include deployment and request id
- 30ab1de: feat (provider/gateway): add grok-4 model id
- e2aceaf: feat: add raw chunk support
- 97fedf9: feat (providers/gateway): include description and pricing info in model list
- c91586a: chore (providers/gateway): update language model ids
- 3cbcbb7: feat (providers/gateway): share common gateway error transform logic
- fedb55e: feat (provider/gateway): add z.ai and glm-4.5 models
- 6c2c708: feat (providers/gateway): initial gateway provider
- 721775e: feat(provider/gateway): Generate new Gateway embedding model settings file
- 70ebead: feat (provider/gateway): add qwen3 coder model id
- f3639fa: feat (providers/gateway): improve oidc api key client auth flow
- 8bd3624: feat (provider/gateway): update model ids to include vercel
- c145d62: feat (providers/gateway): add createGateway shorthand alias for createGatewayProvider
- f77bc38: chore (providers/gateway): update language model ids
- 989ac75: chore (providers/gateway): update chat model ids
- 7742ba3: feat (providers/gateway): add gateway error types with error detail
- c190907: fix (provider/gateway): use zod v4
- d1a034f: feature: using Zod 4 for internal stuff
- d454e4b: fix (providers/gateway): fix timestamp error when streaming objects
- cf1e00e: feat (provider/gateway): add devstral model id
- cc21603: feat (provider/gateway): Add AI Gateway provider options (ordering)
- 205077b: fix: improve Zod compatibility
- e001ea1: fix (provider/gateway): remove unnecessary 'x-' prefix on auth method header
- 27deb4d: feat (provider/gateway): Add providerMetadata to embeddings response
- Updated dependencies
  - @ai-sdk/provider-utils@3.0.0
  - @ai-sdk/provider@2.0.0

## 1.0.0-beta.19

### Patch Changes

- 721775e: feat(provider/gateway): Generate new Gateway embedding model settings file
- Updated dependencies [88a8ee5]
  - @ai-sdk/provider-utils@3.0.0-beta.10

## 1.0.0-beta.18

### Patch Changes

- 27deb4d: feat (provider/gateway): Add providerMetadata to embeddings response
- Updated dependencies [27deb4d]
  - @ai-sdk/provider@2.0.0-beta.2
  - @ai-sdk/provider-utils@3.0.0-beta.9

## 1.0.0-beta.17

### Patch Changes

- Updated dependencies [dd5fd43]
  - @ai-sdk/provider-utils@3.0.0-beta.8

## 1.0.0-beta.16

### Patch Changes

- fedb55e: feat (provider/gateway): add z.ai and glm-4.5 models

## 1.0.0-beta.15

### Patch Changes

- Updated dependencies [e7fcc86]
  - @ai-sdk/provider-utils@3.0.0-beta.7

## 1.0.0-beta.14

### Patch Changes

- Updated dependencies [ac34802]
  - @ai-sdk/provider-utils@3.0.0-beta.6

## 1.0.0-beta.13

### Patch Changes

- 0477a13: feat (provider/gateway): Add OpenAI embedding support
- cf1e00e: feat (provider/gateway): add devstral model id
- cc21603: feat (provider/gateway): Add AI Gateway provider options (ordering)

## 1.0.0-beta.12

### Patch Changes

- 70ebead: feat (provider/gateway): add qwen3 coder model id

## 1.0.0-beta.11

### Patch Changes

- 8bd3624: feat (provider/gateway): update model ids to include vercel
- e001ea1: fix (provider/gateway): remove unnecessary 'x-' prefix on auth method header

## 1.0.0-beta.10

### Patch Changes

- Updated dependencies
  - @ai-sdk/provider-utils@3.0.0-beta.5

## 1.0.0-beta.9

### Patch Changes

- 205077b: fix: improve Zod compatibility
- Updated dependencies [205077b]
  - @ai-sdk/provider-utils@3.0.0-beta.4

## 1.0.0-beta.8

### Patch Changes

- Updated dependencies [05d2819]
  - @ai-sdk/provider-utils@3.0.0-beta.3

## 1.0.0-beta.7

### Patch Changes

- c190907: fix (provider/gateway): use zod v4

## 1.0.0-beta.6

### Patch Changes

- 9e16bfd: feat (provider/gateway): update model ids

## 1.0.0-beta.5

### Patch Changes

- 30ab1de: feat (provider/gateway): add grok-4 model id

## 1.0.0-beta.4

### Patch Changes

- 97fedf9: feat (providers/gateway): include description and pricing info in model list

## 1.0.0-beta.3

### Patch Changes

- f3639fa: feat (providers/gateway): improve oidc api key client auth flow
- d454e4b: fix (providers/gateway): fix timestamp error when streaming objects

## 1.0.0-beta.2

### Patch Changes

- c91586a: chore (providers/gateway): update language model ids
- d1a034f: feature: using Zod 4 for internal stuff
- Updated dependencies
  - @ai-sdk/provider-utils@3.0.0-beta.2

## 1.0.0-beta.1

### Patch Changes

- f77bc38: chore (providers/gateway): update language model ids
- Updated dependencies
  - @ai-sdk/provider@2.0.0-beta.1
  - @ai-sdk/provider-utils@3.0.0-beta.1

## 1.0.0-alpha.15

### Patch Changes

- c145d62: feat (providers/gateway): add createGateway shorthand alias for createGatewayProvider
- Updated dependencies
  - @ai-sdk/provider@2.0.0-alpha.15
  - @ai-sdk/provider-utils@3.0.0-alpha.15

## 1.0.0-alpha.14

### Patch Changes

- Updated dependencies
  - @ai-sdk/provider@2.0.0-alpha.14
  - @ai-sdk/provider-utils@3.0.0-alpha.14

## 1.0.0-alpha.13

### Patch Changes

- Updated dependencies [68ecf2f]
  - @ai-sdk/provider@2.0.0-alpha.13
  - @ai-sdk/provider-utils@3.0.0-alpha.13

## 1.0.0-alpha.12

### Patch Changes

- e2aceaf: feat: add raw chunk support
- Updated dependencies [e2aceaf]
  - @ai-sdk/provider@2.0.0-alpha.12
  - @ai-sdk/provider-utils@3.0.0-alpha.12

## 1.0.0-alpha.11

### Patch Changes

- Updated dependencies [c1e6647]
  - @ai-sdk/provider@2.0.0-alpha.11
  - @ai-sdk/provider-utils@3.0.0-alpha.11

## 1.0.0-alpha.10

### Patch Changes

- Updated dependencies [c4df419]
  - @ai-sdk/provider@2.0.0-alpha.10
  - @ai-sdk/provider-utils@3.0.0-alpha.10

## 1.0.0-alpha.9

### Patch Changes

- 26b6dd0: feat (providers/gateway): include deployment and request id
- Updated dependencies [811dff3]
  - @ai-sdk/provider@2.0.0-alpha.9
  - @ai-sdk/provider-utils@3.0.0-alpha.9

## 1.0.0-alpha.8

### Patch Changes

- 3cbcbb7: feat (providers/gateway): share common gateway error transform logic
- 989ac75: chore (providers/gateway): update chat model ids
- 7742ba3: feat (providers/gateway): add gateway error types with error detail
- Updated dependencies
  - @ai-sdk/provider-utils@3.0.0-alpha.8
  - @ai-sdk/provider@2.0.0-alpha.8

## 1.0.0-alpha.7

### Patch Changes

- Updated dependencies [5c56081]
  - @ai-sdk/provider@2.0.0-alpha.7
  - @ai-sdk/provider-utils@3.0.0-alpha.7

## 1.0.0-alpha.6

### Patch Changes

- 6c2c708: feat (providers/gateway): initial gateway provider
- Updated dependencies [0d2c085]
  - @ai-sdk/provider@2.0.0-alpha.6
  - @ai-sdk/provider-utils@3.0.0-alpha.6
