ChinaAPI
v1.0.0Read-only ChinaAPI model catalogue, price snapshot, cost estimates and request recipes.
Endpoint health
online- Last checked
- 11/20/2026, 5:17:06 AM
- Latency
- 696 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:ai.chinaapi%2Fchinaapi
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"ai.chinaapi/chinaapi": {
"url": "https://api.chinaapi.ai/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
4 shown · authentication unknown
Estimate a ChinaAPI cost
chinaapi_estimate_cost
Estimate the USD cost of a workload on one model from its published per-meter prices: Standard, and Paid where it is lower. Pass quantities in the model's own units — tokens for text models, characters for speech synthesis, audio seconds for transcription, requests, images or video seconds for per-call and per-second models; a quantity the model does not price is refused. Tiered models are estimated tier by tier. The result is an estimate, not a quote.
Schema valid · SHA-256 8429e730900d…
View input schema
{ "type": "object", "properties": { "audio_input_tokens": { "description": "Quantity in tokens for the audio_input meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "audio_output_tokens": { "description": "Quantity in tokens for the audio_output meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "audio_seconds": { "description": "Quantity in audio seconds for the input meter (models billed in audio_duration).", "maximum": 100000000, "minimum": 0, "type": "integer" }, "cache_read_tokens": { "description": "Quantity in tokens for the cache_read meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "cache_write_1h_tokens": { "description": "Quantity in tokens for the cache_write_1h meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "cache_write_tokens": { "description": "Quantity in tokens for the cache_write meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "characters": { "description": "Quantity in characters for the input meter (models billed in characters).", "maximum": 10000000000, "minimum": 0, "type": "integer" }, "context_tokens": { "description": "Input context length used to choose a context-length tier. Only for models whose tiers depend on context length; defaults to the input and cache tokens.", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "image_input_tokens": { "description": "Quantity in tokens for the image_input meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "image_output_tokens": { "description": "Quantity in tokens for the image_output meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "images": { "description": "Quantity in images for the image_n meter.", "maximum": 100000000, "minimum": 0, "type": "integer" }, "input_tokens": { "description": "Quantity in tokens for the input meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "model": { "description": "Exact, case-sensitive model ID as returned by chinaapi_list_models.", "maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}$", "type": "string" }, "output_tokens": { "description": "Quantity in tokens for the output meter (models billed in tokens).", "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "requests": { "description": "Quantity in requests for the per_call meter.", "maximum": 100000000, "minimum": 0, "type": "integer" }, "video_seconds": { "description": "Quantity in seconds for the video_second meter.", "maximum": 100000000, "minimum": 0, "type": "integer" } }, "required": [ "model" ], "additionalProperties": false }
Connections
streamable-http
https://api.chinaapi.ai/mcp