# Cockpit Model Routing Policy

Created: 2026-05-04

## Cost rule

No new paid API routes, subscriptions, or pay-as-you-go token usage without Ali's explicit approval.

## Preferred model/source order

1. Existing OpenAI Codex OAuth / Pro-entitled routes already authenticated by Ali.
2. Existing local/free routes already configured.
3. Shell/tool-first execution with LLM only for summarization when possible.
4. Paid API-key routes only when Ali explicitly approves that usage.

## Current known OpenClaw route

- `openai-codex/gpt-5.4` via Codex OAuth: primary high-capability route.
- `gpt54`: OpenClaw alias to the Codex OAuth GPT-5.4 route.
- `api-gpt54`: older direct/API route retained only as fallback/reference; avoid unless funded/approved.
- `ollama-gpc/qwen3:14b-wild`: fallback route if available; not assumed always online.

## Agent defaults

- Rocky Chief Orchestrator: current Hermes session model/provider; may use existing Codex OAuth where configured.
- Code/product agents: `openai-codex/gpt-5.4` / `gpt54` when using OpenClaw/Codex OAuth.
- Infrastructure/backup/homelab agents: shell-first; summarize using current Hermes model only.
- Research analyst: current Hermes model plus web/search tools; cite sources.
- Alpha/trading research: strongest existing/free/OAuth route available; never weak/cheap model for trading judgment.
- Trading execution: disabled.
- Media/content: local/free tools first; paid generation only with explicit request/approval.

## Change logging

Every durable model change must be recorded in:

- `/Users/alharbi/.hermes/ops/cockpit/MODEL_ROUTING.md`
- `/Users/alharbi/.hermes/ops/cockpit/agents.yaml`
- ROG mirror under `/data/ai-stack/cockpit/`
