One gateway behind every agent
Use XinoAPI as the model provider behind developer agents. Keep one billing account while routing tasks across Chinese frontier models.
Codex CLI
Codex requires Responses, including streaming and tool-result turns. Use the provider configuration guide and verify the selected route before starting a coding task.
Claude Code
Claude Code requires Anthropic Messages and supported Claude models. This release does not certify XinoAPI compatibility. Review the dedicated compatibility guide before configuring a gateway.
OpenClaw
Check the supported protocol and model ID for your client before running a task.
CC Switch
Add XinoAPI as a custom OpenAI-compatible provider in CC Switch, then reuse the same endpoint for supported coding CLIs where the client supports the OpenAI-compatible protocol. Claude Code requires a separate adapter; the native bridge is planned.
Configure your client
Use these snippets as starting points. Replace xino-your-key with an API key from the XinoAPI dashboard.
We checked the examples for configuration and format. Test your client, model and billing with a short request before scaling.
OpenCode
Custom provider configuration and model selection.
Cline
Provider settings, model capabilities and cost estimates.
Dify
Model provider setup and a downloadable workflow.
n8n
Chat, image and video workflow templates.
Cherry Studio
Custom service setup for desktop conversations.
Cursor
Custom provider eligibility and BYOK feature limits.
Continue
Local YAML setup and IDE secret configuration.
Aider
Terminal configuration and explicit model routing.
Open WebUI
Provider connections and a focused model list.
LangChain / LangGraph
Python chat and a single-node graph.
Vercel AI SDK
Server-side text and streaming examples.
DeepSeek Harness
Custom model API and a profile merge fragment.
Claude Code
Anthropic protocol requirements and support boundaries.
Read the Codex configuration guide
model = "deepseek-v4-flash-0731" model_provider = "xinoapi" [model_providers.xinoapi] name = "XinoAPI" base_url = "https://api.xinoapi.com/v1" env_key = "XINOAPI_API_KEY" wire_api = "responses" supports_websockets = false
Anthropic-compatible bridge
Claude Code requires separate protocol and model verification. Follow the dedicated compatibility guide; current Chat Completions examples do not certify it.
Current integration guidanceRecommended agent models
Check the supported protocol and model ID for your client before running a task.
| Model | Best for | Price | Protocol |
|---|---|---|---|
| deepseek-flash | Fast chat, coding, and high-throughput agents | USD 0.12–0.24 input · USD 0.48–0.96 output / 1M tokens | OpenAI |
| qwen4-max | Flagship reasoning, coding, and complex tasks | USD 1.20 input · USD 3.60 output / 1M tokens | OpenAI |
| kimi-k3.1-pro | Flagship coding, long-context, and agentic reasoning | USD 1.60 input · USD 8.00 output / 1M tokens | OpenAI |
| glm-5.3-flash | Evaluate for agent workflows | USD 0.12 input · USD 0.40 output / 1M tokens | OpenAI |
| MiniMax-M3.1-Flash | Fast, low-cost chat and agent tool loops | USD 0.12 input · USD 0.48 output / 1M tokens | OpenAI |
Agent-ready by design
Stable long-running tasks
Agent sessions depend on continuous SSE streaming, predictable retries, and clean timeout behavior.
Function calling support
Use tool calls for search, shell planning, patch generation, structured extraction, and verifier loops.