Verified limit lookup

xAI Files API Upload Limit

xAI Files API Upload Limit, verified against Grok's official documentation with scope, implementation impact, caveats, and a direct check.

Verified Aug 22, 20261 official source
Quick answer

Grok documents files api upload size as 50 MB per file. The API exposes separate initialize and chunk-upload operations.

Verified Aug 22, 2026Official source

Current limits

ConstraintCurrent valueScopeVerified source
Files API upload sizeThe API exposes separate initialize and chunk-upload operations.50 MB per filexAI Files APIxAIAug 22, 2026

Why does this limit matter?

A Grok app upload allowance should not be assumed to apply to the developer Files API.

This value is scoped to xAI Files API; a different plan, runtime, model, endpoint, region, or account can produce a different effective constraint.

What should you check?

  1. Measure the encoded upload bytes and use the API-specific endpoint documentation.
  2. Confirm the exact plan, model, runtime, endpoint, region, and account that serve the failing workload.
  3. Record the observed value, response headers or configuration, timestamp, and source without logging secrets.

Important caveats

  • Public file URLs have a separate 50 MiB publication constraint.
  • Treat the official source and live account configuration as authoritative if they differ from this verified snapshot.
HyperObserve reports the documented platform constraint. Your application, SDK, gateway, provider, region, or account can impose a lower effective limit.
Related

Related references and tools

Found an outdated limit? Report it.