Skip to content

feat(openrouter/free): add free router#1044

Open
shrwnsan wants to merge 2 commits intoanomalyco:devfrom
shrwnsan:feat/openrouter-routers
Open

feat(openrouter/free): add free router#1044
shrwnsan wants to merge 2 commits intoanomalyco:devfrom
shrwnsan:feat/openrouter-routers

Conversation

@shrwnsan
Copy link

@shrwnsan shrwnsan commented Feb 26, 2026

Summary

  • Add openrouter/free model - OpenRouter's free models router (0/M tokens, 200K context)

Changes

  • providers/openrouter/models/openrouter/free.toml - new model (added)

Verification

  • bun validate passes
  • Schema compliant (added limit.input as required field)

Notes

- Remove auto router (cost varies, doesn't fit schema)
- Add limit.input = 200_000 to free.toml (schema requirement)

OpenRouter's auto router has 'pricing varied' - it charges based on the
routed model. This doesn't fit the numeric cost schema required by
models.dev, so we're removing it. The free router is retained as it
genuinely costs $0.
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.

1 participant