Grok 4.5

Model Information

Display Name: Grok 4.5

API Model ID: x-ai/grok-4.5

Category: Image To Text

Description: Grok 4.5 is xAI's frontier model, built for coding, knowledge work and STEM. It reasons on every request and accepts text, image and file input with a 500K-token context window. **Key Features:** - 500,000-token context window - Always-on reasoning (not disableable upstream) - Multimodal input: text, image and file - Function/tool calling and structured outputs (JSON schema) - Prompt caching for cheaper repeated context **Best For:** - Frontier coding and complex engineering tasks - STEM problem solving and technical analysis - Knowledge work over long documents - Agentic workflows that need strong reasoning

Context Window: 500,000 tokens

How to Use This Model

To use Grok 4.5 via the HInow.ai API, use the model ID: x-ai/grok-4.5

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "x-ai/grok-4.5",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "x-ai/grok-4.5",
  "prompt": "Your image description here"
}
              

Pricing

  • input: $2.90
  • output: $8.70

Available Parameters

  • temperature: Controls randomness (0-2) (Options: 0, 0.3, 0.5, 0.7, 1.0)
  • top_p: Nucleus sampling (0-1) (Options: 0.1, 0.5, 0.9, 0.95, 1.0)
  • max_tokens: Max tokens to generate, including reasoning (Options: 512, 1024, 2048, 4096, 8192, 16384, 32768)
  • reasoning_effort: Reasoning depth. Reasoning is always on for this model (Options: low, medium, high)
  • frequency_penalty: Penalizes tokens by frequency (-2 to 2). Default: 0 (Options: 0, 0.5, 1.0)
  • presence_penalty: Penalizes tokens already present (-2 to 2). Default: 0 (Options: 0, 0.5, 1.0)
  • seed: Integer seed for reproducible sampling
  • tools: Function/tool definitions for agentic workflows
  • response_format: Output format (structured outputs supported) (Options: text, json_object, json_schema)
  • stop: Sequences where the API stops generating further tokens

Quick Reference

To use this model, set: "model": "x-ai/grok-4.5"

Featured: No

Documentation: https://hinow.ai/models/x-ai/grok-4.5

API Endpoint: https://api.hinow.ai/v1

Back to Models
Grok 4.5

Grok 4.5

x-ai/grok-4.5

$2.90 / $8.70
per 1M tokens (in/out)

About

Grok 4.5 is xAI's frontier model, built for coding, knowledge work and STEM. It reasons on every request and accepts text, image and file input with a 500K-token context window.

Key Features:

  • 500,000-token context window
  • Always-on reasoning (not disableable upstream)
  • Multimodal input: text, image and file
  • Function/tool calling and structured outputs (JSON schema)
  • Prompt caching for cheaper repeated context

Best For:

  • Frontier coding and complex engineering tasks
  • STEM problem solving and technical analysis
  • Knowledge work over long documents
  • Agentic workflows that need strong reasoning

Capabilities

Image To TextText To Text
Context500K tokens

Parameters

temperature

Controls randomness (0-2)

00.30.50.71.0
top_p

Nucleus sampling (0-1)

0.10.50.90.951.0
max_tokens

Max tokens to generate, including reasoning

51210242048409681921638432768
reasoning_effort

Reasoning depth. Reasoning is always on for this model

lowmediumhigh
frequency_penalty

Penalizes tokens by frequency (-2 to 2). Default: 0

00.51.0
presence_penalty

Penalizes tokens already present (-2 to 2). Default: 0

00.51.0
seed

Integer seed for reproducible sampling

tools

Function/tool definitions for agentic workflows

response_format

Output format (structured outputs supported)

textjson_objectjson_schema
stop

Sequences where the API stops generating further tokens

Code Examples

curl -X POST https://api.hinow.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "x-ai/grok-4.5",
    "messages": [
      {
        "role": "user",
        "content": [
          {"type": "text", "text": "Describe this image"},
          {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
        ]
      }
    ],
    "parameters": {
      "temperature": "0",
      "top_p": "0.1",
      "max_tokens": "512",
      "reasoning_effort": "low",
      "frequency_penalty": "0",
      "presence_penalty": "0",
      "seed": "",
      "tools": "",
      "response_format": "text",
      "stop": ""
    }
  }'