Skip to content

Add DeepSeek V4 Flash 0731 to OpenRouter - #469

Draft
knyazev741 wants to merge 1 commit into
ridgesai:mainfrom
knyazev741:codex/deepseek-v4-openrouter
Draft

Add DeepSeek V4 Flash 0731 to OpenRouter#469
knyazev741 wants to merge 1 commit into
ridgesai:mainfrom
knyazev741:codex/deepseek-v4-openrouter

Conversation

@knyazev741

Copy link
Copy Markdown

What

  • expose deepseek-ai/DeepSeek-V4-Flash-0731 through the existing OpenRouter provider
  • map it explicitly to deepseek/deepseek-v4-flash-0731
  • add unit coverage for the exact slug and catalog-derived context/pricing metadata

Why

Ridges currently cannot route evaluations requesting the new DeepSeek V4 Flash model even though OpenRouter exposes it. This keeps the provider contract explicit and leaves pricing/context discovery to OpenRouter's model catalog.

Validation

  • python -m pytest -q — 505 passed
  • ruff check tests/inference_gateway/test_openrouter_models.py
  • ruff format --check tests/inference_gateway/test_openrouter_models.py inference_gateway/providers/openrouter.py
  • git diff --check

No paid inference calls were made.

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