blockrun_chat
Send messages to various AI models including GPT-5.6-sol, Claude Opus 4.8, and Kimi K3. Select modes for reasoning, coding, or cost-efficient queries.
Instructions
Get a second opinion from another AI model, or use a specialized model for a specific task.
Notable modes:
mode:"powerful" → Claude Opus 4.8, GPT-5.6-sol, Claude Fable 5 (frontier, 1M context)
mode:"reasoning" → Claude Opus 4.8, GPT-5.6-sol, Kimi K3, Grok 4.3, deepseek-v4-pro
mode:"coding" → Claude Opus 4.8, GPT-5.3-codex, Kimi K3, Grok Build, GLM-5.2
mode:"cheap" → deepseek-v4-pro, MiniMax M3, GLM-5, NVIDIA free
mode:"glm" → Zhipu GLM-5 / 5.2 / 5.1 / 5-Turbo (cheap, strong at coding)
mode:"free" → NVIDIA models (no cost)
Pick directly: model:"moonshot/kimi-k3", model:"openai/gpt-5.6-sol", model:"anthropic/claude-opus-4.8", model:"xai/grok-4.5", model:"nvidia/deepseek-v4-flash" (free).
Run blockrun_models to see all available models with pricing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Routing mode: powerful/reasoning = frontier models (Opus 4.8, GPT-5.6-sol, Kimi K3), coding = code-specialized, glm = Zhipu GLM (cheap, great for coding), cheap = budget models, free = NVIDIA only (ignored if model specified) | |
| stop | No | Up to 4 stop sequences; generation halts when any is produced | |
| model | No | Specific model ID (e.g., 'moonshot/kimi-k3', 'openai/gpt-5.6-sol', 'zai/glm-5') | |
| system | No | Optional system prompt | |
| message | Yes | Your message to the AI | |
| agent_id | No | Agent identifier. If a budget was delegated for this agent_id via blockrun_wallet action:'delegate', spending is tracked and enforced. The agent is hard-stopped when its budget is exhausted. | |
| messages | No | Conversation history for multi-turn context. When provided, 'message' is appended as the final user turn. Use with explicit 'model' param (defaults to 'openai/gpt-5.6-terra' if not specified). Note: if you include a role:'system' entry in messages[], do not also pass the system param to avoid duplicate system messages. | |
| thinking | No | Anthropic extended thinking. Only honored for anthropic/claude-* models — these go direct to the native /v1/messages endpoint and the response includes verbatim type:'thinking' blocks with their original signature. Ignored for non-Claude models (no native thinking channel). | |
| max_tokens | No | Max tokens in response | |
| temperature | No | Creativity 0-2 | |
| response_format | No | Set to 'json_object' to force valid JSON output (no markdown fences). Works across all providers. |