# Choose a model

> Look up model IDs, token rates, context windows, and endpoint compatibility across the HeyEly catalog.

Every model in HeyEly uses an `author/name` identifier, such as `anthropic/claude-sonnet-5.5`. Pass that string in the `model` field on any inference request.

## Browse the catalog

Open [Models](https://heyely.si/docs/models) to inspect every active model alongside its context window and per-million-token input and output pricing. Click any ID to copy it straight to your clipboard.

Filter by model name, ID, or provider, or toggle **Private** to show confidential-hardware routes only. Filters persist in the address bar, such as `/docs/models?q=claude&private`, making filtered views easy to bookmark or share.

## Match the model to the endpoint

| Model type                     | Endpoint                                                                                                                                          |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text, vision, reasoning, tools | [Chat Completions](https://heyely.si/docs/api-reference/chat-completions), [Messages](https://heyely.si/docs/api-reference#messages), or [Responses](https://heyely.si/docs/api-reference#responses) |
| Embeddings                     | [Embeddings](https://heyely.si/docs/api-reference#embeddings)                                                                                                      |
| Image generation               | [Images](https://heyely.si/docs/api-reference#images)                                                                                                              |

Coding editors choose the wire protocol automatically: Claude Code talks to Messages, Codex talks to Responses, and most other tools use Chat Completions.

## Read the price

Catalog rates are quoted in US dollars per million tokens, broken down across input, output, and cached input tokens, with per-request or per-image charges where applicable. Open models bill at OpenRouter's rate plus OpenRouter's 5% platform fee; Private models bill at the confidential provider's rate (Phala or NEAR AI) plus a 5% routing fee. HeyEly adds no markup. Read [Pricing](https://heyely.si/docs/concepts/credit-and-activation#pricing) for full metering details.

The table on [Models](https://heyely.si/docs/models) displays each model's lowest listed price. [Free credit](https://heyely.si/docs/concepts/credit-and-activation#free-credit) evaluates eligibility against the model's highest output price across all endpoints and long-context tiers, including OpenRouter's 5% platform fee. That ceiling must not exceed $2 per million tokens, and the model must be open-weight and text-output only.

In addition, the request's worst-case cost estimate cannot exceed $0.05. Free credit never covers files, image or video URLs, server tools, plugins, `web_search_options`, provider routing, or image generation. Requests outside those rules require regular credit.

## List models from the API

Query `GET /v1/models` without credentials to retrieve every active model's ID, context window, pricing, and supported parameters programmatically. See [Models](https://heyely.si/docs/models) for the interactive table.

```bash
curl https://heyely.si/v1/models
```

## Use aliases and suffixes

* Prefixing an ID with `~` tracks the latest release in that model family.
* Appending `:incognito` pins execution to confidential-computing hardware at Phala or NEAR AI. Appending `:overdrive` pins execution to that model's single designated fast provider. Read [Private](https://heyely.si/docs/private-and-overdrive) and [Overdrive](https://heyely.si/docs/private-and-overdrive#overdrive).
* A trailing `[1m]` suffix is accepted for compatibility with Claude Code's context window setting. HeyEly strips `[1m]`, resolves the base catalog ID, and forwards the clean ID upstream without `[1m]`.

## If a model is missing

Requesting an ID absent from the live catalog returns `404 model_not_found`. Upstream providers periodically deprecate models, so re-fetch the catalog and switch to an active ID.

## List models

**GET** `https://heyely.si/v1/models`

Lists every active model across all modalities without requiring authentication. Inspect `architecture.output_modalities` to distinguish text models from `image` and `embeddings` models. Claude Code queries this endpoint with `?limit=1000` during model discovery.

**GET** `https://heyely.si/v1/models/{id}`

Fetches a single model object directly (without the list wrapper). Because model IDs include a slash, include it verbatim in the URL path, such as `/v1/models/anthropic/claude-haiku-4.5`. Unknown IDs respond with `404 model_not_found`.

Catalog rows ending in `:incognito` run exclusively on confidential hardware at Phala or NEAR AI at the provider's rate plus a 5% routing fee, and include an `incognito` block: `{ "provider": "Phala", "zdr": true, "verification": "provider_reported" }`. See [Private](https://heyely.si/docs/private-and-overdrive).

Catalog rows ending in `:overdrive` pin each call to a single fast provider at that endpoint's own rate with zero fallback, exposing an `overdrive` block containing the provider name, `fallback: false`, and dated observed throughput figures. See [Overdrive](https://heyely.si/docs/private-and-overdrive#overdrive).

### Send a request

**curl**

```bash
curl https://heyely.si/v1/models
```

**Python**

```python
import requests

models = requests.get("https://heyely.si/v1/models").json()["data"]
print([model["id"] for model in models][:5])
```

**TypeScript**

```typescript
const response = await fetch("https://heyely.si/v1/models");
const { data } = await response.json();
console.log(data.slice(0, 5).map((model: { id: string }) => model.id));
```

### Response

```json
{
  "object": "list",
  "data": [
    {
      "id": "anthropic/claude-sonnet-5.5",
      "object": "model",
      "created": 1790618686,
      "owned_by": "anthropic",
      "display_name": "Anthropic: Claude Sonnet 5.5",
      "name": "Anthropic: Claude Sonnet 5.5",
      "description": "Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, succeeding Claude Sonnet 5 as a direct upgrade. It is especially strong at building features, fixing bugs, and producing...",
      "context_length": 1000000,
      "max_output_tokens": 128000,
      "architecture": { "input_modalities": ["text", "image", "file"], "output_modalities": ["text"] },
      "pricing": {
        "prompt": "0.0000021",
        "completion": "0.0000105",
        "input_cache_read": "0.000000105",
        "input_cache_write": "0.000002625",
        "request": "0",
        "image": "0",
        "image_output": "0"
      },
      "supported_parameters": ["include_reasoning", "max_completion_tokens", "max_tokens", "reasoning", "reasoning_effort", "response_format", "stop", "structured_outputs", "tool_choice", "tools", "verbosity"]
    }
  ],
  "has_more": false,
  "first_id": "anthropic/claude-sonnet-5.5",
  "last_id": "anthropic/claude-sonnet-5.5"
}
```

### Fields

* `id` (string): The canonical identifier to pass in `model`.
* `display_name` (string): Human-friendly model label.
* `name` (string): Duplicate of the readable name matching OpenRouter's schema.
* `description` (string): Short summary of the model's strengths and role.
* `context_length` (integer): Total context window size in tokens.
* `max_output_tokens` (integer | null): Maximum output tokens permitted, or `null` when output limits do not apply (such as embedding models).
* `architecture` (object): Lists `input_modalities` and `output_modalities` supported by the model.
* `pricing` (object): String-encoded USD per-token rates: `prompt`, `completion`, `input_cache_read`, `input_cache_write`, and `image_output` (per output image token), plus per-request (`request`) and per-input-image (`image`) USD figures.
* `supported_parameters` (array): Parameters honored by the model's endpoints.

## Use the id in a tool

If your editor or CLI asks for token limits during setup, copy `context_length` and `max_output_tokens` from `GET /v1/models` (or set lower values). Make sure the chosen model exposes any capabilities your workflow relies on, including vision or tool calling.

For tool-specific configuration steps, head to the [coding tool guide](https://heyely.si/docs/coding-tools). To integrate directly in code, continue to the [API reference](https://heyely.si/docs/api-reference).
