Foundation Model · Amazon BedrockGrok FamilyGeneral TierTextMulti-Tier Pricing
Grok 4.7
Amazon Bedrock token pricing and cost optimization reference for Grok 4.7.Rates normalized to USD per 1 Million Tokens ($/1M) with prompt caching and batch API discounts across 35 AWS regions.
ProviderxAI
Maker HQPalo Alto, California, USA
Class / TierGeneral
ModalityText
Prompt CachingSave 88%
Batch APISave 45%
AWS Regions35 Global
Bedrock Model ID
xai.grok-4-7-v1:0Input / Prompt
$2.00/ 1M tokens
$0.0020 per 1K tokens
Output / Completion
$6.00/ 1M tokens
$0.0060 per 1K tokens
Prompt Cache Read
$0.25/ 1M tokens
Save 88% vs prompt
Batch Inference
$1.10/ 1M in
Save 45% via Batch API
Price Ratio
1 : 3.0
Prompt to completion factor
Alternatives to Grok 4.7
Grok 4.7 Spend Estimator
Model inference spend by prompt volume, cache hit rate, and batch processing.
M tokens
M tokens
30%
Estimated Monthly Spend
$0.00
Fresh Prompts:$0.00
Cached Prompts:$0.00
Completions:$0.00
Active: Input: $2.00/1M · Output: $6.00/1M
Key Cost Levers & Architecture
Practical mechanisms to reduce inference costs with Grok 4.7 on AWSPrompt CachingSave ~88%
Caches repetitive system instructions, schemas, and document prefixes in memory with 5-minute and extended 1-hour TTL tiers.
- Read Rate: $0.25 / 1M tokens
- Write Rate (5m TTL): $2.50 / 1M tokens
- Ideal for: Multi-turn conversations, RAG document queries, structured schemas
Batch InferenceSave 45%
Asynchronous bulk processing submitted via Amazon S3 with a standard 24-hour turnaround SLA.
- Batch Input: $1.10 / 1M tokens
- Batch Output: $3.30 / 1M tokens
- Ideal for: Offline classification, synthetic data generation, benchmark evals
Cross-Region & Tiers35 Regions
AWS Bedrock supports standard on-demand inference, priority reserved throughput, and cross-region routing.
- Standard: Lowest latency, pay-per-token with zero commitments
- Cross-Region Routing: Automatically burst traffic to available regional capacity
- GovCloud: Dedicated isolated compliance partitions with +20% uplift
Regional Pricing Matrix
Live rates across all 35 available AWS cloud regionsBaseline: $2.00/1M inGovCloud: $2.40/1M in35 Global Regions
| AWS Region | Prompt Input $/1M | Completion Output $/1M | Cache Read $/1M | Batch Input $/1M | Pricing Tier |
|---|---|---|---|---|---|
| us-east-1 US East (N. Virginia) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| us-west-2 US West (Oregon) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-central-1 EU (Frankfurt) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-west-1 EU (Ireland) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-northeast-1 Asia Pacific (Tokyo) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| us-gov-west-1 AWS GovCloud (US-West) | $2.40 | $7.20 | $0.60 | $1.32 | GovCloud (+20%) |
| af-south-1 Africa (Cape Town) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-south-2 Asia Pacific (Hyderabad) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-southeast-3 Asia Pacific (Jakarta) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-southeast-5 Asia Pacific (Malaysia) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-southeast-4 Asia Pacific (Melbourne) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-south-1 Asia Pacific (Mumbai) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-southeast-6 Asia Pacific (New Zealand) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-northeast-3 Asia Pacific (Osaka) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-northeast-2 Asia Pacific (Seoul) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-southeast-1 Asia Pacific (Singapore) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-southeast-2 Asia Pacific (Sydney) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-east-2 Asia Pacific (Taipei) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ap-southeast-7 Asia Pacific (Thailand) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| us-gov-east-1 AWS GovCloud (US-East) | $2.40 | $7.20 | $0.60 | $1.32 | GovCloud (+20%) |
| ca-central-1 Canada (Central) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| ca-west-1 Canada West (Calgary) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-west-2 EU (London) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-south-1 EU (Milan) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-west-3 EU (Paris) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-north-1 EU (Stockholm) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-south-2 Europe (Spain) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| eu-central-2 Europe (Zurich) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| il-central-1 Israel (Tel Aviv) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| mx-central-1 Mexico (Central) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| me-south-1 Middle East (Bahrain) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| me-central-1 Middle East (UAE) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| sa-east-1 South America (Sao Paulo) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| us-east-2 US East (Ohio) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
| us-west-1 US West (N. California) | $2.00 | $6.00 | $0.50 | $1.10 | Baseline |
No AWS regions found matching your filter.
Developer Quickstart
Invoke Grok 4.7 via Amazon Bedrock Converse APIPython (boto3) · Amazon Bedrock Runtime
import boto3
# Amazon Bedrock Converse API invocation
client = boto3.client("bedrock-runtime", region_name="us-east-1")
response = client.converse(
modelId="xai.grok-4-7-v1:0",
messages=[
{
"role": "user",
"content": [{"text": "Summarize key features and cost levers of Grok 4.7."}]
}
],
inferenceConfig={
"maxTokens": 1024,
"temperature": 0.7
}
)
output_text = response["output"]["message"]["content"][0]["text"]
usage = response["usage"]
print(f"Response: {output_text}")
print(f"Usage: {usage['inputTokens']} in, {usage['outputTokens']} out")