Call DeepSeek, GLM, Kimi and MiniMax through one OpenAI-compatible endpoint A developer on the Ling World Lingshu team released a service that routes DeepSeek, GLM, Kimi and MiniMax models through a single OpenAI Chat Completions-compatible endpoint, eliminating the need for separate accounts, keys and bills per vendor. The gateway also supports the Anthropic Messages format at /v1/messages, letting Claude Code point at it via ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN. Listed pricing ranges from $0.083 per million input tokens for DeepSeek V4.1 Flash (flash-std) to $5.00 per million output tokens for Kimi K3.1 Pro, with each model offering a 1-million-token context window and a chat limit of 40 requests per minute per source IP. Disclosure: I work on Ling World Lingshu, the service described in this post. If your app uses more than one Chinese model family, you normally end up with one account, one key and one bill per vendor. Ling World Lingshu ai.lingapp.io https://ai.lingapp.io/en/ puts DeepSeek, GLM, Kimi and MiniMax behind a single endpoint that speaks the OpenAI Chat Completions format. This post shows what you change and what to expect. python from openai import OpenAI client = OpenAI api key="sk-YOUR KEY", base url="https://ai.lingapp.io/v1", stream = client.chat.completions.create model="flash-std", messages= {"role": "user", "content": "Explain SSE in two sentences."} , stream=True, stream options={"include usage": True}, for chunk in stream: if chunk.choices: print chunk.choices 0 .delta.content or "", end="" Keep the if chunk.choices check. Because the request sets include usage , the last chunk carries token usage and has an empty choices list. Prices are USD per million tokens, as listed on 2 December 2026. | Model | Model ID | Input | Cached input | Output | |---|---|---|---|---| | DeepSeek V4.1 Flash | flash-std | 0.083 | 0.005 | 0.34 | | GLM 5.3 Flash | plus-std | 0.104 | 0.0442 | 0.48 | | Kimi K3.1 Pro | kimi | 1.00 | 0.18 | 5.00 | | MiniMax M3.1 Flash | minimax-flash | 0.10 | 0.01 | 0.40 | The flash-std and kimi prices are promotional at the time of writing, so check the pricing page https://ai.lingapp.io/en/pricing before you budget. Each model has a context window of 1 million tokens. GET /v1/models returns the models your key can use. The same key works with the Anthropic Messages format at /v1/messages . For Claude Code, set two environment variables and choose a model ID such as flash-std : export ANTHROPIC BASE URL=https://ai.lingapp.io export ANTHROPIC AUTH TOKEN=sk-YOUR KEY Retry-After header. The chat limit is 40 requests per minute per source IP. Runnable versions of these snippets are in the examples repository https://github.com/lingworld-lingshu/lingshu-examples . Full details are in the API docs https://ai.lingapp.io/en/docs and the FAQ https://ai.lingapp.io/en/faq .