Verified 2026-11-18 · rates follow the live catalog
Integration guides
Every guide is the same three steps, because every client speaks one of the two API formats: point a base-URL environment variable at the gateway, set the key, pick a model id from the catalog.
Endpoint
Both API formats are served from one host and one key, so a tool that speaks either works without a translation layer:
- OpenAI format:
https://api.openference.com/v1/chat/completions
- Anthropic format:
https://api.openference.com/v1/messages
Set OPENAI_BASE_URL or ANTHROPIC_BASE_URL to that host and keep the client library you already use.
Clients
- Use Cursor with Openference — setup guide — Connect Cursor to Openference in under a minute. Override the OpenAI base URL, paste your API key, and call GLM, DeepSeek, Qwen, and more.
- Use Claude Code with Openference — setup guide — Point Claude Code at Openference with ANTHROPIC_BASE_URL and your API key. Open-weight models through one stable endpoint — no Anthropic subscription required.
- Use Codex CLI with Openference — setup guide — Configure OpenAI Codex CLI to route through Openference. Responses API support, curated open models, and automatic failover built in.
- 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.
- Use Pi with Openference — setup guide — Configure the Pi coding agent (pi.dev) with Openference. OpenAI-compatible base URL setup for developers and hobbyists.
- Use Open WebUI with Openference — setup guide — Connect self-hosted Open WebUI to Openference. One API key for curated open models, with transparent pricing.
- Use Cline with Openference — setup guide — Set Cline in VS Code to OpenAI Compatible mode with Openference. Change the base URL and start using GLM, DeepSeek, and more.