gcloud beta ai-platform jobs submit prediction JOB --data-format=DATA_FORMAT --input-paths=INPUT_PATH,[INPUT_PATH,…] --output-path=OUTPUT_PATH --region=REGION (--model=MODEL | --model-dir=MODEL_DIR) [--batch-size=BATCH_SIZE] [--labels=[KEY=VALUE,…]] [--max-worker-count=MAX_WORKER_COUNT] [--runtime-version=RUNTIME_VERSION] [--signature-name=SIGNATURE_NAME] [--version=VERSION] [GCLOUD_WIDE_FLAG …]
(BETA) Start an AI Platform batch prediction job.
JOB--data-format=DATA_FORMATDATA_FORMAT must be one
of:
texttf-recordtf-record-gzip--input-paths=INPUT_PATH,[INPUT_PATH,…]
Wildcards (*) accepted at the end of a path. More than
one path can be specified if multiple file patterns are needed. For example,
gs://my-bucket/instances*,gs://my-bucket/other-instances1
will match any objects whose names start with instances in
my-bucket as well as the other-instances1 bucket,
while
gs://my-bucket/instance-dir/*
instance-dir "directory" (since
directories aren't a first-class Cloud Storage concept) of
my-bucket.
--output-path=OUTPUT_PATH--region=REGION--model=MODEL--model-dir=MODEL_DIR--batch-size=BATCH_SIZE--labels=[KEY=VALUE,…]-), underscores (_), lowercase characters, and
numbers. Values must contain only hyphens (-), underscores
(_), lowercase characters, and numbers.
--max-worker-count=MAX_WORKER_COUNT--runtime-version=RUNTIME_VERSION--signature-name=SIGNATURE_NAME--version=VERSIONThis flag may only be given if --model is specified. If unspecified, the default version of the model will be used. To list versions for a model, run
gcloud ai-platform versions list--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
gcloud ai-platform jobs submit predictiongcloud alpha ai-platform jobs submit prediction
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.