feat(302ai): add deepseek-flash (DeepSeek-V4.1-Flash) - #7033
Merged
Merged
Conversation
302.AI serves DeepSeek-V4.1-Flash as `deepseek-flash`. Cost from the live catalog ($0.15/$0.60 per MTok, $0.003 cache-read). Reasoning controls verified live: thinking.type toggle suppresses reasoning_content; effort is validated (low|high|max, matching DeepSeek first-party mapping); reasoning_content side channel confirmed.
Contributor
|
No actionable findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add DeepSeek-V4.1-Flash to the 302.AI catalog. 302.AI serves this model under the routing ID
deepseek-flash(catalog SKU created 2026-09-08), so the provider file isproviders/302ai/models/deepseek-flash.toml, inheriting lab metadata viabase_model = "deepseek/deepseek-v4.1-flash".Sources & Documentation
POST https://api.302.ai/v1/models?include_custom_models=1&llm=1(retrieved 2026-09-14)deepseek-flash: context 1,000,000; USD per MTokinput = $0.150,output = $0.600,cache_read = $0.003— matches DeepSeek first-party pricing for V4.1-Flash (providers/deepseek/models/deepseek-flash.toml, off-peak rate per https://api-docs.deepseek.com/quick_start/pricing).POST https://api.302.ai/v1/chat/completions, 2026-09-14, SKUdeepseek-flash):reasoning_contentin the message pluscompletion_tokens_details.reasoning_tokens— side channel confirmed.thinking.type = "disabled"suppresses reasoning entirely (noreasoning_content,reasoning_tokens = 0) — toggle verified.reasoning_effortvalues are rejected (-10003) — the effort field is parsed upstream, not silently ignored.Reasoning Controls (Relay Classification)
Per
AGENTS.md/audit-reasoning-options: 302.AI is a multi-model relay; controls mirror the underlying lab surface (DeepSeek first-party mapsthinking.typetoggle +reasoning_effort = low|high|max) and are additionally live-verified on this host (see probes above):Notes
is_featured = false; it is added here explicitly per host request, and itsreasoningmetadata flag isfalsewhile the model provably streams reasoning (probes above), consistent with the catalog's unreliable reasoning metadata on other SKUs (e.g.gpt-5.6-sol).deepseek-v4.1-flash-expires-on-0910also serves this model and shows identical behavior; not added since it is a dated/expiring alias.Verification
bun validate: Passed with 0 errors.