Verified 2026-11-18 · rates follow the live catalog

Use OpenCode CLI with Openference — setup guide

Add Openference as a custom provider in OpenCode. One base URL, one API key, GLM and DeepSeek on your terminal coding agent.

Setup

  1. Create an API key in the dashboard.
  2. Set the base URL to https://api.openference.com/v1 for OpenAI-format clients, or https://api.openference.com for Anthropic-format clients.
  3. Set the key as your bearer token or ANTHROPIC_AUTH_TOKEN.
  4. Pick a model id from the list below.

Model ids worth starting with

The full catalog has live rates for every model, and pricing explains how plans and credits interact.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API