Skip to content

Add OpenRouter model release dates#3144

Merged
ProgrammerIn-wonderland merged 2 commits into
HeyPuter:mainfrom
nightt5879:nightt5879/openrouter-release-date
May 22, 2026
Merged

Add OpenRouter model release dates#3144
ProgrammerIn-wonderland merged 2 commits into
HeyPuter:mainfrom
nightt5879:nightt5879/openrouter-release-date

Conversation

@nightt5879
Copy link
Copy Markdown
Contributor

Closes #3143

Summary

  • map OpenRouter model created timestamps into release_date metadata
  • add coverage for OpenRouter model catalog release dates

Impact

OpenRouter-backed models returned by /puterai/chat/models/details can now include the same release_date field that other providers expose, using the API-provided creation timestamp formatted as YYYY-MM-DD.

Validation

  • npm run test:backend -- src/backend/drivers/ai-chat/providers/openrouter/OpenRouterProvider.test.ts - 1 file passed, 15 tests passed
  • npm run build:ts - passed
  • git diff --check - passed

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 22, 2026

CLA assistant check
All committers have signed the CLA.

@reynaldichernando
Copy link
Copy Markdown
Member

hi @nightt5879 , thank you for the PR, have you tested that it works with the real API?

@nightt5879
Copy link
Copy Markdown
Contributor Author

nightt5879 commented May 22, 2026

@reynaldichernando
Yes, I tested this against the real OpenRouter /models API.

I checked the DeepSeek V4 models from the live OpenRouter model catalog and confirmed their created timestamps are mapped to release_date correctly:

  • deepseek/deepseek-v4-pro -> 2026-04-24
  • deepseek/deepseek-v4-flash:free -> 2026-04-24
  • deepseek/deepseek-v4-flash -> 2026-04-24
image

@nightt5879 nightt5879 marked this pull request as ready for review May 22, 2026 08:11
@reynaldichernando
Copy link
Copy Markdown
Member

can confirm its working, and tests are passing
image

will let @ProgrammerIn-wonderland merge this

@ProgrammerIn-wonderland ProgrammerIn-wonderland merged commit 7438db7 into HeyPuter:main May 22, 2026
4 checks passed
@nightt5879 nightt5879 deleted the nightt5879/openrouter-release-date branch May 25, 2026 02:13
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.

Add release_date data for openrouter models

4 participants