47 model prices
  1. Home
  2. Models
  3. Comparisons
  4. GPT-6.2 Astra vs Grok 4.7

GPT-6.2 Astra vs Grok 4.7: API pricing and context window

Grok 4.7 is 75% cheaper than GPT-6.2 Astra for input ($2.00 vs $8.00 per 1M tokens) and 85% cheaper for output ($6.00 vs $40.00). Context window: 922,000 tokens for GPT-6.2 Astra, 500,000 for Grok 4.7. A 10K-input, 1K-output request costs $0.12 on GPT-6.2 Astra and $0.026 on Grok 4.7.

Last updated: Pricing data: LiteLLM (MIT)

GPT-6.2 Astra
$8.00 / $40.00
Input / Output, per 1M tokens · 922K context window
Grok 4.7
$2.00 / $6.00
Input / Output, per 1M tokens · 500K context window

Side by side

FieldGPT-6.2 AstraGrok 4.7GPT-6.2 Astra vs Grok 4.7
Input$8.00$2.00+300%
Output$40.00$6.00+567%
Cached input$0.40$0.50-20%
Context window922,000500,000+84%
Long-context threshold272,000200,000+36%
Long-context input$16.00$4.00+300%
Long-context output$60.00$12.00+400%
Batch API input$4.00$1.60+150%
Batch API output$20.00$4.80+317%
Image inputYesYes
Function callingYesYes
ReasoningYesYes
Prompt cachingYesYes
Web searchYesYes
Structured outputYesYes
Input typestext, imagetext, image

Cost per task

TaskGPT-6.2 AstraGrok 4.7Cheaper
Chat request (10K in + 1K out)$0.12$0.026Grok 4.7 (78% less)
Codebase question (100K in + 2K out)$0.88$0.212Grok 4.7 (76% less)
Same question, context cached (100K cached + 2K out)$0.12$0.062Grok 4.7 (48% less)
Long document (300K in + 4K out)$5.04$1.25Grok 4.7 (75% less)
1M tokens a month (750K in + 250K out)$16.00$3.00Grok 4.7 (81% less)

Estimate your own workload in the calculator

Which one to pick

Full pages: GPT-6.2 Astra · Grok 4.7

More comparisons

Questions

Which is cheaper, GPT-6.2 Astra or Grok 4.7?

Grok 4.7 is 75% cheaper than GPT-6.2 Astra for input ($2.00 vs $8.00 per 1M tokens) and 85% cheaper for output ($6.00 vs $40.00). A 10K-input, 1K-output request costs $0.12 on GPT-6.2 Astra and $0.026 on Grok 4.7.

Which has the larger context window, GPT-6.2 Astra or Grok 4.7?

GPT-6.2 Astra accepts more: 922,000 input tokens, against 500,000 for Grok 4.7.

How much does a typical request cost on GPT-6.2 Astra and Grok 4.7?

A chat request with 10K input and 1K output tokens costs $0.12 on GPT-6.2 Astra and $0.026 on Grok 4.7. A 100K-token codebase question with a 2K answer costs $0.88 and $0.212.

What are the differences between GPT-6.2 Astra and Grok 4.7?

GPT-6.2 Astra / Grok 4.7: input: $8.00 / $2.00; output: $40.00 / $6.00; cached input: $0.40 / $0.50; context window: 922,000 / 500,000; long-context threshold: 272,000 / 200,000; long-context input: $16.00 / $4.00; long-context output: $60.00 / $12.00; Batch API input: $4.00 / $1.60; Batch API output: $20.00 / $4.80.