Kimi and GLM,
in the coding agent you already use.
One API key runs Claude Code, Codex, OpenCode and 8 more on Kimi K3.1 Pro, GLM-5.3 and GLM-5.2. The fastest Kimi K3.1 Pro API, at 142 tokens per second. We ran every tool on the same task and publish the results.
Pay per token from $5. No subscription. Credits never expire.
export ANTHROPIC_BASE_URL="https://api.paramhub.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_MODEL="kimi-k3.1-pro"
export ANTHROPIC_DEFAULT_OPUS_MODEL="kimi-k3.1-pro"
export ANTHROPIC_DEFAULT_SONNET_MODEL="kimi-k3.1-pro"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="kimi-k3.1-pro"
claude- 142
- tokens per second. The fastest Kimi K3.1 Pro API
- 11
- coding agents tested
- 33/33
- tool and model pairs tested and working
- 15–38%
- below the model makers' list prices
What one coding task takes
The task: fix 4 planted bugs and add a feature in a 6-file Python library, graded by hidden tests. These are the medians in Claude Code.
- Tasks passed
- 4/4
- Input tokens
- 174,00088% from cache
- Output tokens
- 4,500
- Tasks passed
- 4/4
- Input tokens
- 265,00095% from cache
- Output tokens
- 13,200
- Tasks passed
- 3/3
- Input tokens
- 306,00095% from cache
- Output tokens
- 6,000
Claude Code 2.1.328, tested on November 19, 2026. A small task with few runs, so read the numbers as rough. Cost is calculated at the current prices.
Three API formats
OpenAI Chat Completions, Anthropic Messages and OpenAI Responses. Whichever your tool speaks, change the base URL and key and keep the rest.
Tested, with the numbers
Every setup guide comes from a real run: the exact config we used, how many tasks passed, and the time, tokens and cost.
Pay only for tokens
Top up any amount from $5. Credits never expire. No seats, no monthly minimum, no 5-hour windows and no weekly caps.
Every request logged
See model, tokens and cost for each call in your console. Prices are published per million tokens.
Or call it like any API
Not using an agent? Point the OpenAI or Anthropic SDK at ParamHub and pick a model. Streaming and tool calling work as you expect.
https://api.paramhub.com/v1https://api.paramhub.comfrom openai import OpenAI
client = OpenAI(
base_url="https://api.paramhub.com/v1",
api_key="YOUR_API_KEY",
)
resp = client.chat.completions.create(
model="kimi-k3.1-pro",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Available models
Prices in USD per million tokens, next to each model maker's official price.
| Model | Provider | Input | Cached input | Output |
|---|---|---|---|---|
kimi-k3.1-pro15% off | Moonshot | $1.70 Official price | $0.17 Official price | $8.50 Official price |
GLM-5.238% off | Z.ai | $0.84 Official price | $0.16 Official price | $2.64 Official price |
GLM-5.334% off | Z.ai | $0.91 Official price | $0.17 Official price | $2.86 Official price |
Struck-through prices are each model maker's own standard API price, checked 2026-11-23. The badge is the smallest saving across input, cached input and output.
Questions
Which tools work?+
We tested 11: Claude Code, Codex CLI, OpenCode, Hermes Agent, Pi, oh-my-pi, Cline CLI, Kilo Code CLI, Qwen Code, goose, Aider. Each has a setup guide with its results. Other tools that let you set a base URL should work too, but we have not tested them.
Where are requests processed?+
Requests are served by the model developers and their inference partners, which are located in China. Read the Privacy Policy before sending personal or confidential data.
How does billing work?+
You add prepaid credits by card. Each request deducts its cost based on input and output tokens. You can see every charge in the usage log.
Do I need to change my code?+
Usually not. Set the base URL to https://api.paramhub.com and use your ParamHub key. Use the same model names listed on the pricing page.
Is there a free trial?+
Not yet. The minimum top-up is $5, which covers millions of tokens on most models.
Run it on your own repo
Create an account, add credits, and paste your key into your tool.
Tool names belong to their respective owners. ParamHub is an independent service and is not affiliated with or endorsed by them.
Speed is the median per request in our load test on November 19, 2026.