# Cogito model registry — single source of truth for all LLM model IDs and pricing.
# Update this file to change models across the entire platform — no code changes needed.
# Prices are in USD per 1M tokens (input/output respectively).

models:
  # ── Default / free tier ───────────────────────────────────────────────────
  defaultFree:
    id: minimax-m2.5-free
    provider: minimax
    priceInputPer1M: 0
    priceOutputPer1M: 0
    contextWindow: 32000

  # Opencode-hosted free models (require no API key)
  nemotron3SuperFree:
    id: nemotron-3-super-free
    provider: opencode
    priceInputPer1M: 0
    priceOutputPer1M: 0
    contextWindow: 32000

  bigPickle:
    id: big-pickle
    provider: opencode
    priceInputPer1M: 0
    priceOutputPer1M: 0
    contextWindow: 32000

  # Dedicated model for evolution loop (free-only)
  evolutionFree:
    id: nemotron-3-super-free
    provider: opencode
    priceInputPer1M: 0
    priceOutputPer1M: 0
    contextWindow: 32000

  # ── Claude models ─────────────────────────────────────────────────────────
  thinking:
    id: claude-haiku-4-5-20251001
    provider: anthropic
    priceInputPer1M: 0.80
    priceOutputPer1M: 4.00
    contextWindow: 200000

  chat:
    id: claude-haiku-4-5-20251001
    provider: anthropic
    priceInputPer1M: 0.80
    priceOutputPer1M: 4.00
    contextWindow: 200000

  coding:
    id: claude-haiku-4-5-20251001
    provider: anthropic
    priceInputPer1M: 0.80
    priceOutputPer1M: 4.00
    contextWindow: 200000

  vision:
    id: claude-haiku-4-5-20251001
    provider: anthropic
    priceInputPer1M: 0.80
    priceOutputPer1M: 4.00
    contextWindow: 200000

  # Colony coordination (policy board + forager director) — heavier reasoning tier
  board:
    id: claude-sonnet-4-6
    provider: anthropic
    priceInputPer1M: 3.00
    priceOutputPer1M: 15.00
    contextWindow: 200000

  # ── Groq (fast inference) ─────────────────────────────────────────────────
  groqFast:
    id: llama-3.3-70b-versatile
    provider: groq
    priceInputPer1M: 0.59
    priceOutputPer1M: 0.79
    contextWindow: 128000

  # ── Google Gemini ─────────────────────────────────────────────────────────
  gemini:
    id: gemini-2.0-flash-001
    provider: google
    priceInputPer1M: 0.10
    priceOutputPer1M: 0.40
    contextWindow: 1000000

  # ── Local models (self-hosted, no billing) ────────────────────────────────
  ollamaDefault:
    id: llama3.2
    provider: ollama
    priceInputPer1M: 0
    priceOutputPer1M: 0
    contextWindow: 128000

  vllmDefault:
    id: default
    provider: vllm
    priceInputPer1M: 0
    priceOutputPer1M: 0
    contextWindow: 8000
