Grok 4.20 Beta 0309 (reasoning)
Grok logo

Grok 4.20 Beta 0309 (reasoning)

grok-4.20-beta-0309-reasoning
Grok

Pricing

  • Input Tokens: $2 /M tokens
  • Output Tokens: $6 /M tokens
  • Cache Read: $0.2 /M tokens

Input Modalities

    Try this model

    Python
    import os
    from openai import OpenAI
    
    client = OpenAI(
        api_key=os.environ["AIHUBMIX_API_KEY"],
        base_url="https://shkq.org/v1",
    )
    
    response = client.chat.completions.create(
        model="grok-4.20-beta-0309-reasoning",
        messages=[
          {
            "role": "user",
            "content": "Hello, how are you?"
          }
        ],
        max_tokens=1024,
        stream=False,
    )
    
    print(response.choices[0].message.content)

    Frequently asked questions

    How much does Grok 4.20 Beta 0309 (reasoning) cost?

    On AIHubMix, Grok 4.20 Beta 0309 (reasoning) costs $2 per million input tokens and $6 per million output tokens. Cached input reads are billed at $0.2 per million tokens.