OpenAI-compatible endpoint
Change the base URL and model name. Keep the tools and patterns your team already knows.
/v1/chat/completions200Access DeepSeek, Qwen and other Chinese AI models through one simple API.
Built for indie hackers, AI developers, and small teams who want affordable inference without a new integration.
No credit card. Tell us what you want to build.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.chinallmapi.com/v1"
)
response = client.chat.completions.create(
model="deepseek-chat",
messages=[{
"role": "user",
"content": "Hello"
}]
)
Drop-in compatibleKeep your OpenAI SDK
English-firstClear docs and support
Built to shipOne key, one endpoint
Your existing OpenAI code is already most of the way there.
Change the base URL and model name. Keep the tools and patterns your team already knows.
/v1/chat/completions200One credential across supported models, with no provider-by-provider setup.
Explore capable Chinese models with cost-conscious teams in mind.
Quickstarts and examples written for global developers from day one.
Track requests, spend, and model usage in one calm, focused view.
Reasoning and general-purpose models.
Multilingual and coding-capable models.
Long-context models from Moonshot AI.
Use the official OpenAI SDK. Just point it to a different base URL.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.chinallmapi.com/v1"
)
We're talking to a small group of developers before we build the full product. Tell us what matters to you.