xai.grok-4
oci · chat model
Input
$3.0000 / 1M tokens
Output
$15.0000 / 1M tokens
Cached input
N/A
Context
128.0K
Pricing
| Item | Raw value (per token) | Normalized |
|---|---|---|
| Input | 0.000003 | $3.0000 / 1M tokens |
| Output | 0.000015 | $15.0000 / 1M tokens |
| Embedding | 0.000003 | $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 | No |
| Function calling | Yes |
| Parallel function calling | No |
| Tool choice | No |
| Prompt caching | No |
| Reasoning | No |
| Response schema | No |
| System messages | No |
| Audio input | No |
| Audio output | No |
| Web search | No |
| PDF input | No |
| Video input | No |
Similar models
Models with comparable pricing in the same mode (chat).
| Model | Provider | Input | Output | Context | Coding | Features |
|---|---|---|---|---|---|---|
| anthropic.claude-3-5-sonnet-20240620-v1:0 | Bedrock | $3.0000 / 1M tokens | $15.0000 / 1M tokens | 4.1K | N/A | Vision Tools |
| anthropic.claude-3-5-sonnet-20241022-v2:0 | Bedrock | $3.0000 / 1M tokens | $15.0000 / 1M tokens | 8.2K | N/A | Vision Tools Cache |
| anthropic.claude-3-7-sonnet-20250219-v1:0 | bedrock_converse | $3.0000 / 1M tokens | $15.0000 / 1M tokens | 8.2K | N/A | Vision Tools Cache Reasoning |
| anthropic.claude-3-sonnet-20240229-v1:0 | Bedrock | $3.0000 / 1M tokens | $15.0000 / 1M tokens | 4.1K | N/A | Vision Tools |
| anthropic.claude-sonnet-4-6 | bedrock_converse | $3.0000 / 1M tokens | $15.0000 / 1M tokens | 64.0K | N/A | Vision Tools Cache Reasoning |
| global.anthropic.claude-sonnet-4-6 | bedrock_converse | $3.0000 / 1M tokens | $15.0000 / 1M tokens | 64.0K | N/A | Vision Tools Cache Reasoning |
Sources
| Pricing source | LiteLLM model cost map |
| Synced at | 2026-05-27 |
| Manual review | Not reviewed |
Raw LiteLLM fields
{
"input_cost_per_token": 0.000003,
"litellm_provider": "oci",
"max_input_tokens": 128000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 0.000015,
"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing",
"supports_function_calling": true,
"supports_response_schema": false,
"supports_native_streaming": true
}