← All Models

xAI: Grok 4

🇺🇸 xAI · Grok 4

Input Price $3.00 per million tokens NT$96.0
Output Price $15.00 per million tokens NT$480
Context Window 256K tokens
OpenRouter Route Price Please verify with official pricing pages
Use this model via OpenRouter →

Overview

xAI: Grok 4 is a large language model API from xAI, part of its Grok 4 model family. With $3.00 per million input tokens and $15.00 per million output tokens, it is a premium-tier model where output volume is the main cost to watch. Output tokens cost about 5× as much as input, so prompt-heavy workloads run noticeably cheaper than generation-heavy ones. A large 256K-token context window (≈384 pages of text) lets it take in whole books, large codebases, or lengthy transcripts in a single call. Beyond plain text it also accepts Image, File input, so it can be applied to multimodal tasks rather than text alone. On Artificial Analysis's Intelligence Index it scores 33 (C grade), a useful proxy for its general reasoning strength relative to the other models tracked here. All prices on this page reflect OpenRouter's routed rates and are re-synced automatically every day; confirm against the provider's official pricing before committing to production.

Dimension Unit Price (USD) Price (TWD) Effective From
Input per 1M tokens $3.00 NT$96.0
Output per 1M tokens $15.00 NT$480
Cached Input per 1M tokens $0.750 NT$24.0
Web Search per search $0.0050 NT$0.16

Provider
xAI
Model Family
Grok 4
Version String
x-ai/grok-4
Status
Active
Modality
Image, Text, File
Context Window
256,000 tokens
Output Limit
— tokens

Index Metrics

Cross-domain capability indexes evaluated by Artificial Analysis — Artificial Analysis

Intelligence Index 33 C Measured: 2026-07-01

Benchmark Scores

Data source: Artificial Analysis

AA-LCR 68.0% B Measured: 2026-07-01
GPQA Diamond 87.7% S Measured: 2026-07-01
HLE 23.9% A Measured: 2026-07-01
IFBench 53.7% C Measured: 2026-07-01
MMMU Pro 68.8% B Measured: 2026-07-01
Non-Hallucination 35.8% Measured: 2026-07-01
Omniscience Accuracy 41.4% Measured: 2026-07-01
SciCode 45.7% A Measured: 2026-07-01
Tau2 74.9% Measured: 2026-07-01
TerminalBench 37.9% Measured: 2026-07-01

90-Day Price Trend

Input / Output price (USD per 1M tokens)

Past 90 days of records; every price change is shown here

Date Dimension Price (USD) Source
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter
Output $15.00 OpenRouter
Input $3.00 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.750 OpenRouter

Key Insights

Key data points from this page for quick reference and citation.

  • xAI: Grok 4 Input price: $3/M tokens
  • xAI: Grok 4 Output price: $15/M tokens
  • Context window: 256,000 tokens
  • Provider: xAI
  • Model family: Grok 4
  • Modalities: Image, Text, File
  • Data source: OpenRouter, updated daily