Grok Image Generation Limits: Official xAI Usage Rules

Written by

in

Understanding Grok Image Generation Limits on xAI

Whether you build with the xAI API or use Grok through web and mobile apps, image generation and editing run under clear throughput, request, and usage boundaries. Following the November 2, 2026 retirement of grok-imagine-image-quality in favor of grok-imagine-image-2.0, xAI’s image generation stack centers on grok-imagine-image and grok-imagine-image-2.0, alongside flexible weekly usage pools for consumer and plan subscribers.


API Rate Limits and Throughput Caps

For developers calling the xAI API, image generation rate limits are measured in requests per second (RPS) rather than tokens per minute (TPM). Exceeding your cap returns a 429 Too Many Requests response.

Model Tier 0 ($0) Tier 1 ($50) Tier 2 ($250) Tier 3 ($1,000) Tier 4 ($5,000)
grok-imagine-image 6 RPS 12 RPS 25 RPS 50 RPS 100 RPS
grok-imagine-image-2.0 6 RPS 12 RPS 25 RPS 50 RPS 100 RPS

Key details to keep in mind when scaling API traffic:

  • Spend tiers and image caps: Rate limit tiers (Tier 0 through Tier 4, plus Enterprise) scale with cumulative API spend since January 1, 2026, and never downgrade once unlocked. However, image and video model limits do not automatically scale the same way as text/voice tiers—teams needing higher image generation limits must contact [email protected].
  • Batch requests: A single batch file can hold up to 50,000 requests (with a 25 MB maximum payload size per individual request added to a batch), and teams can send up to 1,000 batch-addition calls every 30 minutes.

Request Parameters, Resolutions, and Input Constraints

Beyond throughput caps, individual image generation and editing calls enforce parameter and media limits:

  • Outputs per request: Text-to-image requests support configuring output counts up to 10 images per request.
  • Image editing references: Multi-image editing in grok-imagine-image-2.0 supports up to 5 source images in a single request for combining subjects, transferring styles, or composing scenes.
  • Resolutions and quality: Output supports 1K (default) and 2K resolutions. The quality parameter accepts low, medium, or auto (which defaults to low for image generation and medium for image editing).
  • Aspect ratios: Supported ratios include 1:1, 16:9 / 9:16, 4:3 / 3:4, 3:2 / 2:3, 2:1 / 1:2, 19.5:9 / 9:19.5, 20:9 / 9:20, 21:9, 5:2, and auto.
  • Input image rules: Source images must use https:// URLs (or base64 data URIs where supported) that are publicly reachable and download within 5 seconds. Supported formats are JPEG, PNG, WebP, and ICO, with a minimum size of at least 8 pixels per side and 512 pixels total. For general image inputs on image understanding/input models, individual files are capped at 25 MiB.

App & Web Usage Limits and File Uploads

On Grok web and mobile apps, usage is governed by one flexible weekly usage pool shared across Grok products rather than a hard cutoff:

  • Shared weekly pool: You can spend your weekly allowance across a single feature or multiple Grok features, and monitor consumption in one place.
  • Continuing past limits: Hitting your weekly usage limit is not a hard stop—you can continue using free-tier limits on Chat and Voice (which reset on their own schedule), purchase Extra Usage Credits, enable Auto Top Up, or upgrade to a higher plan tier for a larger weekly allowance.
  • File upload ceilings: Most files (including images, documents, code, and audio) are capped at 150 MB per file. Multi-file uploads support up to ~100 files on web and 20 files on Android, with multiple files supported on iOS (exact limits can vary slightly by platform or subscription).

Practical Takeaways for Avoiding Throttling

If your workflows hit rate limits or quota ceilings, focus on three adjustments:

  1. Pace burst traffic: Spread parallel image requests evenly across seconds to stay under your tier’s RPS cap (6 to 100 RPS depending on tier) and implement retry backoff on 429 responses.
  2. Use Batch API for bulk jobs: Offload large non-real-time image workloads into batch files (up to 50,000 requests per file) instead of hammering synchronous endpoints.
  3. Watch pool balances and asset sizes: Keep source images fast to fetch (< 5 seconds) and sized appropriately, and enable Auto Top Up or Extra Usage Credits when weekly app usage runs low.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *