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
Point Codex at https://api.xinoapi.com/v1 and use deepseek-v4-pro for code planning or deepseek-v4-flash for fast edits.
Claude Code
Claude Code uses Anthropic's Messages API shape. XinoAPI can support this through an Anthropic-compatible bridge layer for teams that want DeepSeek or Qwen as a coding-agent backend.
OpenClaw
Configure OpenClaw as an OpenAI-compatible provider with a XinoAPI key, then select agent-ready aliases or explicit model IDs.
CC Switch
Add XinoAPI as a custom OpenAI-compatible provider in CC Switch, then reuse the same endpoint for supported coding CLIs such as Claude Code, Codex, OpenCode, OpenClaw, and Gemini CLI.
Connected in two exports
Use these snippets as starting points. Replace xino-your-key with an API key from the XinoAPI dashboard.
Commercial positioning: XinoAPI is not trying to be the cheapest router. It is built for stable coding-agent sessions, China-model coverage, Stripe billing, no China KYC, spend control, and support for production teams.
Recommended agent models
Use model choice as a workflow decision: fast edits, complex planning, Chinese codebases, or enterprise reliability.
| Model | Best for | Price | Protocol |
|---|---|---|---|
| deepseek-v4-flash | Fast code edits, lightweight repo Q&A, low-cost agent loops | TOU: $0.264–$0.528/M in* · $0.792–$1.584/M out | OpenAIAnthropic bridge |
| deepseek-v4-pro | Planning, refactors, debugging, multi-file reasoning | TOU: $0.792–$1.584/M in* · $2.376–$4.752/M out | OpenAIAnthropic bridge |
| qwen-plus | Chinese codebases, long-context code reading, documentation | $0.133/M in · $0.800/M out | OpenAI |
| glm-5.1 | Fallback reasoning channel and agent verification passes | $1.164/M in · $3.648/M out | OpenAI |
* Cache-miss input, off-peak to peak. Cache-hit input is lower; see full DeepSeek pricing.
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.
Spend control
Minimum $20 top-up, no token discounts, clear usage logs, and enterprise billing for production teams.
Where the gateway is going
- OpenAI-compatible
/v1/chat/completions - Streaming responses
- DeepSeek, Qwen, GLM, Kimi, MiniMax routing
- Stripe billing and usage accounting
/anthropic/v1/messagesbridge for Claude Code- Agent aliases like
xino-agent-fastandxino-agent-pro - Per-agent spend caps and fallback chains
- Agent logs for enterprise debugging
Not just another generic router
The pitch is reliability and China-model specialization, not lowest token price alone.
| Need | XinoAPI advantage | Why it matters for agents |
|---|---|---|
| China model access | DeepSeek, Qwen, GLM, Kimi, MiniMax focus | One provider for teams building on Chinese frontier models |
| No China-specific KYC for standard self-service use | Stripe and USD billing | Overseas developers can start without Chinese phone or payment rails |
| Agent reliability | Routing, fallback, and spend controls | Long coding tasks fail less often and are easier to audit |
| Commercial support | Invoice and enterprise support path | Production teams need support paths, routing controls, and predictable billing |