xAI Grok 3 Beta Token Cost Calculator with 131072 Context

Model: xAI: Grok 3 Beta, Context: 131072, Cost: $3 per 1M input tokens, $15 per 1M output tokens

Note: Calculation is approximate based on public data. Prices may change, check official websites.

Calculate the cost of using the xAI Grok 3 Beta model with its impressive 131072 context window. This calculator helps you estimate expenses based on input and output token usage.

The pricing is as follows:

  • Input Tokens: $3 per 1 million tokens
  • Output Tokens: $15 per 1 million tokens

Formula:
Total Cost = (Input Tokens / 1,000,000 * Input Cost per 1M) + (Output Tokens / 1,000,000 * Output Cost per 1M)

Example:
If you use 50,000 input tokens and 20,000 output tokens for 1 request:
Input Cost = (50,000 / 1,000,000) * $3 = $0.15
Output Cost = (20,000 / 1,000,000) * $15 = $0.30
Total Cost = $0.15 + $0.30 = $0.45

Note: Calculation is approximate based on public data. Prices may change, check official websites.