Skip to content

adjust and refactor together models costs#2811

Merged
ProgrammerIn-wonderland merged 2 commits intoHeyPuter:mainfrom
P3il4:together-models
Apr 17, 2026
Merged

adjust and refactor together models costs#2811
ProgrammerIn-wonderland merged 2 commits intoHeyPuter:mainfrom
P3il4:together-models

Conversation

@P3il4
Copy link
Copy Markdown
Contributor

@P3il4 P3il4 commented Apr 15, 2026

  • adjust models pricing according to together docs
  • remove deprecated models, add missing models
  • adjust image aliases to follow "service:org/model" -> "org/model" + "model" rule
  • refactor pricing: 3 pricing units: per-mp, per-image, per-tier (geminis quality)

costkeys example:

"togetherai:black-forest-labs/flux_dot_1-schnell:1MP": {
    "units": 27.262976,
    "cost": 7361003.52,
    "count": 17
},
"togetherai:black-forest-labs/flux_dot_2-dev:per-image": {
    "units": 8,
    "cost": 12320000,
    "count": 8
},
"togetherai:google/gemini-3-pro-image:1K": {
    "units": 24,
    "cost": 321600000,
    "count": 24
},

tested with real key and mock server
testing:

puter.ai.txt2img('sakura trees', options = {
model: "togetherai:google/flash-image-3.1", 
ratio: {w: 8, h: 1}, 
quality: '1K'}).then(img => document.body.appendChild(img))

@ProgrammerIn-wonderland ProgrammerIn-wonderland merged commit eaad07e into HeyPuter:main Apr 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants