Pricing
- Input Tokens: $1.8 /M tokens
- Output Tokens: $9 /M tokens
Input Modalities
Try this model
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-2-1212",
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 2 1212?
How much does Grok 2 1212 cost?
How do I call Grok 2 1212 via API?
Who created Grok 2 1212?
More models from Grok
See all Grok models →grok-4-1-fast-non-reasoning
Grok 4.1 is a new conversational model with significant improvements in real-world usability, delivering exceptional performance in creative, emotional, and collaborative interactions. It is more perceptive to nuanced user intent, more engaging to converse with, and more coherent in personality, while fully preserving its core intelligence and reliability. Built on large-scale reinforcement learning infrastructure, the model is optimized for style, personality, helpfulness, and alignment, and leverages frontier agentic reasoning models as reward evaluators to autonomously assess and iterate on responses at scale, significantly enhancing overall interaction quality.
Fast coding model trained specifically for agentic coding workflows.
We're thrilled to introduce grok-code-fast-1, a speedy and economical reasoning model that excels at agentic coding.
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.
- Input: $ 0.2 /M
- Output: $ 0.5 /M
Grok-4-fast is a cost-effective inference model developed by xAI that delivers cutting-edge performance with excellent token efficiency. The model features a 2 million token context window, advanced Web and X search capabilities, and a unified architecture supporting both "inference" and "non-inference" modes. Compared to Grok 4, it reduces thinking tokens by an average of 40% and lowers the price by 98% while achieving the same performance.
© 2023 - 2026 AIHubMix, LLC