GPT-5.2 是 GPT-5 系列的均衡版本,以低於旗艦模型的成本提供強大的推理和工具使用能力。是生產級對話、代理和結構化輸出任務的可靠預設選擇。
可直接取代 OpenAI。只需變更 base_url 和 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="openai/gpt-5.2", 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":"openai/gpt-5.2","messages":[{"role":"user","content":"Hello!"}]}'
其他您可能考慮的模型。
Frontier 3072-dim embeddings for RAG and search.
Cheap and fast 1536-dim embeddings at scale.
OpenAI’s latest frontier model.
Code-tuned GPT-5 for engineering.