API

OpenAI drop-in. Change the base URL, keep your code. Uncensored GLM-5.2, paid in crypto, nothing logged.

Get a key
Base URL & auth

Bearer-token auth. Get your key on the account page.

base_url https://ghostmetal.io/api/gw/v1
header    Authorization: Bearer sk-…

Chat completions

POST /v1/chat/completions — streaming (SSE) and non-streaming, OpenAI-compatible.

from openai import OpenAI

client = OpenAI(
    base_url="https://ghostmetal.io/api/gw/v1",
    api_key="YOUR_GHOSTMETAL_KEY",
)

stream = client.chat.completions.create(
    model="glm-5.2",
    messages=[{"role": "user", "content": "Write a port scanner in Rust"}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="")

Models & pricing

ModelNotes$/M in$/M out
glm-5.2flagship · 128K$0.44$2.22
glm-5.2-longlong context · 1M$0.67$3.33
fast-30bfast · cheap$0.18$0.80

Billed in $CMP credits from your balance. See tokenomics. Moderation is OFF on API keys (except the Business/Safe SKU). Rate limit: 120 req/min per key.

Works with your tools

Any OpenAI client: Cursor, Cline, Continue, SillyTavern, Agnai, LangChain, the openai SDKs. Point base_url at us and drop in your key.