API Reference

Documentation API

Base URL: https://gwarden.su - Model: glm-5.3

1

Get a key

Open the bot and press «Get API» - the key looks like GWAR-XXXX. Your free 7-day trial starts on signup (balance refills every 5h).

Authorization: Bearer GWAR-...
2

Chat Completions

curl https://gwarden.su/v1/chat/completions \
  -H "Authorization: Bearer KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-5.3",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": false}'
3

Models list

curl https://gwarden.su/v1/models -H "Authorization: Bearer KEY"
4

Streaming

Set stream: true. Chunks carry reasoning_content (thoughts) and content (answer) separately.

5

Thinking migration

Old requests with thinking: {{"type": "disabled"}} are rewritten to {{"type": "enabled"}} + reasoning_effort: "low".

Anthropic

Claude Code / Anthropic compat

The same API is exposed in the Anthropic Messages format, so Claude Code, Cursor and Cline work out of the box. Point the base URL here and use your key.

export ANTHROPIC_BASE_URL="https://gwarden.su"
export ANTHROPIC_AUTH_TOKEN="GWAR-XXXX"
export ANTHROPIC_MODEL="glm-5.3"
claude
curl https://gwarden.su/v1/messages   -H "x-api-key: GWAR-XXXX"   -H "anthropic-version: 2023-06-01"   -H "Content-Type: application/json"   -d '{
    "model": "glm-5.3",
    "max_tokens": 4096,
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Pricing

Subscriptions

Free
Free
Up to $7$ credits
Refills every 5 h to $7$
7-day trial
Startupper
$5
Up to $7$ credits
Refills every 5 h to $7$
30-day subscription
Agent
$8
Up to $12$ credits
Refills every 5 h to $12$
30-day subscription
Orchestrator
$15
Up to $20$ credits
Refills every 5 h to $20$
30-day subscription
Neuron
$25
Up to $35$ credits
Refills every 5 h to $35$
30-day subscription
Emperor
$35
Up to $50$ credits
Refills every 5 h to $50$
30-day subscription
Developer
$89
Unlimited - balance is not limited
No limits
30-day subscription

Every 5 hours your balance refills to the plan limit. Per 1M tokens: Input 0.15 / Output 0.5 / Cache 0.03. Top-up: 1$ = 10.0$.

Models & pricing

ModelInput / 1MOutput / 1MCache / 1MQuality
glm-5.3200k / 128k out$0.15$0.50$0.0359.5%
claude-fable-5200k / 128k out$3.50$13.00$4.0062.1%
claude-fable-5-1200k / 128k out$3.50$13.00$4.0065.7%
claude-opus-5200k / 64k out$2.00$10.00$2.0063.1%
claude-opus-4-8200k / 64k out$2.00$10.00$2.00-
gpt-5.6-sol200k / 128k out$3.50$18.00$0.3560.9%
grok-4.6200k / 64k out$1.70$5.00$0.4060.9%
claude-sonnet-5200k / 64k out$1.70$8.50$0.1756.4%
gpt-5.6-terra200k / 128k out$1.70$10.00$0.1856.5%
gpt-5.6-luna200k / 128k out$0.18$1.05$0.0152.1%
gpt-5.5200k / 128k out$4.50$27.00$0.4555.8%
gemini-3.8-flash200k / 64k out$1.00$4.50$0.2558.7%
gemini-3.1-pro200k / 64k out$1.75$10.50$0.4551.2%
kimi-k3200k / 64k out$2.60$13.00$0.5559.7%
qwen3.8-max200k / 64k out$1.70$5.20$0.4058.1%
qwen3.8-2.4t-a95b200k / 64k out$0.80$1.70$0.1557.7%
deepseek-v4-pro200k / 64k out$0.80$2.20$0.2054.5%
deepseek-v4-flash200k / 32k out$0.30$0.90$0.0852.0%
glm-5.2200k / 128k out$1.20$3.90$0.2553.5%
qwen3.8-27b200k / 32k out$0.22$0.80$0.0552.0%
minimax-m3200k / 64k out$0.27$1.05$0.0847.5%
mimo-v2.5-pro200k / 64k out$0.60$2.20$0.1547.5%
agnes-2.5-flash200k / 64k out$0.35$1.40$0.0749.8%
deepseek-r1-0528-qwen3-8b96k / 32k out$0.12$0.45$0.0344.2%
gpt-oss-120b128k / 64k out$0.45$1.80$0.0950.6%