Skip to content

[Workers AI, AI Gateway] Document unified billing - #32561

Draft
mchenco wants to merge 2 commits into
productionfrom
mchen/wai-unified-rate-limits
Draft

[Workers AI, AI Gateway] Document unified billing#32561
mchenco wants to merge 2 commits into
productionfrom
mchen/wai-unified-rate-limits

Conversation

@mchenco

@mchenco mchenco commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents Workers AI unified billing through AI Gateway, including gateway configuration, AI binding and REST API usage, paid model access, and elevated rate limits for frontier models. Adds a cross-product changelog entry for the update.

Screenshots (optional)

Documentation checklist

@github-actions github-actions Bot added product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ product:changelog size/m labels Aug 6, 2026
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/product-owners, @hoan-pom
/src/content/docs/ai-gateway/ @abhishekkankani, @palashgo, @thebongy, @roerohan, @kathayl, @mchenco, @zeke, @superhighfives, @adriandlam, @mattrothenberg, @ethulia, @aninibread, @kflansburg, @cloudflare/product-owners
/src/content/docs/workers-ai/ @rita3ko, @craigsdennis, @mchenco, @zeke, @superhighfives, @mattrothenberg, @ethulia, @aninibread, @kflansburg, @cloudflare/product-owners
/src/content/partials/ai-gateway/ @abhishekkankani, @palashgo, @thebongy, @roerohan, @kathayl, @mchenco, @zeke, @superhighfives, @adriandlam, @mattrothenberg, @ethulia, @aninibread, @kflansburg, @cloudflare/product-owners
* @cloudflare/product-owners

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Preview URL: https://99082b51.preview.developers.cloudflare.com
Preview Branch URL: https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/changelog/post/2026-08-06-workers-ai-unified-billing/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/changelog/post/2026-08-06-workers-ai-unified-billing/
https://developers.cloudflare.com/ai-gateway/configuration/manage-gateway/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/ai-gateway/configuration/manage-gateway/
https://developers.cloudflare.com/ai-gateway/usage/worker-binding-methods/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/ai-gateway/usage/worker-binding-methods/
https://developers.cloudflare.com/workers-ai/platform/limits/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/workers-ai/platform/limits/
https://developers.cloudflare.com/workers-ai/platform/pricing/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/workers-ai/platform/pricing/
https://developers.cloudflare.com/ai-gateway/features/unified-billing/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/ai-gateway/features/unified-billing/
https://developers.cloudflare.com/ai-gateway/usage/rest-api/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/ai-gateway/usage/rest-api/
https://developers.cloudflare.com/ai-gateway/get-started/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/ai-gateway/get-started/
https://developers.cloudflare.com/ai-gateway/usage/providers/workersai/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/ai-gateway/usage/providers/workersai/
https://developers.cloudflare.com/workers-ai/platform/ai-gateway/ https://mchen-wai-unified-rate-limits.preview.developers.cloudflare.com/workers-ai/platform/ai-gateway/


### Configure Workers AI billing

To use prepaid AI Gateway credits for Workers AI requests:

@ethulia ethulia Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe also explain what standard billing is here first since it's the default?

@mchenco
mchenco marked this pull request as ready for review August 6, 2026 01:38
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit 99082b5.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@mchenco
mchenco marked this pull request as draft August 6, 2026 03:44
@mchenco

mchenco commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

DO NOT MERGE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ product:changelog product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.