Skip to content

feat (provider/gateway): add quota entity id to gateway provider options#14154

Merged
mclenhard merged 2 commits intovercel:mainfrom
mclenhard:feat-add-quota-entity-gateway-provider-option
Apr 6, 2026
Merged

feat (provider/gateway): add quota entity id to gateway provider options#14154
mclenhard merged 2 commits intovercel:mainfrom
mclenhard:feat-add-quota-entity-gateway-provider-option

Conversation

@mclenhard
Copy link
Copy Markdown
Contributor

@mclenhard mclenhard commented Apr 6, 2026

Background

Adds a new gateway provider options quotaEntityId that allows a user to set quotas for specific entities.

Summary

Added new gateway provider option

Manual Verification

run example script in examples/ai-functions/src/stream-text/gateway-provider-options-quota-entity-id.ts

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Future Work

Related Issues

@tigent tigent bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label feature New feature or request provider/gateway Issues related to the @ai-sdk/gateway provider labels Apr 6, 2026
@mclenhard mclenhard requested a review from jerilynzheng April 6, 2026 16:21
@shaper shaper added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Apr 6, 2026
@mclenhard mclenhard merged commit d1f0d2b into vercel:main Apr 6, 2026
22 checks passed
vercel-ai-sdk bot pushed a commit that referenced this pull request Apr 6, 2026
…ons (#14154)

## Background

Adds a new gateway provider options quotaEntityId that allows a user to
set quotas for specific entities.

## Summary

Added new gateway provider option 

## Manual Verification

run example script in
`examples/ai-functions/src/stream-text/gateway-provider-options-quota-entity-id.ts`

## Checklist

<!--
Do not edit this list. Leave items unchecked that don't apply. If you
need to track subtasks, create a new "## Tasks" section

Please check if the PR fulfills the following requirements:
-->

- [ ] Tests have been added / updated (for bug fixes / features)
- [ ] Documentation has been added / updated (for bug fixes / features)
- [ ] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [ ] I have reviewed this pull request (self-review)

## Future Work

<!--
Feel free to mention things not covered by this PR that can be done in
future PRs.
Remove the section if it's not needed.
 -->

## Related Issues

<!--
List related issues here, e.g. "Fixes #1234".
Remove the section if it's not needed.
-->
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Apr 6, 2026

✅ Backport PR created: #14164

@vercel-ai-sdk vercel-ai-sdk bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Apr 6, 2026
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Apr 6, 2026

🚀 Published in:

Package Version
ai 7.0.0-beta.66
@ai-sdk/angular 3.0.0-beta.66
@ai-sdk/gateway 4.0.0-beta.36
@ai-sdk/langchain 3.0.0-beta.66
@ai-sdk/llamaindex 3.0.0-beta.66
@ai-sdk/otel 1.0.0-beta.12
@ai-sdk/react 4.0.0-beta.66
@ai-sdk/rsc 3.0.0-beta.67
@ai-sdk/svelte 5.0.0-beta.66
@ai-sdk/vue 4.0.0-beta.66

vercel-ai-sdk bot added a commit that referenced this pull request Apr 6, 2026
…vider options (#14164)

This is an automated backport of #14154 to the release-v6.0 branch. FYI
@mclenhard

Co-authored-by: mat lenhard <mclenhard@gmail.com>
@mclenhard mclenhard added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label backport Admins only: add this label to a pull request in order to backport it to the prior version feature New feature or request provider/gateway Issues related to the @ai-sdk/gateway provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants