Unverified50% confidenceSolutionExact time
Top-level functions such as generateText(), streamText(), and generateObject() are applicable to all providers, and developers switching models only need to replace the call, such as substituting xai('grok-3') with openai('gpt-4o').
1
Sources
50%
Confidence
Long-term
Relevance
9/28/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedDifferent model providers including OpenAI, Anthropic, and Zhipu each have their own Function Calling interfaces and formats, requiring developers to write different adapter code for each platform65% similarUnverifiedWhen using the zai provider, you can create an instance via createZai, configure the apiKey, and then call the model using generateText.64% similarUnverifiedOpenCode 内置 Bash、Edit、Grep、WebFetch、WebSearch 等工具链63% similarPartially Verifiedopencode-mystatus使用TypeScript开发62% similarVerifiedThe Bailian platform is compatible with the OpenAI standard interface (Chat Completions API), allowing developers to switch between different models simply by replacing the base_url and api_key.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/957671API
curl https://kongchang.com/api/v1/knowledge/claims/957671MCP
get_claim(id=957671)