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

ModelProviderPrice
mimo-v2.6-flashXiaomi$0.0028 / $0.0028
glm-5.2Z.ai$0.0578 / $0.2027
glm-5.3-flashZ.ai$0.0236 / $0.0788
qwen3.8-flashAlibaba$0.0336 / $0.0987
deepseek-v4-flashDeepSeek$0.0462 / $0.1386
glm-5.3-abliteratedZ.ai$1.872 / $6.2244
glm-5.3-flash-abliteratedZ.ai$0.5616 / $2.34
deepseek-v4.1-flash-1017-uncensoredDeepSeek$0.486 / $1.458
gpt-6.2-astraOpenAI$8.40 / $42.00
gpt-6.2-solOpenAI$2.10 / $10.50
kimi-k3.1-pro-highspeedMoonshot AI$4.20 / $21.00
mimo-v2.6-proXiaomi$4.20 / $8.40
kimi-k3.1-proMoonshot AI$2.10 / $10.50
gemini-4-carbonGoogle$2.10 / $10.50
claude-fable-5.2Anthropic$8.40 / $42.00
muse-ember-1.0Meta$0.105 / $0.525
inkling-2-smallThinking Machines$0.315 / $1.05
particle-1Particle$0.2625 / $1.05
gpt-6.1-terraOpenAI$1.05 / $5.25
decisionsOpenAI$0.001001 Per call (≤8k input tokens; $0.10 per 1M input tokens, output free)
minimax-m3.1-flashMiniMax$0.1575 / $0.63
deepseek-v4.1-flashDeepSeek$0.315 / $1.26
muse-spark-openMeta$1.3125 / $4.4625
gemini-4-argonGoogle$2.10 / $10.50
claude-haiku-5.5Anthropic$0.105 / $0.525
muse-spark-1.3Meta$1.3125 / $4.4625
muse-wonder-1.0Meta$4.20 / $21.00
claude-sonnet-5.5Anthropic$2.10 / $10.50
gpt-6.1-solOpenAI$2.10 / $10.50
claude-opus-5.5Anthropic$4.20 / $21.00
gpt-6-lunaOpenAI$0.105 / $0.525
gpt-6-solOpenAI$2.10 / $10.50
grok-4.7xAI$2.10 / $6.30
jevTypeSafe$0.001412 Per call (32k-token ceiling)
paretoUnbiased$2.625 / $7.875
gpt-6-astraOpenAI$10.50 / $52.50
gemini-3.8-flashGoogle$0.7875 / $3.9375
claude-fable-5.1Anthropic$10.50 / $52.50
glm-5.3Z.ai$1.47 / $4.62
gemini-3.7-flashGoogle$0.7875 / $3.9375
deepseek-v4-proDeepSeek$1.386 / $4.158
grok-4.6xAI$2.10 / $6.30
qwen3.7-plusAlibaba$0.336 / $1.344
qwen3.8-maxAlibaba$2.10 / $6.30
qwen3.7-maxAlibaba$1.3125 / $3.9375
claude-opus-5Anthropic$5.25 / $26.25
gemini-3.6-flashGoogle$1.575 / $7.875
gemini-3.5-flash-liteGoogle$0.315 / $2.625
grok-4.5xAI$2.10 / $6.30
kimi-k3Moonshot AI$3.15 / $15.75
gpt-5.6-terraOpenAI$2.10 / $12.60
gpt-5.6-solOpenAI$4.20 / $21.00
gpt-5.6-lunaOpenAI$0.21 / $1.26
claude-sonnet-5Anthropic$2.10 / $10.50
claude-fable-5Anthropic$10.50 / $52.50
minimax-m3MiniMax$0.315 / $1.26
claude-opus-4.8Anthropic$5.25 / $26.25
gpt-5.5-proOpenAI$31.50 / $189.00
gpt-5.5OpenAI$5.25 / $31.50
gemini-3.1-proGoogle$2.10 / $12.60
grok-4.3xAI$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.

More from the same API