CLIChat / LLM

Use glm-5.1 in Codex CLI

Connect the glm-5.1 API to Codex CLI through SkillBoss — one API key, no provider lock-in.

glm-5.1 is a chat / llm model from zillion. Use it in Codex CLI via the SkillBoss unified API.

Setup in Codex CLI

  1. Sign up at skillboss.co and create an API key.
  2. Configure Codex CLI to use the SkillBoss API endpoint: https://api.skillboss.co/v1
  3. Set the model to glm/glm-5.1
  4. Run your first request — glm-5.1 is now available in Codex CLI.

Model Specs

Model
glm-5.1
Type
Chat / LLM
Vendor
zillion
Pricing
Contact for pricing
API ID
glm/glm-5.1

Quick Start Code

Call glm-5.1 from Codex CLI using the SkillBoss unified API:

curl -X POST 'https://api.skillboss.co/v1/chat/completions' \
  -H 'Authorization: Bearer $SKILLBOSS_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "glm/glm-5.1",
    "messages": [{"role": "user", "content": "Hello from Codex CLI"}]
  }'

The same API key works with all 600+ models. Change the model parameter to switch instantly.

Similar Models for Codex CLI

Use glm-5.1 in Other Agents

FAQ

How do I use glm-5.1 in Codex CLI?

Sign up at skillboss.co, get an API key, and configure Codex CLI to use the SkillBoss API endpoint (https://api.skillboss.co/v1). Set the model to glm/glm-5.1 and you're ready to go.

How much does glm-5.1 cost?

glm-5.1 is available via SkillBoss with pay-as-you-go billing. Check the model page for current pricing.

Can I switch to another model without changing my code?

Yes — SkillBoss provides a unified API compatible with OpenAI format. Change the model parameter to switch between 600+ models instantly without modifying your integration.

Start using glm-5.1 in Codex CLI

600+ APIs, 1300+ skills — the complete toolkit for AI agents

AI Agents

Tell your agent:

set up skillboss.co/skill.md

Auto-configures base URL, auth, and glm-5.1 access. Works with Codex CLI and any MCP-compatible agent.

Developers

Sign up and get your API key in 60 seconds. $2 free credit included.

Sign Up Free →

Pay-as-you-go · No subscription · Credits never expire