feat(catalog): add StepFun providers#357
Open
jimpablo wants to merge 5 commits into
Open
Conversation
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.
Motivation
Add StepFun Step-series reasoning models to the provider catalog, following the domestic/international split used by
minimax,moonshot, andxiaomi.What's added
Four
openai-compatibleproviders, all servingstep-3.7-flash,step-3.5-flash, andstep-3.5-flash-2603:stepfunhttps://api.stepfun.ai/v1stepfun-cnhttps://api.stepfun.com/v1stepfun-step-planhttps://api.stepfun.ai/step_plan/v1stepfun-step-plan-cnhttps://api.stepfun.com/step_plan/v1step-3.7-flashis multimodal (text + image); thestep-3.5-flashvariants are text-only.reasoning_effort(low/medium/highonly — StepFun exposes nooff/minimal).Pricing
USD per 1M tokens, same for all four providers:
step-3.7-flashstep-3.5-flashstep-3.5-flash-2603Checks
uv run pytest— 740 passeduv run ruff check ./ruff format --check .— cleanuv run mypy— cleanCatalog-only change; no Python or architectural changes.