ONE KEY · FIVE MODEL FAMILIES
Chinese AI models. One API key.
Connect Kimi, GLM, Qwen, DeepSeek and MiniMax through KeyoAPI’s OpenAI-compatible chat endpoint. Switch the model ID while keeping your base URL and key.
Compare models and API prices
Use this as a shortlist for your own evaluation, not a benchmark ranking. Rates below are KeyoAPI USD list prices for the default group per 1M input / output tokens.
Price snapshot: . Rates are rounded for display; billing uses unrounded rates. Confirm current prices before calling.
| Family / exact model ID | What to evaluate | Input / output · USD / 1M tokens | Try it |
|---|---|---|---|
Kimikimi-k3.1-pro | Long documents and multi-step knowledge work; compare answer quality on your own documents. | $1.20 / $6.00 | Test · Price & details |
GLMglm-5.3 | Coding and agent workflows; check tool-call behavior separately before connecting an agent. | $2.80 / $8.80 | Test · Price & details |
Qwenqwen3.8-max-0902 | Multilingual instructions and general assistant workloads; keep the dated model ID when reproducibility matters. | $1.50 / $4.50 | Test · Price & details |
DeepSeekdeepseek-v4.1-flash-1017 | High-volume text and reasoning experiments; allow enough output tokens for reasoning and the final answer. | $0.90 / $3.60 | Test · Price & details |
MiniMaxMiniMax-M3.1-Flash | Cost-sensitive chat and coding prototypes; evaluate tool compatibility for your client. | $0.09 / $0.36 | Test · Price & details |
One account and prepaid balance cover these models. Other billing groups can have different multipliers. Cache, context tiers and model-specific parameters may change cost or behavior. Estimate a workload · Full price list
Call the gateway with cURL
Set KEYO_API_KEY in your terminal. Use a KeyoAPI key; keys issued by individual model platforms do not authenticate with this endpoint.
export KEYO_API_KEY="YOUR_KEYO_API_KEY"
curl https://www.keyoapi.xyz/v1/chat/completions \
-H "Authorization: Bearer $KEYO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kimi-k3.1-pro","messages":[{"role":"user","content":"Summarize three risks when shipping an AI coding assistant."}],"stream":false}'For another family, change only model to an exact ID from the table. Identifiers are case-sensitive: MiniMax-M3.1-Flash includes capital letters.
In PowerShell, use $env:KEYO_API_KEY and curl.exe, or follow the PowerShell quickstart. Platform-specific setup
Use the OpenAI Python SDK
pip install openai
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["KEYO_API_KEY"],
base_url="https://www.keyoapi.xyz/v1",
)
response = client.chat.completions.create(
model="MiniMax-M3.1-Flash",
messages=[{"role": "user", "content": "Write a short release checklist."}],
)
print(response.choices[0].message.content)For streaming, set stream=True and read choices[0].delta.content, skipping events with no choices or no content. Reasoning and tool calls are separate fields; a successful connection alone does not guarantee a final text answer.
Speech APIs
For speech synthesis and transcription, use their dedicated endpoints. Qwen3-TTS · Whisper large-v3
Connecting Cursor, Codex or an agent
Start with a client that supports a custom OpenAI Chat Completions base URL: https://www.keyoapi.xyz/v1. Enter a KeyoAPI key and the exact model ID. Clients that require Responses API, Anthropic Messages, web search or specialized tools need explicit endpoint support; changing a model name is not enough.
Client integration examplesAre the :free models free of charge?
No. The suffix marks models eligible for Bonus Credits. Those calls use Bonus Credits first, then Recharge Balance for any shortfall, at their published rates. The paid model IDs above use Recharge Balance. Bonus-credit models & rules
Why can two models behave differently with the same SDK?
The common chat request shape does not make capabilities identical. Reasoning budgets, system instructions, structured output and tool support differ. Begin with a minimal text request, then add one feature at a time and keep the raw response when diagnosing failures.