View all

XiuAI · Model API

Leading models. One API.Discounted rates.Pay as you go.Leading models.Discounted rates.

Model APIs for businesses, teams, and developers. Get discounted rates, pay for what you use, and keep your existing tools. XiuAI does not train on conversations.Use native APIs for closed-source and open-source models. Pay as you go.

Models & pricing

The models you use. At discounted rates.Discounted model pricing

ModelInput / 1M tokensOutput / 1M tokensSavingsCapabilities / Success rate
Claude Opus 5.5
Anthropic
$1.20$4.00
$6.00$20.00
70% off
GPT-6.2 Sol
OpenAI
$0.14$2.00
$0.70$10.00
93% off
Provider specifications
Gemini 4 Argon
Google
$0.40$2.00
$2.00$10.00
80% off
GLM-5.3Uncensored
Zhipu AI
$0.63$1.40
$1.98$4.40
55% off
Claude Sonnet 5.5
Anthropic
$0.60$2.00
$3.00$10.00
70% off
Qwen3.8 Flash
Alibaba
$0.0669$0.15
$0.2098$0.47
55% off
Provider specifications
Kimi K3.1 Pro
Moonshot
$1.16$2.00
$5.80$10.00
42% off
Provider specifications
claude-fable-5
Anthropic
$3.00$10.00
$15.00$50.00
70% off

Claude Opus 5.5

Anthropic
Input / 1M tokens
$1.20$4.00
Output / 1M tokens
$6.00$20.00

70% off

GPT-6.2 Sol

OpenAI
Input / 1M tokens
$0.14$2.00
Output / 1M tokens
$0.70$10.00

93% off

Provider specifications

Gemini 4 Argon

Google
Input / 1M tokens
$0.40$2.00
Output / 1M tokens
$2.00$10.00

80% off

GLM-5.3

Uncensored
Zhipu AI
Input / 1M tokens
$0.63$1.40
Output / 1M tokens
$1.98$4.40

55% off

Claude Sonnet 5.5

Anthropic
Input / 1M tokens
$0.60$2.00
Output / 1M tokens
$3.00$10.00

70% off

Qwen3.8 Flash

Alibaba
Input / 1M tokens
$0.0669$0.15
Output / 1M tokens
$0.2098$0.47

55% off

Provider specifications

Kimi K3.1 Pro

Moonshot
Input / 1M tokens
$1.16$2.00
Output / 1M tokens
$5.80$10.00

42% off

Provider specifications

claude-fable-5

Anthropic
Input / 1M tokens
$3.00$10.00
Output / 1M tokens
$15.00$50.00

70% off

Showing 1–8 of 46

Text prices are in USD per 1M tokens. Reference prices are crossed out.

FOR INDIVIDUALS, TEAMS & BUSINESSES

From personal projects to enterprise applications

Manage model access, costs, and permissions across your business, or use XiuAI for a team or personal project. Every model has published rates, and you pay for what you use.

Developers & teams

Multiple models. One API.

Claude, GPT, Gemini Popular SDKs and development tools Tool use and streaming

Finance & operations

Track model spend by app

Published input, output, and cache rates Usage by API key Exact cost for each request

Security & platform

Manage keys and model access

A separate key for each application Set spending limits, models, and expiration dates Revoke access when needed

Business owners

Discounted rates. Flexible usage.

Published rates Pay for what you use No volume commitment

PRICING AND BILLING

Published prices. Usage-based billing.

Compare model prices before calling. Check usage and charges afterward. No volume commitment required.

01 · PUBLISHED PRICES

Check prices. Choose a model.

Review input, output and cache rates. Choose a model and available service tier for your task.

02 · USAGE-BASED BILLING

Pay for what you use.

Pay the applicable rate for actual usage. Prices are listed separately by model, processing mode and billing unit.

03 · REQUEST RECORDS

Check every request charge.

Review the model, token usage and charge in Usage to reconcile each request.

Published discounts. Pay for what you use.

No volume commitment required. Pay for actual usage at the applicable rates.

SIMPLE SETUP

