LLM Pipeline

Editorial enrichment (editorial._llm_complete) with a free-first provider chain and
per-feature cost accounting.

Provider order

Groq → OpenRouter → DeepSeek → Ollama

Free tiers first, paid DeepSeek third, local Ollama last. (Racing + RSSSPORTS editorial
must stay free-first; see deepseek-token-harness for DeepSeek-Pro usage.)

Cost tracking

Reporting

Pricing

llm_log.PRICES holds the per-1M-token table. Unpriced models are counted and
flagged
, not silently zeroed.

Provider health / balance

Guardrail

Public site copy must never reveal AI/LLM/paraphrasing usage — neutral wording only.