← All Models

xAI: Grok Code Fast 1

🇺🇸 xAI · Grok Code

Input Price $0.200 per million tokens NT$6.4
Output Price $1.50 per million tokens NT$48.0
Context Window 256K tokens Output limit: 10K
OpenRouter Route Price Please verify with official pricing pages
Use this model via OpenRouter →

Overview

xAI: Grok Code Fast 1 is a large language model API from xAI, part of its Grok Code model family. Priced at $0.200 per million input tokens and $1.50 per million output tokens, it occupies the mid-range, balancing capability against running cost. Output tokens cost about 8× 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. On Artificial Analysis's Intelligence Index it scores 22 (D 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 $0.200 NT$6.4
Output per 1M tokens $1.50 NT$48.0
Cached Input per 1M tokens $0.020 NT$0.64
Web Search per search $0.0050 NT$0.16

Provider
xAI
Model Family
Grok Code
Version String
x-ai/grok-code-fast-1
Status
Active
Modality
Text
Context Window
256,000 tokens
Output Limit
10,000 tokens

Index Metrics

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

Intelligence Index 22 D Measured: 2026-08-26

Benchmark Scores

Data source: Artificial Analysis

AA-LCR 51.0% C Measured: 2026-08-26
GPQA Diamond 72.7% B Measured: 2026-08-26
HLE 8.0% C Measured: 2026-08-26
IFBench 41.4% D Measured: 2026-08-26
Non-Hallucination 20.7% Measured: 2026-08-26
Omniscience Accuracy 23.5% Measured: 2026-08-26
SciCode 36.2% B Measured: 2026-08-26
Tau2 75.7% Measured: 2026-08-26
TerminalBench 17.4% Measured: 2026-08-26

Key Insights

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

  • xAI: Grok Code Fast 1 Input price: $0.2/M tokens
  • xAI: Grok Code Fast 1 Output price: $1.5/M tokens
  • Context window: 256,000 tokens
  • Provider: xAI
  • Model family: Grok Code
  • Modalities: Text
  • Data source: OpenRouter, updated daily