LLM API — OpenAI-compatible
Claude, GPT, Gemini, Grok, DeepSeek, Kimi and more behind one OpenAI-compatible /v1/chat/completions endpoint. Keep your SDK, change the base URL, pay per call.
61 models from 15 providers: Xiaomi, Z.ai, Alibaba, DeepSeek, OpenAI, Moonshot AI, Google, Anthropic, Meta, Thinking Machines, Particle, MiniMax, xAI, TypeSafe, Unbiased.
Models
| Model | Provider | Price |
|---|---|---|
| mimo-v2.6-flash | Xiaomi | $0.0028 / $0.0028 |
| glm-5.2 | Z.ai | $0.0578 / $0.2027 |
| glm-5.3-flash | Z.ai | $0.0236 / $0.0788 |
| qwen3.8-flash | Alibaba | $0.0336 / $0.0987 |
| deepseek-v4-flash | DeepSeek | $0.0462 / $0.1386 |
| glm-5.3-abliterated | Z.ai | $1.872 / $6.2244 |
| glm-5.3-flash-abliterated | Z.ai | $0.5616 / $2.34 |
| deepseek-v4.1-flash-1017-uncensored | DeepSeek | $0.486 / $1.458 |
| gpt-6.2-astra | OpenAI | $8.40 / $42.00 |
| gpt-6.2-sol | OpenAI | $2.10 / $10.50 |
| kimi-k3.1-pro-highspeed | Moonshot AI | $4.20 / $21.00 |
| mimo-v2.6-pro | Xiaomi | $4.20 / $8.40 |
| kimi-k3.1-pro | Moonshot AI | $2.10 / $10.50 |
| gemini-4-carbon | $2.10 / $10.50 | |
| claude-fable-5.2 | Anthropic | $8.40 / $42.00 |
| muse-ember-1.0 | Meta | $0.105 / $0.525 |
| inkling-2-small | Thinking Machines | $0.315 / $1.05 |
| particle-1 | Particle | $0.2625 / $1.05 |
| gpt-6.1-terra | OpenAI | $1.05 / $5.25 |
| decisions | OpenAI | $0.001001 Per call (≤8k input tokens; $0.10 per 1M input tokens, output free) |
| minimax-m3.1-flash | MiniMax | $0.1575 / $0.63 |
| deepseek-v4.1-flash | DeepSeek | $0.315 / $1.26 |
| muse-spark-open | Meta | $1.3125 / $4.4625 |
| gemini-4-argon | $2.10 / $10.50 | |
| claude-haiku-5.5 | Anthropic | $0.105 / $0.525 |
| muse-spark-1.3 | Meta | $1.3125 / $4.4625 |
| muse-wonder-1.0 | Meta | $4.20 / $21.00 |
| claude-sonnet-5.5 | Anthropic | $2.10 / $10.50 |
| gpt-6.1-sol | OpenAI | $2.10 / $10.50 |
| claude-opus-5.5 | Anthropic | $4.20 / $21.00 |
| gpt-6-luna | OpenAI | $0.105 / $0.525 |
| gpt-6-sol | OpenAI | $2.10 / $10.50 |
| grok-4.7 | xAI | $2.10 / $6.30 |
| jev | TypeSafe | $0.001412 Per call (32k-token ceiling) |
| pareto | Unbiased | $2.625 / $7.875 |
| gpt-6-astra | OpenAI | $10.50 / $52.50 |
| gemini-3.8-flash | $0.7875 / $3.9375 | |
| claude-fable-5.1 | Anthropic | $10.50 / $52.50 |
| glm-5.3 | Z.ai | $1.47 / $4.62 |
| gemini-3.7-flash | $0.7875 / $3.9375 | |
| deepseek-v4-pro | DeepSeek | $1.386 / $4.158 |
| grok-4.6 | xAI | $2.10 / $6.30 |
| qwen3.7-plus | Alibaba | $0.336 / $1.344 |
| qwen3.8-max | Alibaba | $2.10 / $6.30 |
| qwen3.7-max | Alibaba | $1.3125 / $3.9375 |
| claude-opus-5 | Anthropic | $5.25 / $26.25 |
| gemini-3.6-flash | $1.575 / $7.875 | |
| gemini-3.5-flash-lite | $0.315 / $2.625 | |
| grok-4.5 | xAI | $2.10 / $6.30 |
| kimi-k3 | Moonshot AI | $3.15 / $15.75 |
| gpt-5.6-terra | OpenAI | $2.10 / $12.60 |
| gpt-5.6-sol | OpenAI | $4.20 / $21.00 |
| gpt-5.6-luna | OpenAI | $0.21 / $1.26 |
| claude-sonnet-5 | Anthropic | $2.10 / $10.50 |
| claude-fable-5 | Anthropic | $10.50 / $52.50 |
| minimax-m3 | MiniMax | $0.315 / $1.26 |
| claude-opus-4.8 | Anthropic | $5.25 / $26.25 |
| gpt-5.5-pro | OpenAI | $31.50 / $189.00 |
| gpt-5.5 | OpenAI | $5.25 / $31.50 |
| gemini-3.1-pro | $2.10 / $12.60 | |
| grok-4.3 | xAI | $1.3125 / $2.625 |
Call it
The first response is 402 with the exact price and every way to pay. Pay, repeat the request with the proof, and you get the result.
curl -X POST https://api.glianalabs.com/v1/chat/completions \
-H 'content-type: application/json' \
-d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Summarise x402 in one sentence."}],"max_tokens":256}'How it works
The request and response follow OpenAI chat completions, including streaming (SSE), tool calling and image inputs on vision models. Pick the model per request. The same endpoint is also reachable over x402 at /x402/chat/completions.
Limits worth knowing
Chat is billed per token. From a balance or API key the call holds its ceiling (estimated input plus max_tokens) and you pay only the tokens it used; the rest goes back. A fixed-price payment (x402 exact, MPP) pays the quoted ceiling, so set max_tokens to what you need there.
Questions
Can I use the OpenAI SDK?
Yes. Set base_url to https://api.glianalabs.com/v1 and wrap the SDK’s fetch with a payment client such as mppx, or pass a prepaid gk_ key as the API key.
How are tokens billed?
Per token, at the price of the route that served the call. Many models run on cheaper partner routes, so the real price is often far under the list price. From a balance or API key you pay only what the call used; a fixed-price payment pays its quote.
Are tool calls and streaming supported?
Yes, on models that support them, in the OpenAI format.
Is there a free tier?
No. Every call is paid individually, with no plan or minimum. A request that fails validation is refused before it runs, so it is never charged.
Do I need an account or an API key?
No. The first response is HTTP 402 with the exact price; pay it with USDC from your own wallet and repeat the request. To prepay instead, top up a balance in rupiah and send a gk_ key.