Set your endpoint and key. Start calling models.Set your endpoint and key

Set the endpoint and API key in your application or native SDK. Call each model through its supported native API.Use the native API for your model. Set the endpoint and API key to begin.

OPENAI NATIVE API BASE URL

https://router-api.xiu.ai/v1
Read integration docs
OpenAI ResponsesChat CompletionsAnthropic MessagesGemini GenerateContent

OpenAI SDK example

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://router-api.xiu.ai/v1",
  apiKey: process.env.XIUAI_API_KEY
});

This example uses the native OpenAI API. Choose a matching model ID to send requests.

ACCOUNT API

Account & usage API

Connect your balance, request records, and costs to your team’s monitoring and reporting systems with a dedicated read-only key.

Balance monitoring

Read your balance and total spend. Set up alerts using your own rules.

Request syncing

Filter by time, model, or API key, then sync usage, costs, and request status.

Cost reporting

Get usage and cost totals by model and API key to track spending across your applications.

USAGE & ACCESS

Separate keys for each app. Manage usage and access in one place.Keys and usage

Create a key for each app and set its spending limit, allowed models, and expiration date. Review usage by key and model to track what each app costs.

  • Separate keysUse a key for each application.
  • Control accessSet models, spending limits, and expiration dates.
  • Track usageView costs by key and model.

API keys

Key nameStatusRemaining creditAllowed modelsAccess management
coding-toolsDevelopment tool keyActive$50.00Claude · GPTRevoke
content-appContent application keyActive$30.00Claude · GeminiRevoke
agent-serviceAgent service keyDisabled$0.00GPTRevoked

Request cost breakdown

Claude Opus 5.5

$0.180

Cost of this request

Input: 100,000 tokens
$0.120
Output: 10,000 tokens
$0.060
Total
$0.180

Calculated from published model rates and actual usage.

A record of every request

API keyModelStatusCost
coding-toolsClaude Opus 5.5Success$0.180
content-appGemini 4 ArgonSuccess$0.060
agent-serviceGPT-6.2 SolSuccess$0.021

Filter by time, API key, model, and status. View token counts, cache usage, and response latency.

Request status & performance

Check service health. Investigate failed requests.

Use request status, latency, and error details to investigate API issues. The status page reports service health and maintenance updates.

View service status

DATA PRIVACY

What zero data retention covers.What zero data retention covers

By default, XiuAI does not retain conversation content. We do not train on requests or responses or sell user data. Claude refusal records are kept for 30 days and specified reasoning-extraction excerpts for up to 7 days.Text conversations are not retained by default. Claude refusal records are kept for 30 days and reasoning-extraction excerpts for up to 7 days.

request.log

model
Claude Opus 5.5
input
100,000 tokens
output
10,000 tokens
cost
$0.180
prompt
[excluded from usage logs]
response
[excluded from usage logs]

Billing and usage records

Usage and performance statistics are retained long term for billing, historical queries, and performance analysis.

How model requests are handled

XiuAI forwards requests and returns model responses. Usage records include the model, token counts and charges, and exclude conversation text.

Model providers’ data policies

AnthropicOpenAIGoogleOpen-source models

Requests are processed by the selected model provider under its own data policies. Review the relevant model and service documentation before use.

Read the ZDR policy

Track cache usage and cost

CACHE USAGE

Cache reads / Cache writes

View cache usage and charges in request records. Cache support and rates depend on the model.

Available now

GLM-5.3 Uncensored

For creative writing, roleplay, and security research.

View model pricing

API example

Frequently asked questions

Is a volume commitment required?

No. Every model has published rates, and you pay for actual usage.

Which models and tools are supported?

Browse the model directory for leading closed-source and open-source models. XiuAI supports common OpenAI, Anthropic, and Gemini protocols. See the integration docs for tool-specific setup.

Are uncensored models available now?

Yes. GLM-5.3 Uncensored is available now.

XiuAI · Model API

Build with XiuAI

Use familiar models and tools at discounted, usage-based rates. Create an API key to get started, or contact us for help with integration.