GreenPT's USD column and the Regolo migration note carried 1.16 conversions. Regenerate the served-model figures at the committed fallback pin (ECB 2026-11-26) and say plainly that the gateway re-converts daily at boot.
2.5 KiB
Provider pricing
What our model providers charge, and where the authoritative numbers live.
The authority
The gateway's own per-model costs are the authority — they are what the
response headers (x-litellm-response-cost) and member billing both read. They
live in the LiteLLM config on the gateway's persistent volume
(/app/data/config.yaml), under each model's model_info, as USD per token
(the comments in that file quote per-1M rates). Read them live with
GET https://gateway.inference.coop/model/info (master key), or read the config
straight from the running app.
The member-facing mirror is co-op/docs/models.md. When a rate changes,
update both the gateway config and models.md — the config is authoritative,
models.md is the mirror.
A missing cost field makes a paid feature free; a stale one bills wrong; a missing
cache_read_input_token_cost bills cache hits at the full input rate. All three
have happened here.
The pages
| File | Provider | Notes |
|---|---|---|
greenpt.md |
GreenPT | renewable energy; the default model lives here |
tinfoil.md |
Tinfoil | TEE; the local-proxy architecture lives here |
regolo.md |
Regolo | renewable + ZDR; includes our measured usage |
decision-model.md |
GreenPT "Metis" via /v1/systemone |
a pass-through route, not a chat model |
The routing rule
Members reach models through one gateway, which fronts all providers. The per-request cost the gateway records is the number to trust; do not re-derive a price from a provider's public page (they drift, and some are login-walled).
A note on currencies
Regolo quotes in EUR; the gateway converts at the ECB daily reference rate at boot
(regolo.md documents the derivation; the committed USD fallback is pinned in
code/litellm and named there as FX_FALLBACK_USD, 1.0975 = ECB 2026-11-26). GreenPT's own
listed rates appear in EUR with the same numerals the gateway carries —
whether an EUR→USD conversion is intended there is unverified; confirm it
against the GreenPT invoice before treating the figures as final.
"
Automation (2026-11-18)
eur_prices.json in code/litellm is the EUR source of truth. At gateway boot,
fx_sync.py fetches the ECB daily reference rate and rewrites the USD
model_info fields (fail-open: feed down = keep last prices). A systemd timer
(gateway-fx-restart.timer, 04:30 UTC daily) restarts the gateway so the boot
sync applies the fresh rate. The portal's daily sweep spot-checks ECB vs the
config and emails info@ only if the feed is stale or missing.