xai.grok-4
oci · chat model
xai.grok-4 is listed here as a chat model from oci. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
Input
$3.0000 / 1M tokens
Output
$15.0000 / 1M tokens
Cached input
N/A
Context
128.0K
Quick read
Best for
Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.
Things to verify
Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.
Pricing
| Item | Price |
|---|---|
| Input | $3.0000 / 1M tokens |
| Output | $15.0000 / 1M tokens |
| Embedding | $3.0000 / 1M tokens |
Token limits
Context window
128.0K
Max input tokens
128.0K
Max output tokens
128.0K
Max tokens
128.0K
Capabilities
| Capability | Supported |
|---|---|
| Vision | — |
| Function calling | ✅ |
| Parallel function calling | — |
| Tool choice | — |
| Prompt caching | — |
| Reasoning | — |
| Response schema | — |
| System messages | — |
| Audio input | — |
| Audio output | — |
| Web search | — |
| PDF input | — |
| Video input | — |
Benchmarks
Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer
| Benchmark | Score | Metric | Scope | Checked | Source |
|---|---|---|---|---|---|
| ARC-AGI-2 | 15.9% | accuracy | Base model: grok-4 (Grok 4) | 2026-05-31 | Link |
| Vending-Bench | $4694.15 net worth | net worth | Base model: grok-4 (Grok 4) | 2026-05-31 | Link |
| Humanity's Last Exam | 50.7% (text-only subset) | accuracy | Base model: grok-4 (Grok 4 Heavy) | 2026-05-31 | Link |
| USAMO'25 | 61.9% | accuracy | Base model: grok-4 (Grok 4 Heavy) | 2026-05-31 | Link |
Sources
| Source links | |
| Pricing data | LiteLLM model cost map |
| Synced at | 2026-05-28 |
Similar models
This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.
Comparing from
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| xai.grok-4 oci | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens |
Output: unknown | Function calling | 128.0K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| xai.grok-3 oci | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens |
Output: unknown | Function calling | 131.1K | Same provider Overall 60% |
| xai.grok-4.20 oci | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens |
Output: unknown | Function calling | 131.1K | Same provider Overall 60% |
| xai.grok-4.20-multi-agent oci | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens |
Output: unknown | Function calling | 131.1K | Same provider Overall 60% |
| xai.grok-3-fast oci | In $5.0000 / 1M tokens Out $25.0000 / 1M tokens |
Output: unknown | Function calling | 131.1K | Same provider Overall 52% |
| xai.grok-4-fast oci | In $5.0000 / 1M tokens Out $25.0000 / 1M tokens |
Output: unknown | Function calling | 131.1K | Same provider Overall 52% |
| xai.grok-4.1-fast oci | In $5.0000 / 1M tokens Out $25.0000 / 1M tokens |
Output: unknown | Function calling | 131.1K | Same provider Overall 52% |
| command-r-plus Azure | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | text
Output: text | Function calling | 4.1K | Partial I/O overlap Overall 45% |
| gpt-5.2 gmi | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens |
Output: unknown | Function calling | 32.0K | Partial I/O overlap Overall 44% |
| meta.llama3-1-405b-instruct-v1:0 Bedrock | In $5.3200 / 1M tokens Out $16.0000 / 1M tokens | text
Output: text | Function calling | 4.1K | Partial I/O overlap Overall 41% |
| mistral-large-2402 Azure | In $8.0000 / 1M tokens Out $24.0000 / 1M tokens |
Output: unknown | Function calling | 32.0K | Partial I/O overlap Overall 39% |
| mistral-large-latest Azure | In $8.0000 / 1M tokens Out $24.0000 / 1M tokens |
Output: unknown | Function calling | 32.0K | Partial I/O overlap Overall 39% |
| Mixtral-8x22B-Instruct-v0.1 anyscale | In $0.9000 / 1M tokens Out $0.9000 / 1M tokens |
Output: unknown | Function calling | 65.5K | Partial I/O overlap Overall 36% |
| anthropic.claude-sonnet-4-6 bedrock_converse | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagepdf
Output: text | Function calling | 64.0K | Partial I/O overlap Overall 31% |
| global.anthropic.claude-sonnet-4-6 bedrock_converse | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagepdf
Output: text | Function calling | 64.0K | Partial I/O overlap Overall 31% |
| Mistral-7B-Instruct-v0.1 anyscale | In $0.1500 / 1M tokens Out $0.1500 / 1M tokens |
Output: unknown | Function calling | 16.4K | Partial I/O overlap Overall 27% |
| Mixtral-8x7B-Instruct-v0.1 anyscale | In $0.1500 / 1M tokens Out $0.1500 / 1M tokens |
Output: unknown | Function calling | 16.4K | Partial I/O overlap Overall 27% |
| anthropic.claude-3-5-sonnet-20240620-v1:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagepdf
Output: text | Function calling | 4.1K | Partial I/O overlap Overall 25% |
| anthropic.claude-3-sonnet-20240229-v1:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagepdf
Output: text | Function calling | 4.1K | Partial I/O overlap Overall 25% |
| anthropic.claude-3-5-sonnet-20241022-v2:0 Bedrock | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagepdf
Output: text | Function calling | 8.2K | Partial I/O overlap Overall 25% |
| anthropic.claude-3-7-sonnet-20250219-v1:0 bedrock_converse | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagepdf
Output: text | Function calling | 8.2K | Partial I/O overlap Overall 24% |
No models match this filter.