Skip to content
llm-spend
Cost anatomy

Grok 4.7

GrokFoundry ·Global

Fresh input / cached input / output cost breakdown, active and scheduled rates, provenance, same-model deployment markup, and cost-comparable alternatives for this purchasable lane.

Start with a pattern

Illustrative workloads

Pick a useful starting shape, then fine-tune every input below.

Fine-tune

Workload and pricing scenario

Adjust the token shape, cache behavior, time window, and service tier. Every number below updates immediately.

Interactive

Workload cost calculator

60M
210K
90%

Share of input tokens served from cache. Applied only to models with a cache meter.

Time

Rows with a rate that changes by time of day, promo window or service tier are priced for this scenario instead of their flat listed rate; a brand-colored label under the model name names which one applies. Context size for band-priced rows uses the input-token count below.

Picking a specific hour also previews time-of-day rates that are scheduled but have not started billing yet; those rows are labelled · preview with their start instant. Now only ever shows rates that are billable at this moment.

Rate state

What this lane charges right now

Priced under the workload and scenario above. The full published schedule below always shows every variant regardless of which scenario is selected.

Input / 1M
$2.00
CHF 1.61
Cached input / 1M
$0.50
CHF 0.403
Output / 1M
$6.00
CHF 4.83
Cost anatomy

Where this workload's cost goes

60M input tokens (90% cache hit) and 210K output tokens, at the resolved rate above.

$12.00
Fresh input · CHF 9.66
$27.00
Cached input · CHF 21.74
$1.26
Output · CHF 1.01
$40.26
Workload total · CHF 32.41

$12.00 + $27.00 + $1.26 = $40.26

Provenance

How much to trust these numbers

InputofficialCached inputofficialOutputofficial

Microsoft Foundry Global Standard, generally available from October 6. Prompts under 200K tokens use the short-context rates; longer prompts use the separate lane below.

Microsoft's Foundry blog, published 2026-10-06 and captured 2026-10-09, lists Grok 4.7 Global Standard at $2/M input, $0.50/M cached input and $6/M output for prompts under 200K tokens, with a 500K context window. The Azure Retail Prices Foundry feed captured 2026-10-10 lists the matching Global input, cached-input and output meters effective 2026-10-01.

Direct vs Foundry

Same-model deployment markup

How much this Foundry lane costs over the same model's Direct API rate.

LaneDeploymentWorkload costFoundry markup
Grok 4.7
xAI direct API
Direct API$40.26$0.00 (0%)
Cost-comparable

Other lanes within ±25% of this workload's cost

Same provider first, then ranked by cost proximity, for 60M in / 210K out. This is a cost ranking only — never a quality recommendation.

  • Grok 4.6
    Grok · xAI direct APISame provider
    Direct API
    $40.26
    CHF 32.41
    $0.00 (0%) vs this lane
  • Grok 4.6
    GrokSame provider
    Foundry ·Global
    $40.26
    CHF 32.41
    $0.00 (0%) vs this lane
  • Grok 4.7
    Grok · xAI direct APISame provider
    Direct API
    $40.26
    CHF 32.41
    $0.00 (0%) vs this lane
  • Grok 4.7
    GrokSame provider
    Foundry ·Data Zone
    $44.29
    CHF 35.65
    +$4.03 (+10%) vs this lane
  • Kimi K3
    Kimi · Fireworks-hosted
    Foundry ·Data Zone
    $41.08
    CHF 33.07
    +$0.825 (+2%) vs this lane
  • Claude Opus 5.5
    Claude
    Direct API
    $39.00
    CHF 31.40
    -$1.26 (-3%) vs this lane