Skip to Content
Models

Models

GET /v1/models and GET /v1/models/{model_id} — the models the API serves, their limits and prices.

Available models

ModelNameContextMax output tokensInputOutput
swim-1.0Strokes Writing Intelligence Model 1.01,024,00032,000$0.50 / 1M tokens$2.50 / 1M tokens

A request with max_tokens above the model's maximum gets a 400. Web searches and page reads are billed on top of tokens — see Web search.

swim-1.0

Strokes Writing Intelligence Model 1.0. Text and images in, text out. It answers in one pass at the reasoning level you set with output_config.effort — low by default — and returns its reasoning when you ask for it (see Reasoning). It searches the web on its own when an answer needs it; "web_search": false turns that off (see Web search).

It writes in a business, academic or creative mode, which it picks itself unless you send mode (see Modes).

strokes-wi-1.0, its earlier name, still works as model; replies name swim-1.0.

  • Every round is billed. A reply that searches the web is several requests to the model, so usage.output_tokens can be higher than max_tokens.
  • Streaming. Reasoning, text and tool calls stream live; web search results arrive as whole blocks between rounds. See Streaming.

List models

GET https://api.strokes.ink/v1/models
curl https://api.strokes.ink/v1/models \
  -H "x-api-key: $STROKES_API_KEY"
{
  "object": "list",
  "data": [
    {
      "type": "model",
      "id": "swim-1.0",
      "display_name": "Strokes Writing Intelligence Model 1.0",
      "created_at": "2026-11-25T00:00:00Z",
      "object": "model",
      "created": 1795564800,
      "owned_by": "strokes"
    }
  ],
  "has_more": false,
  "first_id": "swim-1.0",
  "last_id": "swim-1.0"
}

Get a model

GET https://api.strokes.ink/v1/models/{model_id}
curl https://api.strokes.ink/v1/models/swim-1.0 \
  -H "x-api-key: $STROKES_API_KEY"
{
  "type": "model",
  "id": "swim-1.0",
  "display_name": "Strokes Writing Intelligence Model 1.0",
  "created_at": "2026-11-25T00:00:00Z",
  "object": "model",
  "created": 1795564800,
  "owned_by": "strokes"
}

An unknown model_id gets a 404 not_found_error. Listing and getting models is free.

The model object

FieldType
typestringAlways model
idstringWhat to send as model in a request
display_namestringA name for people
created_atstringWhen the model was released, in RFC 3339
object, created, owned_byThe same model in OpenAI's shape: model, the release time in Unix seconds, strokes

On this page