feat(stepfun-ai): add step-5-preview - #7657
Merged
rekram1-node merged 1 commit intoSep 21, 2026
Merged
Conversation
StepFun's flagship base model, verified live on the Global PAYG gateway (api.stepfun.ai/v1). Reuses existing lab metadata (models/stepfun/step-5-preview.toml): 1M-token context/input, text/image/video input, reasoning + tool calling + structured output, closed weights. Provider override: reasoning_effort accepts low/medium/high; reasoning side channel is reasoning_content; per-token cost input 1.00, output 2.70, cache_read 0.05 USD/MTok. Standalone file (not symlinked to providers/stepfun) because China (api.stepfun.com) is unverified with a Global key (401). Global Step Plan (step_plan/v1) verified absent for this model, so not added there. Sources: - https://platform.stepfun.ai/docs/en/guides/models/step-5-preview - https://platform.stepfun.ai/docs/en/guides/pricing/details - GET https://api.stepfun.ai/v1/models (accessed 2026-09-21) bun validate passes.
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
Adds
step-5-previewto thestepfun-ai(Global PAYG) provider, which serves it atapi.stepfun.ai/v1but has no catalog entry, sostepfun-ai/step-5-previewis unselectable in OpenCode. Reuses existingstepfun/step-5-previewlab metadata +base_modeloverride pattern.Data sources (all accessed 2026-09-21)
reasoning_efforton Chat,output_config.efforton Messages).GET https://api.stepfun.ai/v1/modelslistsstep-5-previewwithreasoning_effort_support_list: ["low","medium","high"],max_input_tokens: 1024000,supported_protocols: ["chat","messages","responses"];POST /v1/chat/completionssucceeds with areasoning_contentside channel.Files
providers/stepfun-ai/models/step-5-preview.toml(new, override-only): effort low/medium/high,[interleaved] field = "reasoning_content",[cost]1 / 2.7 / 0.05.providers/stepfun-ai/provider.toml: effort comment extended to step-5-preview; Responses line updated (API reportsresponsessupport).Judgment calls
providers/stepfun/: China (api.stepfun.com) returns 401 for a Global key, so parity is unverified — happy to convert to canonical+symlink if a maintainer confirms.stepfun-ai-step-plan: Global Step Plan/modelsreturns only 3.5 models for a working key.output = 1M: inherited lab value per feat(stepfun-step-plan): add step-5-preview #7544 precedent; flagging in case an override is preferred.temperature/knowledgeomitted (undocumented).Validation
bun validatepasses; resolved entry merges as expected.