grok-3
oah/grok-3Deploy grok-3 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
by xAI (Closed Source)
xAI's Grok family brings competitive performance with a focus on real-time knowledge and conversational AI. Compare Grok API pricing and Grok 2 cost. Grok 2 offers strong general capabilities at competitive pricing via the xAI API.
Every Grok request is scanned for 28+ PII entity types — SSNs, credit cards, emails, API keys, and more — before it reaches any provider.
Grok is available across 1 providers. Our Smart Router picks the cheapest one per-request. 30% managed markup / 0% on Pro BYOK.
Change two lines in your OpenAI SDK — base_url and api_key — and every request flows through the Hub. Full backward compatibility.
Per-request logging of token counts, latency, DLP violations, and cost. Never wonder what your AI spend is again.
oah/grok-3Deploy grok-3 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-3-miniDeploy grok-3-mini with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4Deploy grok-4-0709 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4-1-fast-non-reasoningDeploy grok-4-1-fast-non-reasoning with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4-1-fast-reasoningDeploy grok-4-1-fast-reasoning with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4-fast-non-reasoningDeploy grok-4-fast-non-reasoning with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4-fast-reasoningDeploy grok-4-fast-reasoning with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4.20-0309-non-reasoningDeploy grok-4.20-0309-non-reasoning with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4.20-0309-reasoningDeploy grok-4.20-0309-reasoning with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-4.20-multi-agentDeploy grok-4.20-multi-agent-0309 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-code-fast-1Deploy grok-code-fast-1 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-imagine-imageDeploy grok-imagine-image with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-imagine-image-proDeploy grok-imagine-image-pro with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
oah/grok-imagine-videoDeploy grok-imagine-video with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.
Input / Output pricing by provider. Managed Mode adds a 30% managed markup. Pro BYOK = 0% markup.
| Model | Params | Context | Vision | xAI (Grok) |
|---|---|---|---|---|
grok-3 oah/grok-3 | — | — | No | $3.00/$15.00 |
grok-3-mini oah/grok-3-mini | — | — | No | $0.30/$0.50 |
grok-4-0709 oah/grok-4 | — | — | No | $3.00/$15.00 |
grok-4-1-fast-non-reasoning oah/grok-4-1-fast-non-reasoning | — | — | No | $0.20/$0.50 |
grok-4-1-fast-reasoning oah/grok-4-1-fast-reasoning | — | — | No | $0.20/$0.50 |
grok-4-fast-non-reasoning oah/grok-4-fast-non-reasoning | — | — | No | $0.20/$0.50 |
grok-4-fast-reasoning oah/grok-4-fast-reasoning | — | — | No | $0.20/$0.50 |
grok-4.20-0309-non-reasoning oah/grok-4.20-0309-non-reasoning | — | — | No | — |
grok-4.20-0309-reasoning oah/grok-4.20-0309-reasoning | — | — | No | — |
grok-4.20-multi-agent-0309 oah/grok-4.20-multi-agent | — | — | No | — |
grok-code-fast-1 oah/grok-code-fast-1 | — | — | No | $0.20/$1.50 |
grok-imagine-image oah/grok-imagine-image | — | — | No | — |
grok-imagine-image-pro oah/grok-imagine-image-pro | — | — | No | — |
grok-imagine-video oah/grok-imagine-video | — | — | No | — |
What you get at each pricing tier. Hub adds security, governance, and multi-provider routing on top of raw API access.
| Mode | What You Pay | PII Redaction | Budget Caps | Routing | Audit Trail |
|---|---|---|---|---|---|
| Direct to xAI | Provider pricing only | None | None | Manual | None |
| Hub — Managed Mode | Provider + 30% markup | 28+ PII types | Per-key hard caps | Smart Router | Full compliance log |
| Hub — Pro BYOK ($29/mo) | Direct to provider (0% markup) | 28+ PII types | Per-key hard caps | Smart Router | Full compliance log |
Conversational AI with up-to-date knowledge
General-purpose assistant applications
Alternative to GPT-4 for diversified provider strategy
from openai import OpenAI
client = OpenAI(
base_url="https://api.opensourceaihub.ai/v1",
api_key="your_hub_api_key"
)
# Use any virtual model name from the pricing table above
response = client.chat.completions.create(
model="oah/grok-3",
messages=[{"role": "user", "content": "Hello!"}]
)Use any virtual model name from the pricing table above (prefixed with oah/). Works with the standard OpenAI SDK. Every request is PII-scanned before reaching xAI (Closed Source).
Get started with 1,000,000 free credits. Every Grok request is PII-scanned, cost-optimized, and fully logged — zero configuration.
Not ready yet? Get notified about Grok updates:
Meta's open-weights Llama family is the most widely deployed open-source LLM series. Compare Llama API pricing across Gr…
OpenAI's GPT family powers the majority of commercial AI applications. Compare GPT-4 API cost and OpenAI API pricing acr…
Google's Gemini family offers powerful multimodal capabilities with large context windows. Compare Gemini API pricing an…
Anthropic's Claude family is built with safety and reliability at its core. Compare Claude API pricing and Claude Sonnet…
DeepSeek has rapidly risen as a leading open-source model family, known for exceptional coding performance and cost effi…
Model registry last updated: . Pricing shown is the lowest available rate across providers (per 1M tokens, USD). Actual pricing depends on provider and plan.