DEV Community

Daniel Dong
Daniel Dong

Posted on

I tried switching my app from OpenAI to DeepSeek.

I tried switching my app from OpenAI to DeepSeek.

Here's what I had to learn: nothing.

import openai
client = openai.OpenAI(
api_key="mb-xxx",
base_url="https://aibridge-api.com/v1"
)
client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "hello"}]
)

Same library. Same function signatures. Same response format.
Just a different model string.

That's the whole migration. Zero new SDKs. Zero new documentation.
Zero hours spent learning another provider's quirks.

14 models (DeepSeek, Qwen, GLM, Moonshot) behind the same interface
you're already using.

Free tier: 500K tokens/month. No credit card.

aibridge-api.com

1

2

3

4

5

Top comments (0)