503 model_unavailable. Always read GET /v1/models for the live list.Multi-Model AI Gateway · Global Access · High Availability
TokenEase provides a unified API interface supporting DeepSeek, Zhipu GLM, Alibaba Qwen, and other mainstream AI models.
https://tokenease.io/v1
Include your API Key in the request header:
Authorization: Bearer YOUR_API_KEY
Moonshot flagship · 256K context · top MMLU-Pro
Coding and agent workflows
Same K2.7 Code at higher throughput
Cheapest model on the gateway
Use the chat completions endpoint for multi-turn conversations with AI models.
kimi-k3 or glm-4-flash
role and content
curl -X POST https://tokenease.io/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k3",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello, who are you?"}
],
"temperature": 0.7,
"max_tokens": 1000
}'
{
"id": "chatcmpl-xxxxx",
"object": "chat.completion",
"created": 1748390400,
"model": "kimi-k3",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! I'm TokenEase AI assistant..."
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 20,
"completion_tokens": 150,
"total_tokens": 170
}
}
Get all available models and their details.
{
"currency": "USD",
"models": [
{ "id": "hy3-preview", "provider": "tencent_hy", "context_window": 128000, "price_per_1m": 1.0, "supports_vision": true, "enabled": false, "disabled_reason": "upstream billing unsettled (503 model_unavailable)" },
{ "id": "kimi-k3", "provider": "kimi", "context_window": 256000, "price_per_1m": 0.28, "supports_vision": true, "enabled": true, "disabled_reason": null },
{ "id": "hy3-thinking", "provider": "tencent_hy", "context_window": 128000, "price_per_1m": 2.0, "supports_vision": false, "enabled": false, "disabled_reason": "upstream billing unsettled (503 model_unavailable)" },
{ "id": "kimi-k2.7-code", "provider": "kimi", "context_window": 256000, "price_per_1m": 1.2, "supports_vision": false, "enabled": true, "disabled_reason": null },
{ "id": "kimi-k2.7-code-highspeed", "provider": "kimi", "context_window": 256000, "price_per_1m": 2.5, "supports_vision": false, "enabled": true, "disabled_reason": null },
{ "id": "glm-4-flash", "provider": "zhipu", "context_window": 128000, "price_per_1m": 0.1, "supports_vision": false, "enabled": true, "disabled_reason": null },
{ "id": "deepseek-chat", "provider": "deepseek", "context_window": 128000, "price_per_1m": 1.0, "supports_vision": false, "enabled": false, "disabled_reason": "upstream_insufficient_balance" }
]
}
# Install
pip install openai
# Usage
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://tokenease.io/v1"
)
response = client.chat.completions.create(
model="kimi-k3",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
// Install
// npm install openai
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://tokenease.io/v1'
});
const response = await client.chat.completions.create({
model: 'kimi-k3',
messages: [
{ role: 'user', content: 'Hello!' }
]
});
console.log(response.choices[0].message.content);
curl https://tokenease.io/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k3",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Sign up now, get free credits, and experience the power of TokenEase.