grok-vision-beta
- Input Tokens: $5.600 /M tokens
- Output Tokens: $16.800 /M tokens
- Text
- Vision
- Text
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AIHUBMIX_API_KEY"],
base_url="https://aihubmix.com/v1",
)
response = client.chat.completions.create(
model="grok-vision-beta",
messages=[
{
"role": "user",
"content": "Hello, how are you?"
}
],
max_tokens=1024,
stream=False,
)
print(response.choices[0].message.content)- Input: $ 2 /M Tokens
- Output: $ 6 /M Tokens
Grok 4.5 was trained on datasets spanning knowledge in coding, science, engineering, and math. With both intelligent and efficient reasoning, Grok 4.5 excels at real engineering tasks and exceeds comparable leading models at these tasks.
Fast coding model trained specifically for agentic coding workflows.
Grok 4.3 is amongst the leading models in intelligence and well priced when comparing to other models of similar price. It's also notably fast, however very verbose. The model supports text and image input, outputs text, and has a 1m tokens context window.
Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal understanding, and enterprise use. It improves instruction following, honesty, and calibration over earlier Grok versions, while supporting both single‑agent and multi‑agent workflows. Designed as a general‑purpose, truth‑seeking assistant, Grok 4.2 is well suited for research, analysis, coding, and complex professional tasks when deployed with appropriate guardrails.
Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal understanding, and enterprise use. It improves instruction following, honesty, and calibration over earlier Grok versions, while supporting both single‑agent and multi‑agent workflows. Designed as a general‑purpose, truth‑seeking assistant, Grok 4.2 is well suited for research, analysis, coding, and complex professional tasks when deployed with appropriate guardrails.
Grok 4.20 is our newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses.
AIHubMix© 2023 - 2026 AIHubMix, LLC