Skip to content
xAILegacy

Grok 2 API pricing

Earlier xAI chat model, kept for historical API pricing and specification reference.

How much does Grok 2 API cost?

The historical price recorded for Grok 2 is $5.00 per 1 million input tokens and $15.00 per 1 million output tokens. It is not a current TokenGate price.

Historical pricing
ModelInput tokens / 1MCached input / 1MOutput tokens / 1M
Grok 2$5.00$15.00

Estimate Grok 2 API cost

Estimated monthly cost (USDT)$350.00USDT

Historical pricing

Model specifications

Provider
xAI
API model identifier
grok-2
Generation
2
Provider lifecycle
Active
Context window
131K
Maximum output tokens
8K
Input modalities
Text, Image
Output modalities
Text
Capabilities
Streaming, Function calling, Vision, JSON mode

Best for

  • Knowledge work

Explore TokenGate models

Availability through TokenGate is not confirmed for this model.

  • · One API integration
  • · OpenAI-compatible interface
  • · Payment in USDT

Frequently asked questions

Related models

TokenGate