ModelsPricingDocs
Sign inPlatform

Product

  • Models
  • Pricing
  • Docs
  • Platform

Company

  • About
  • Contact

Legal

  • Terms
  • Privacy
  • Refund Policy

Community

© 2026 DEEPQUEST PTE. LTD. · UEN 202625539W · Singapore

Models
Grok

Grok 4.7

Official

xai/grok-4.7

xAI Grok 4.7 flagship. Strong reasoning, agentic coding and tool use, accepts image input, with a 500K-token context window, served over an OpenAI-compatible protocol.

This model is available to accounts that have topped up. Top up and you can call it right away. Go to billing

New to OneHop? Join our Telegram group to claim $1 in credit

Join the OneHop Telegram group and contact the group owner to claim $1 in new-user credit.

Join group to claim
500K contextVisionReasoningTool callingCodingPrompt cache

Pricing

InputOfficial $2 / M tokens
$0.3/ M tokensSave 85%
OutputOfficial $6 / M tokens
$0.9/ M tokensSave 85%

Cache read $0.075/M · Cache write —/M

TierInputCache readCache writeOutput
Standard ≤200K$0.3$0.075—$0.9
Standard >200K$0.6$0.15—$1.8

Estimate cost

Estimated cost$0.0039

Protocols

  • OpenAI Chat CompletionsStatus: Available: Streaminghttps://api.onehop.ai/v1
  • OpenAI ResponsesStatus: Available: Streaminghttps://api.onehop.ai/v1
  • Anthropic MessagesStatus: Not supported—
  • Google Vertex AIStatus: Not supported—
  • OpenAI ImagesStatus: Not supported—
  • OpenAI SoraStatus: Not supported—
  • OpenAI EmbeddingsStatus: Not supported—
  • OpenAI Audio Speech (TTS)Status: Not supported—
  • OpenAI Audio Transcription (STT)Status: Not supported—

Try it in the chat playground

Call IDs

Use either ID to call this model via the API.

OneHop namexai/grok-4.7

Usable Model IDs

You can use these names directly in the request model field.

grok-4.5xai/grok-4.5

Try it

Replace the ONEHOP_KEY placeholder with your API key. Create one →

from openai import OpenAI

client = OpenAI(
    base_url="https://api.onehop.ai/v1",
    api_key="<ONEHOP_KEY>",
)

completion = client.chat.completions.create(
    model="xai/grok-4.7",
    messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)
base_url: https://api.onehop.ai/v1

Other variants in this family

GrokGrok 4.6

xAI Grok 4.6 — August 2026 reasoning model, succeeded by Grok 4.7, 500K context.

$0.3/M↓ · $0.9/M↑