Yi-1.5-34B-Chat
Developed by 01.AI, Yi-1.5-34B-Chat is a 34B dense bilingual open-weight chat model continuously pretrained on curated corpora for reliable coding, mathematical reasoning, and instruction following.
What you can do
- Bilingual long-form writing and editing
- Logical and mathematical problem solving
- Cross-lingual technical proposal drafting
Input & output
- Input
- Chinese or English system instructions, multi-turn conversation history, and documents
- Output
- Bilingual dialogue replies, structured writing, analytical reasoning, and code snippets
Try a prompt like this
请对比微服务架构中事件溯源(Event Sourcing)与传统 CRUD 持久化的优缺点,并给出金融账务系统的选型建议。
Things to know
Apache 2.0 license; full BF16 weights require ~68–72 GB VRAM (1×80 GB or 2×48 GB GPUs), while AWQ/GGUF 4-bit fits on a single 24 GB GPU; default 4K context variant requires 16K/32K checkpoint for long docs.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
01ai/Yi-1.5-34B-Chat
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="01ai/Yi-1.5-34B-Chat",
messages=[{"role": "user", "content": "请对比微服务架构中事件溯源(Event Sourcing)与传统 CRUD 持久化的优缺点,并给出金融账务系统的选型建议。"}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide