Model prices and availability change. Treat the local model catalog as package metadata, then verify provider pricing before publishing a production cost estimate.
Query-time cost
Example chat config that keeps context bounded:
SDK
Ingestion-time cost
Reranking cost choices
Rewrite cost choices
Query rewriting is useful for ambiguous follow-ups, but unnecessary for standalone questions.
Use a smaller LLM for rewrite when your final answer model is larger.
Maintenance savings
Do not re-ingest everything for every source change. Use stable IDs and a source manifest.- Re-ingest the changed source.
- Upsert new chunks by ID.
- Delete old IDs that disappeared.
- Leave unchanged sources untouched.

