Models
List every chat and image model on Ruvicode with the public GET /v1/models endpoint, including context window, max output tokens and pricing.
GET /v1/models returns every model you can call, along with the pricing and limit metadata tools need to route requests well.
This endpoint is public. No API key required, so coding tools can discover the catalog before you configure a key.
Request
curl https://api.ruvicode.com/v1/modelsResponse
{
"object": "list",
"data": [
{
"id": "glm-5.2",
"object": "model",
"name": "GLM 5.2",
"created": 1754592000,
"owned_by": "ruvicode",
"context_length": 1000000,
"max_completion_tokens": 128000,
"cache_read_price": 0.0376
},
{
"id": "ruvicode-image",
"object": "model",
"name": "Ruvicode Image",
"created": 1754592000,
"owned_by": "ruvicode",
"context_length": 0,
"type": "image",
"kind": "generate",
"price_per_image": 0.03
}
]
}Fields
| Field | Description |
|---|---|
id | Model id, this is the exact string you pass as model in requests |
name | Display name for UIs |
context_length | Context window in tokens |
max_completion_tokens | Maximum output tokens |
cache_read_price | Price per 1M cached prompt tokens in USD, when the model supports prompt caching |
type | image for image models. Absent on chat models |
kind | Image models only: generate (use /v1/images/generations) or edit (use /v1/images/edits) |
price_per_image | Image models only: price per returned image in USD |
owned_by | Always ruvicode |
Input and output price per 1M tokens for every chat model are listed in the models catalog, and the per-model detail page shows the current live rate. Image models are listed there too, priced per image.
Notes
- The catalog is curated: around 50 flagship chat models across Anthropic, OpenAI, Google, DeepSeek, Z.ai, xAI, Moonshot, MiniMax, Qwen, and Meta families, plus image generation and image edit models. Only models you can call right now are listed.
- Model ids are lowercase and stable. The
namefield is what you show humans. - Tools like OpenCode keep their own model list in config. Point the
idvalues from this endpoint at that list and everything lines up. See Integrations. - Want to narrow what a key may call? Per-key allowed models are set at key creation or from the key's edit dialog in the dashboard.