StarSeaStarAPI
Ready to build?Get an API key — 50% off online top-up →

DSPy with StarSea — custom endpoint setup

Custom endpoint parameters

Configuration

Fill in the custom endpoint / provider settings of DSPy:

DSPy → dspy.LM("openai/deepseek-v4.1-flash", api_base="https://starseaapi.com/v1", api_key="sk-..."),随后 dspy.configure(lm=lm)。

Get a key

Create a key and top up at the Key Desk — online top-up is 50% off.