Three request protocols
| Protocol | Use when | Base path |
|---|---|---|
| OpenAI Chat Completions | Most existing OpenAI-SDK integrations and coding tools | https://api.oneinfer.ai/v1/ula/chat/completions |
| OpenAI Responses | Newer OpenAI-SDK tool-use and structured-output flows | https://api.oneinfer.ai/v1/ula/responses |
| Anthropic Messages | Claude Code and other Anthropic-SDK-based tools | https://api.oneinfer.ai/v1/ula/anthropic/v1/messages |
Minimal request
curl https://api.oneinfer.ai/v1/ula/chat/completions \
-H "Authorization: Bearer $ONEINFER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"glm-5.3","messages":[{"role":"user","content":"Reply with: connection verified"}],"reasoning_effort":"low"}'Reasoning is mandatory, not optional
GLM-5.3 cannot fully disable reasoning. Set reasoning_effort explicitly (low, high, or max) rather than relying on a default — it is the single biggest lever on latency and cost.
Ready to test the workflow?
Go deeper
- Full setup and troubleshooting for a specific key or tool — see the integration guides.
- Choosing an effort level per task — see the reasoning-effort guide.
- Defining tools and validating structured output — see the function-calling guide.