We2AI

Supported Models

We2AI exposes the following LLMs through an OpenAI-compatible API. Change base_url to https://we2ai.ai/v1, use your We2AI token, and choose the model name you need.

Jump to: DeepSeekQwenGLMKimiExamples

DeepSeek · DeepSeek

DeepSeek is strong in reasoning, coding and Chinese-language work. DeepSeek V4 is suitable for general chat and coding tasks, while DeepSeek-R1 is designed for heavier reasoning and debugging workloads.

Qwen · Alibaba Cloud

Qwen covers general chat, coding, multimodal and long-context workloads. It is a practical default for Chinese instruction following, tool calling, agents and RAG systems.

GLM · Zhipu AI

GLM models are useful for bilingual chat, structured JSON output and lower-cost batch classification or extraction tasks. GLM-4.5 is the flagship line; GLM-4-flash is suitable for high-volume low-cost jobs.

Kimi · Moonshot AI

Kimi is known for long-context document processing. It is a good choice when you need to analyze books, reports, large files or repository-scale context.

How to Call

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://we2ai.ai/v1",
    api_key="sk-YOUR_WE2AI_TOKEN",
)

resp = client.chat.completions.create(
    model="deepseek-chat",
    messages=[{"role": "user", "content": "Introduce yourself briefly"}],
)
print(resp.choices[0].message.content)

cURL

curl https://we2ai.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-YOUR_WE2AI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-plus",
    "messages": [{"role":"user","content":"hi"}]
  }'

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://we2ai.ai/v1",
  apiKey: process.env.WE2AI_TOKEN,
});

const r = await client.chat.completions.create({
  model: "glm-4.5",
  messages: [{ role: "user", content: "hi" }],
});
console.log(r.choices[0].message.content);