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-flash","messages":[{"role":"user","content":"Reply with: connection verified"}]}'Live model name pending confirmation
The exact model identifier routed through OneInfer will be confirmed once the public Qwen3.8-Flash API is in production. This page will switch from "pending" to "verified" at that point.
Ready to test the workflow?
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.