Custom endpoint parameters
Fill in the custom endpoint / provider settings of PydanticAI:
https://starseaapi.com/v1PydanticAI → OpenAIModel("deepseek-v4.1-flash", provider=OpenAIProvider(base_url="https://starseaapi.com/v1", api_key="sk-..."))。
Get your key: use a key from our support team, or create one in the "Tokens" page at starseaapi.com. Top up on the Key Desk — all models are billed at 50% of the official price.