Crazyrouter Chat

Chat with 627+ AI models via Crazyrouter. GPT-5, Claude Opus 4.6, Gemini 3, DeepSeek R1, Llama 4, Qwen3, Grok 4. Use when user wants to query a specific model, compare model responses, or get a second opinion from a different AI. Requires environment variable CRAZYROUTER_API_KEY (get at https://crazyrouter.com).

Audits

Malicious

Install

openclaw skills install crazyrouter-chat

Multi-Model Chat via Crazyrouter

Chat with any of 627+ AI models through Crazyrouter — one API key, all providers.

Supported Models (highlights)

ProviderModels
OpenAIgpt-5, gpt-5-mini, gpt-4.1, gpt-4o, o3, o4-mini
Anthropicclaude-opus-4-6, claude-sonnet-4, claude-haiku-3.5
Googlegemini-3-pro, gemini-2.5-flash
DeepSeekdeepseek-r1, deepseek-v3
Metallama-4-scout, llama-4-maverick
Alibabaqwen3-235b, qwen3-32b
xAIgrok-4, grok-3
Mistralmistral-large, codestral

Script Directory

Agent Execution:

  1. SKILL_DIR = this SKILL.md file's directory
  2. Script path = ${SKILL_DIR}/scripts/main.mjs

Step 0: Check API Key ⛔ BLOCKING

[ -n "${CRAZYROUTER_API_KEY}" ] && echo "key_present" || echo "not_set"
ResultAction
key_presentContinue
not_setAsk user to set CRAZYROUTER_API_KEY. Get key at https://crazyrouter.com

Usage

# Ask GPT-5 a question
node ${SKILL_DIR}/scripts/main.mjs --model gpt-5 --prompt "Explain quantum computing in 3 sentences"

# Compare models
node ${SKILL_DIR}/scripts/main.mjs --model deepseek-r1 --prompt "Write a sorting algorithm in Python"
node ${SKILL_DIR}/scripts/main.mjs --model claude-opus-4-6 --prompt "Write a sorting algorithm in Python"

# With system prompt
node ${SKILL_DIR}/scripts/main.mjs --model gemini-3-pro --system "You are a pirate" --prompt "Tell me about the weather"

# With temperature
node ${SKILL_DIR}/scripts/main.mjs --model gpt-5-mini --prompt "Write a poem" --temperature 1.2

# Save output to file
node ${SKILL_DIR}/scripts/main.mjs --model gpt-5 --prompt "Write a README" --output readme.md

# List available models
node ${SKILL_DIR}/scripts/main.mjs --list-models

Options

OptionDescriptionDefault
--prompt <text>User message (required)
--model <id>Model to usegpt-5-mini
--system <text>System prompt
--temperature <num>Sampling temperature (0-2)
--max-tokens <num>Max response tokens
--output <path>Save response to file
--list-modelsList popular models
--jsonOutput raw JSON