GLM Embedding 3 is Zhipu AI embedding model, producing 2048-dimensional vectors tuned for Chinese-English bilingual retrieval. It is widely used in Chinese RAG pipelines and matches frontier English embedding models on C-MTEB at a fraction of the cost.
Drop-in OpenAI replacement. Change only the base_url and model.
# Python -pip install openai from openai import OpenAI client = OpenAI( base_url="https://meshtok.com/v1", api_key="sk-your-MeshTok-key", ) resp = client.chat.completions.create( model="bigmodel/embedding-3", messages=[{"role":"user","content":"Hello!"}], ) print(resp.choices[0].message.content)
# cURL curl https://meshtok.com/v1/chat/completions \ -H "Authorization: Bearer sk-your-MeshTok-key" \ -H "Content-Type: application/json" \ -d '{"model":"bigmodel/embedding-3","messages":[{"role":"user","content":"Hello!"}]}'
Other models you might consider.
Zhipu’s flagship with a 1M context window.
Balanced daily-driver from Zhipu.
Fast GLM variant for low-latency apps.
General-purpose chat model.