Page cover

CHAT

Base-Path:

https://api.hyprlab.io/v1

Chat-Completions Path:

https://api.hyprlab.io/v1/chat/completions

Making Request:

curl https://api.hyprlab.io/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HYPRLAB_API_KEY" \
  -d '{
    "model": "grok-beta",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful assistant."
      },
      {
        "role": "user",
        "content": "Say this is a test!"
      }
    ]
  }'

💬 Chat Models

Model Name:
  • grok-code-fast-1

Discount:
  • 10% off

Input:
  • $0.18 / 1M Tokens

Output:
  • $1.35 / 1M Tokens

Context:
  • 256,000

Moderation:
  • Unfiltered

Capabilities:
  • Reasoning

  • Tools supported

  • JSON-mode supported

  • Structured JSON-schema supported

Model Name:
  • grok-4

Discount:
  • 10% off

Input:
  • $2.7 / 1M Tokens

Output:
  • $13.5 / 1M Tokens

Context:
  • 256,000

Moderation:
  • Unfiltered

Capabilities:
  • Reasoning

  • Tools supported

  • JSON-mode supported

  • Structured JSON-schema supported

Model Name:
  • grok-3

Discount:
  • 10% off

Input:
  • $2.7 / 1M Tokens

Output:
  • $13.5 / 1M Tokens

Context:
  • 128,000

Moderation:
  • Unfiltered

Capabilities:
  • Tools supported

  • JSON-mode supported

  • Structured JSON-schema supported

Model Name:
  • grok-3-mini

  • grok-3-mini-high

Discount:
  • 10% off

Input:
  • $0.27 / 1M Tokens

Output:
  • $0.45 / 1M Tokens

Context:
  • 128,000

Moderation:
  • Unfiltered

Capabilities:
  • Reasoning

  • Tools supported

  • JSON-mode supported

  • Structured JSON-schema supported

Last updated