Perform batch inference with Bedrock
24h
, 48h
, etc.)immediate
)$PORTKEY_API_KEY
).aws_access_key_id
, aws_secret_access_key
, aws_region
, optional aws_session_token
).input_file_id
) — required only when you set completion_window:"immediate"
(Portkey-Batch mode).For Principal Role (Used in Virtual Key)
For Service Role (role_arn) used for creating and executing the batch job
Property | Default | Notes |
---|---|---|
completion_window | 24h | Fixed by Bedrock. |
Job quota | 50k/day | Subject to your AWS account. |
Max input file size | 10 GB | Across all .jsonl objects. |
Term | Meaning |
---|---|
Batch Job | Collection of asynchronous completions. |
Portkey File (input_file_id ) | File uploaded to Portkey and re-uploaded to the provider for batch processing. |
Virtual Key | Bedrock credential stored in Portkey; referenced by ID, not secret. |
Completion Window | immediate → Portkey-Batch; 24h → Bedrock native. |