fix(stepfun): update provider endpoints and pricing#1366
Draft
cantalupo555 wants to merge 1 commit intoanomalyco:devfrom
Draft
fix(stepfun): update provider endpoints and pricing#1366cantalupo555 wants to merge 1 commit intoanomalyco:devfrom
cantalupo555 wants to merge 1 commit intoanomalyco:devfrom
Conversation
- Migrate API and doc URLs from stepfun.com to stepfun.ai (international platform) - Update step-3.5-flash cost to match official pricing (input $0.10, output $0.30, cache_read $0.02)
Contributor
|
i know nothing about the provider, are u sure thats the correct urls? I need some evidence cause this could be an attack vector |
Contributor
Author
|
@rekram1-node curl https://api.stepfun.ai/v1/models \
-H "Authorization: Bearer 2yzIOTelUt[...]Pwz"{
"data": [
{
"id": "step-tts-2",
"object": "model",
"created": 1766113244,
"owned_by": "stepai"
},
{
"id": "step-3.5-flash",
"object": "model",
"created": 1769580058,
"owned_by": "stepai"
},
{
"id": "step-3.5-flash-paid",
"object": "model",
"created": 1770681764,
"owned_by": "stepai"
},
{
"id": "step-3.5-flash-2603",
"object": "model",
"created": 1774709640,
"owned_by": "stepai"
}
],
"object": "list"
} |
Contributor
Author
|
@rekram1-node I made a discovery: the
|
Contributor
Author
|
Sorry, I'm going to change this PR from The endpoint https://platform.stepfun.com/docs/zh/api-reference/chat/chat-completion-create https://platform.stepfun.ai/docs/en/api-reference/chat/chat-completion-create |
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
This PR updates the StepFun provider configuration to reflect their platform migration from stepfun.com to stepfun.ai. The API endpoint, documentation URL, and pricing for the step-3.5-flash model are updated to match the current official documentation.
Changes
https://api.stepfun.com/v1tohttps://api.stepfun.ai/v1https://platform.stepfun.ai/docs/en/guides/basic-conceptsBreaking Changes
api.stepfun.comtoapi.stepfun.ai. This is a provider-mandated migration — the old domain may stop working. Users should update their configurations.Testing
bun validate