Requirements
- VS Code with the CodeGPT extension, ID
danielsanmedium.dscodegpt. These configuration steps apply to CodeGPT 3.24.73. - A signed-in CodeGPT account with access to Local / Custom in model management.
- An active Step Plan subscription, available quota, and access to the model.
- An API key from the StepFun platform API keys page.
Configure the connection
- Open Manage AI Models in the CodeGPT panel.
- Select Local, then Custom (any OpenAI-compatible server).
- Enter the connection settings.
CodeGPT appends
/chat/completions to the base URL. This URL uses Step Plan subscription quota.
- Click Test. When
Connectedappears and the model list loads, selectstep-5-preview. - Click Save & close.
- Select
step-5-previewunder Custom in the chat model picker and start a new conversation.
Verify the integration
Test a conversation
In Chat, enter:OK.
Test tool calls
Create a separate test directory on a machine with Python installed. Add aREADME.md containing CodeGPT Step Plan test and open the directory in VS Code.
Switch to Agent mode, confirm that step-5-preview under Custom is selected, and enter:
hello.py, and the Hello, StepFun! output.
Check usage
In the StepFun platform usage details, match the request time, model ID, and billing source to confirm that the call used Step Plan.Common questions
Q: What should I check if Test fails?
Q: What should I check if Test fails?
Check the base URL, API key, and network connection. Use
https://api.stepfun.ai/step_plan/v1 with a key from the corresponding platform account, then click Test again.Q: Why is the model list empty or missing the model I need?
Q: Why is the model list empty or missing the model I need?
Confirm that Test shows
Connected, and check your account’s Step Plan subscription and model permissions. Test the connection again before selecting a model.Q: How do I confirm that a Step model is selected?
Q: How do I confirm that a Step model is selected?
Choose
step-5-preview under Custom in the model picker. Check the model and billing source for the request in the StepFun platform usage details.Q: Why does Chat work but Agent cannot execute tasks?
Q: Why does Chat work but Agent cannot execute tasks?
Confirm that Agent mode is selected and a project directory is open. Check file and terminal permissions. The Python example also requires a working local Python interpreter.

