Price Per TokenPrice Per Token
Cohere
Cohere
vs
Xai
Xai

Cohere vs Xai

Compare all Cohere and Xai models — pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Overview

Cohere

Models
6
Cheapest Input
$0.04
Max Context
256K
Top Intelligence
33.6

Xai

Models
9
Cheapest Input
$0.20
Max Context
2.0M
Top Intelligence
41.5

Flagship Model Comparison

Command R+ (08-2024)vsGrok 4
MetricCommand R+ (08-2024)Grok 4
Input $/1M tokens$2.50$3.00
Output $/1M tokens$10.00$15.00
Context Window128K256K
Intelligence33.641.5
CodingN/A40.5
MathN/A92.7

All Models Pricing

Cohere Models

ModelInput/1MOutput/1MContext
Command R+ (08-2024) $2.50 $10.00128K
Command A $2.50 $10.00256K
Command R7B (12-2024) $0.04 $0.15128K
Command R $0.15 $0.60128K
Command R (08-2024) $0.15 $0.60128K
Command R+ $2.50 $10.00128K

Xai Models

ModelInput/1MOutput/1MContext
Grok 4 $3.00 $15.00256K
Grok 3 Mini $0.25 $0.50131K
Grok Code Fast 1 $0.20 $1.50256K
Grok 4.1 Fast $0.20 $0.502.0M
Grok 4 Fast $0.20 $0.502.0M
Grok 3 $3.00 $15.00131K
Grok 3 Mini Beta $0.30 $0.50131K
Grok 3 Beta $3.00 $15.00131K
Grok 3 Fast $5.00 $25.00131K

Benchmark Comparison

Best Scores by Provider

BenchmarkCohereXai
Intelligence
33.6
Command R+ (08-2024)
41.5
Grok 4
Coding
9.9
Command A
40.5
Grok 4
Math
13.0
Command A
92.7
Grok 4
MMLU Pro
71.2
Command A
86.6
Grok 4
GPQA
52.7
Command A
87.7
Grok 4
LiveCodeBench
28.7
Command A
81.9
Grok 4
Aider
38.3
Command R (08-2024)
79.6
Grok 4
AIME
9.7
Command A
94.3
Grok 4
BBH
42.8
Command R+ (08-2024)
N/A

Capabilities

CapabilityCohereXai
Vision✓ (3 models)
Tool Calls✓ (6 models)✓ (9 models)
Reasoning✓ (2 models)✓ (6 models)
Audio Input
Audio Output
PDF Input
Web Search✓ (8 models)
Prompt Caching✓ (8 models)
Open Source Models✓ (4 models)

Model-Level Comparisons

Compare specific models head-to-head:

Frequently Asked Questions

Cohere has 6 models while Xai has 9 models available through API providers.
Cohere's cheapest model starts at $0.04/M input tokens, while Xai's cheapest starts at $0.20/M input tokens.
It depends on your needs. Compare specific models from each provider using the head-to-head comparisons above. Consider factors like pricing, benchmark performance, context window size, and supported capabilities.