Docs pages

Models

GEThttps://api.steerwise.s3techpulse.com/v1/models

The models your key can call: your plan’s models, narrowed by the key’s allowed models when it has a list. Needs a key with the models:read scope.

Example

Code samples in
bashpythonjavascript
curl https://api.steerwise.s3techpulse.com/v1/models \
  -H "Authorization: Bearer $STEERWISE_API_KEY"
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.steerwise.s3techpulse.com/v1",
    api_key=os.environ["STEERWISE_API_KEY"],
)

for m in client.models.list():
    print(m.id, m.owned_by)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.steerwise.s3techpulse.com/v1",
  apiKey: process.env.STEERWISE_API_KEY,
});

for await (const m of client.models.list()) {
  console.log(m.id, m.owned_by);
}
Example response (json, 200)
{
  "object": "list",
  "data": [
    {
      "id": "<model id>",
      "object": "model",
      "created": <unix time>,
      "owned_by": "<anthropic or openai>",
      "display_name": "<display name>"
    }
  ]
}

Response

  • idstring

    The id to send as model.

  • owned_bystring

    The provider: anthropic or openai.

  • display_namestring

    The model’s display name.

  • createdinteger

    Unix time.

  • auto appears only when your plan and key can use it.
  • A request carrying anthropic-version gets Anthropic’s list shape instead, which Claude Code’s model discovery reads. That list holds only the Claude models (the ones /v1/messages accepts), plus auto when one of them can serve it.
  • The models endpoints allow 60 calls per minute per key by default, counted across both (429 rate_limit_exceeded with Retry-After).

Retrieve a model

GEThttps://api.steerwise.s3techpulse.com/v1/models/{id}

One model, in the same shape as a list entry. An unknown or inactive model is 404 model_not_found; a model outside your plan or the key’s allowed models is 403.

Models on offer

The models Steerwise offers today, from Anthropic and OpenAI, with their prices. Which of them your key can call depends on your plan and the key: GET /v1/models is the answer for your key.

Currency

The live model list didn’t load. GET /v1/models lists the models your key can call, and the pricing page has their prices.

Models on offer, with prices per 1M tokens
Model Notes Input Output Cache write Cache read
auto Picks a model per call; billed at the price of the model that served it Per model used Per model used Per model used Per model used
  • Prices per 1M tokens, in rupeesUS dollars, without GST. The price on the day of the request applies.
  • Cache write and cache read apply only when a request uses prompt caching.

Errors

The 403 model codes and 404 come from GET /v1/models/{id} only.

Errors for this endpoint
StatusCodeWhen
401missing_api_keyNo key was sent.
401invalid_api_keyThe key is malformed, unknown, revoked or expired.
403account_suspendedThe organisation or user is suspended.
403wallet_frozenStaff have put the organisation’s wallet on hold.
403key_pausedThe key is paused, usually by the runaway-spend detector after its spend jumped far past its usual rate.
403missing_scopeThe key lacks the scope this endpoint needs.
403model_not_allowedYour plan does not include the model.
403model_not_allowed_for_keyThe key’s allowed models exclude this model.
404model_not_foundNo active model has that id.
429rate_limit_exceededThe key made more than its allowance of models calls a minute (60, shared by both endpoints). Wait Retry-After seconds.
500internal_errorSomething failed on our side. Details are logged under the request id, never returned.
503server_overloadedThe server is at its limit of requests at once.
503service_unavailableThe key could not be checked in time (the database is slow or unavailable).
503service_restartingThe server is restarting and cancelled the request.

What to do about each one: Errors and limits.