Skip to main content
Core.Today
|
xAIMediumUltra

Grok 4.20 Reasoning

Grok 4.20 reasoning variant (0309 snapshot) - chain-of-thought reasoning with a 1M-token context window. Reasoning tokens are billed additively on top of completion tokens.

2,323/4,645credits
input / output ยท per 1M tokens
Additive reasoning-token billing (accurate metering)
1M context window
OpenAI-compatible API (chat completions)
Prompt caching with discounted cache reads
Long-context tier: prompts reaching 200K tokens bill the whole request at 2x rates

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Model Specifications

Context Window
1M
tokens
Max Output
33K
tokens
Training Cutoff
2025-11
Compatible SDK
OpenAI

Capabilities

Vision
Function Calling
Streaming
JSON Mode
System Prompt

Token Pricing (per 1M tokens)

Token TypeCreditsUSD Equivalent
Input Tokens2,323$1.55
Output Tokens4,645$3.10
Cached Tokens371.6$0.25

* 1,500 credits โ‰ˆ $1 (actual charges may vary based on usage)

Quick Start

curl -X POST "https://api.core.today/llm/grok/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "grok-4.20-0309-reasoning",
  "messages": [
    {
      "role": "user",
      "content": "Summarize the attached report in 5 bullets."
    }
  ],
  "max_tokens": 1024
}'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringYes-Model ID, e.g. "grok-4.20-0309-reasoning".
messagesarrayYes-Chat messages in OpenAI format (system/user/assistant roles).
temperaturenumberNo0.7Sampling temperature (0-2).
max_tokensintegerNo2048Maximum completion tokens.
streambooleanNofalseStream the response as server-sent events.

Examples

Chat completion

OpenAI-compatible chat completion request

curl -X POST "https://api.core.today/llm/grok/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "grok-4.20-0309-reasoning",
  "messages": [
    {
      "role": "user",
      "content": "Summarize the attached report in 5 bullets."
    }
  ],
  "max_tokens": 1024
}'

Tips & Best Practices

1Works with the OpenAI SDK - set base_url to https://ai.api.core.today/llm/grok/v1
2Keep prompts under 200K tokens to stay on the standard rate (2x above that)
3Cache reads are billed at a discounted rate - reuse long system prompts

Use Cases

Long-document analysis and summarization
Coding assistants and agents
Multi-turn chat with large shared context