← 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-07-01

Benchmark Scores

Data source: Artificial Analysis

AA-LCR 48.3% C Measured: 2026-07-01
GPQA Diamond 72.7% B Measured: 2026-07-01
HLE 7.5% D Measured: 2026-07-01
IFBench 41.4% D Measured: 2026-07-01
Non-Hallucination 21.5% Measured: 2026-07-01
Omniscience Accuracy 23.8% Measured: 2026-07-01
SciCode 36.2% B Measured: 2026-07-01
Tau2 75.7% Measured: 2026-07-01
TerminalBench 17.4% 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.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter
Output $1.50 OpenRouter
Input $0.200 OpenRouter
Web Search $0.0050 OpenRouter
Cached Input $0.020 OpenRouter

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