Skip to content

Image models price key mismatch #2324

@reynaldichernando

Description

@reynaldichernando

the problem here is, there is mismatch with what index_cost_key says, and what costs actually have
so for example this one, we have a key of 1024x1024, but there is no such key in the costs property

note that this seems to only be the case with direct integration models, the together ai integration actually has the proper costs

{
      "id": "gemini-2.5-flash-image",
      "aliases": [
        "gemini-2.5-flash-image-preview"
      ],
      "name": "Gemini 2.5 Flash Image",
      "version": "1.0",
      "costs_currency": "usd-cents",
      "index_cost_key": "1024x1024",
      "allowedQualityLevels": [...],
      "costs": {
        "1x1": 3.9,
        "2x3": 3.9,
        "3x2": 3.9,
        "3x4": 3.9,
        "4x3": 3.9,
        "4x5": 3.9,
        "5x4": 3.9,
        "9x16": 3.9,
        "16x9": 3.9,
        "21x9": 3.9
      },
      "allowedRatios": [...],
      "provider": "gemini-image-generation"
    },
    ...
]

https://puter.com/puterai/image/models/details

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions