All models
Grok 4.5
xai/grok-4.5
xAI LLMChat
xAI's latest frontier Grok with a 200K-token fast tier.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/chat/completions \
-H "content-type: application/json" \
-d '{
"model": "xai/grok-4.5",
"messages": [{"role": "user", "content": "<your message>"}]
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/chat/completions \
-J '{"model": "xai/grok-4.5", "messages": [{"role": "user", "content": "<your message>"}]}'Parameters
Input
messages array required
max_completion_tokens string optional
max_tokens string optional
n string optional
How many outputs to generate.
parallel_tool_calls string optional
prompt_cache_key string optional
reasoning_effort string optional
response_format string optional
How the result is returned (e.g. a URL or base64 data).
search_parameters object optional
seed string optional
Random seed for reproducible results — same seed + inputs gives the same output.
service_tier string optional
stream string optional
stream_options object optional
temperature string optional
tool_choice string optional
tools string optional
top_p string optional
user string optional
Optional end-user identifier for abuse monitoring; not required.
web_search_options object optional
Output
Chat completion (OpenAI-compatible)