Grok 4 Pro
Grok logo

Grok 4 Pro

grok-4-pro
Grok
Grok, their latest and greatest flagship model, offers unparalleled performance in natural language, math, and reasoning – the perfect jack of all trades. The current pointing model version is grok-4-0709.

Pricing

  • Input Tokens: $60 /M tokens
  • Output Tokens: $300 /M tokens
  • Cache Read: $15 /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-pro",
        messages=[
          {
            "role": "user",
            "content": "Hello, how are you?"
          }
        ],
        max_tokens=1024,
        stream=False,
    )
    
    print(response.choices[0].message.content)

    Frequently asked questions

    What is Grok 4 Pro?

    Grok, their latest and greatest flagship model, offers unparalleled performance in natural language, math, and reasoning – the perfect jack of all trades. The current pointing model version is grok-4-0709.