Endpoints
Chat completions
POST /v1/chat/completions — OpenAI-compatible chat, streaming and
non-streaming. This is the primary endpoint.Text completions
POST /v1/completions — legacy text completions, served only by
text-completion models. Other models return an error pointing you to
/v1/chat/completions.Responses
POST /v1/responses — OpenAI Responses API, adapted onto chat completions.Embeddings
POST /v1/embeddings — OpenAI-compatible embeddings endpoint. No embedding
model is currently deployed.Messages (Anthropic)
POST /v1/messages — Anthropic-compatible Messages API for the Anthropic
SDK and Claude Code, plus POST /v1/messages/count_tokens for token counts.Models
GET /v1/models (alias /openai/v1/models) — list available models with
per-model pricing and documentation links.Usage
GET /api/v1/usage — read-only usage for your key, filterable by
range, start, and end.Authentication
All requests use a single virtual key with thesk-corvex- prefix. Send it as
a Bearer token:
/v1/messages surface, you may instead pass it as an
x-api-key header. Legacy sk-bf- keys are still accepted.
Keys are created and managed only from the dashboard at
tokenfactory.corvex.cloud. There is no API
for creating or rotating keys.
Base URL
Models
Models are addressed by their bare Hugging Face repo id (namespace/model).
Call GET /v1/models for the current catalog, pricing, and documentation
links — it is the authoritative source. Currently available:
zai-org/GLM-5.2-FP8moonshotai/Kimi-K2.7-Code