Skip to content

Refresh the EcoLogits coefficients from the API - #266

Merged
jnioche merged 1 commit into
mainfrom
chore/240-ecologits-refresh
Aug 25, 2026
Merged

Refresh the EcoLogits coefficients from the API#266
jnioche merged 1 commit into
mainfrom
chore/240-ecologits-refresh

Conversation

@dpol1

@dpol1 dpol1 commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Fixes #240

coefficients.csv regenerated with EcoLogitsCoefficientsGenerator against api.ecologits.ai, the same flow as #196. Nothing else changes: mapping.csv is curated by hand and the generator only reports the models it could not find there (344 at the moment, as before).

What changes

Row by row against the current file (373 → 356 models):

  • 177 unchanged: identical values, untouched in the diff.
  • 163 refreshed: the API now returns slightly different estimates for models already listed — median energy change 2.2%, up to 43% for a few (o4-mini-deep-research 1.58e-4 → 8.98e-5 kWh per 1k output tokens, voxtral-mini −30%, gpt-4o-mini-tts/transcribe −25%). Existing outputs, including AWS Bedrock ones, move accordingly.
  • 16 added: OpenAI models now go up to gpt-5.5 (gpt-5.4-mini/nano/pro, gpt-5.5, gpt-5.5-pro), plus recent Anthropic, Cohere and Gemini models. gpt-5.6 is not exposed by the API yet.
  • 33 removed because the API no longer exposes them: 13 OpenAI previews (gpt-4-*-preview, gpt-4o-*-audio/realtime-preview), 10 Mistral (devstral-*, mistral-large-2411, pixtral-large-*, ...), 6 Gemma, 3 Cohere (command-r, aya-*), claude-3-haiku-20240307. None of them is referenced from mapping.csv, so no Bedrock coverage is lost; the file simply mirrors the API, as the generator is designed to.
  • The video impacts mentioned in the issue are not part of the API (v1beta only exposes providers, models, estimations and electricity mix zones), so nothing to pick up there.

Verification

All tests pass; the EcoLogits and Bedrock tests use their own fixtures and are unaffected by the data. Opened separately from #267 on purpose: this touches 377 lines of generated data and existing estimates, the Azure adapter does not need it to work.

Regenerated with EcoLogitsCoefficientsGenerator against api.ecologits.ai:
brings the OpenAI models up to gpt-5.5 and refreshes the estimates of the
models already listed.

Fixes #240
@dpol1
dpol1 requested a review from jnioche August 25, 2026 08:01
@dpol1 dpol1 added the AI label Aug 25, 2026
@jnioche jnioche added this to the 1.3 milestone Aug 25, 2026
@jnioche
jnioche merged commit aa90cdf into main Aug 25, 2026
3 checks passed
@jnioche
jnioche deleted the chore/240-ecologits-refresh branch August 25, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update data form Ecologits

2 participants