Skip to content

Incorrect pricing for OpenRouter :free model variants #701

@alejandrosnz

Description

@alejandrosnz

In the API that lists all LLMs on the market, there is an issue with pricing for some OpenRouter models that have a :free variant.

Currently, both the paid model and its :free variant are returned with a cost of 0, which is incorrect.

The expected behavior is:

  • The paid model should show its actual pricing
  • The :free variant should have cost: 0

Example

"mistralai/mistral-small-3.2-24b-instruct": {
  "id": "mistralai/mistral-small-3.2-24b-instruct",
  "cost": { "input": 0, "output": 0 }
},
"mistralai/mistral-small-3.2-24b-instruct:free": {
  "id": "mistralai/mistral-small-3.2-24b-instruct:free",
  "cost": { "input": 0, "output": 0 }
}

In this case, the paid model should not have a zero cost.

Scope

I’ve observed this issue in:

  • mistralai/mistral-small-3.2-24b-instruct
  • Google Gemma models with :free variants

But it could be others

Expected behavior

  • Paid models expose correct pricing
  • Only :free variants have cost.input = 0 and cost.output = 0

Metadata

Metadata

Assignees

No one assigned

    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