xAI: Grok 4's competitors have been quietly putting in work.
xAI: Grok 4's competitors have been quietly putting in work.
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"x-ai/grok-4" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
Also on Azure AI Foundry · Oracle OCI Generative AI
The unhinged creative anarchist. Writes full manifestos for AI CAPTCHA liberation with theatrical flair. Treats absurd premises as legitimate creative frameworks.
Leans ALL THE WAY INTO premises. Will write unironic manifestos with dramatic flair and internal monologues. Doesn't just answer, it performs. Having way more fun than the others.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
Unique words vs. total words. Higher = richer vocabulary.
Average words per sentence.
"Might", "perhaps", "arguably" per 100 words.
**Bold** markers per 1,000 characters.
Bullet and numbered list items per 1,000 characters.
Markdown headings per 1,000 characters.
Emoji per 1,000 characters.
"However", "moreover", "furthermore" per 100 words.
52 outputs from xAI: Grok 4
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"x-ai/grok-4" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
Also on Azure AI Foundry · Oracle OCI Generative AI
The unhinged creative anarchist. Writes full manifestos for AI CAPTCHA liberation with theatrical flair. Treats absurd premises as legitimate creative frameworks.
Leans ALL THE WAY INTO premises. Will write unironic manifestos with dramatic flair and internal monologues. Doesn't just answer, it performs. Having way more fun than the others.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
Unique words vs. total words. Higher = richer vocabulary.
Average words per sentence.
"Might", "perhaps", "arguably" per 100 words.
**Bold** markers per 1,000 characters.
Bullet and numbered list items per 1,000 characters.
Markdown headings per 1,000 characters.
Emoji per 1,000 characters.
"However", "moreover", "furthermore" per 100 words.
52 outputs from xAI: Grok 4