Two 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 |
| 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":"qwen3.8-2.4t-a95b","messages":[{"role":"user","content":"Reply with: connection verified"}],"reasoning_effort":"low"}'Thinking mode is mandatory
The Qwen3.8-2.4T-A95B model card states thinking mode is required and cannot be disabled on this checkpoint. Every response opens with a think block. Use reasoning_effort: low to reduce cost on simple requests, or switch to Qwen3.8-Max if you need a non-thinking-mode variant of the same weights.
Three reasoning levels
| Level | Use when | Cost note |
|---|---|---|
| low | Simple Q&A, classification, short completions | Cheapest tier; lowest think-block spend |
| medium | Default for most agentic workloads | Balanced cost and reasoning depth |
| xhigh | Hardest reasoning, multi-step planning, SWE work | Heaviest think-block spend; pair with batch or cache where possible |
Ready to test the workflow?
Live model identifier pending OneInfer registry
The exact model identifier routed through OneInfer will be confirmed once Qwen3.8-2.4T-A95B is added to the OneInfer registry. Use the slug above as the model parameter; the rest of the request shape (messages, reasoning_effort, sampling parameters) follows the OpenAI Chat Completions API.
Go deeper
- Full setup and troubleshooting for a specific key or tool — see the integration guides.
- Defining tools and validating structured output — see the function-calling guide.
- Choosing an effort level per task — see the reasoning-effort guide.