Models
https://api.steerwise.s3techpulse.com/v1/modelsThe 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
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);
}{
"object": "list",
"data": [
{
"id": "<model id>",
"object": "model",
"created": <unix time>,
"owned_by": "<anthropic or openai>",
"display_name": "<display name>"
}
]
}Response
idstringThe id to send as
model.owned_bystringThe provider:
anthropicoropenai.display_namestringThe model’s display name.
createdintegerUnix time.
autoappears only when your plan and key can use it.- A request carrying
anthropic-versiongets Anthropic’s list shape instead, which Claude Code’s model discovery reads. That list holds only the Claude models (the ones/v1/messagesaccepts), plusautowhen one of them can serve it. - The models endpoints allow 60 calls per minute per key by default, counted across both (429
rate_limit_exceededwithRetry-After).
Retrieve a model
https://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.
The live model list didn’t load. GET /v1/models lists the models your key can call, and the pricing page has their prices.
| 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.
| Status | Code | When |
|---|---|---|
| 401 | missing_api_key | No key was sent. |
| 401 | invalid_api_key | The key is malformed, unknown, revoked or expired. |
| 403 | account_suspended | The organisation or user is suspended. |
| 403 | wallet_frozen | Staff have put the organisation’s wallet on hold. |
| 403 | key_paused | The key is paused, usually by the runaway-spend detector after its spend jumped far past its usual rate. |
| 403 | missing_scope | The key lacks the scope this endpoint needs. |
| 403 | model_not_allowed | Your plan does not include the model. |
| 403 | model_not_allowed_for_key | The key’s allowed models exclude this model. |
| 404 | model_not_found | No active model has that id. |
| 429 | rate_limit_exceeded | The key made more than its allowance of models calls a minute (60, shared by both endpoints). Wait Retry-After seconds. |
| 500 | internal_error | Something failed on our side. Details are logged under the request id, never returned. |
| 503 | server_overloaded | The server is at its limit of requests at once. |
| 503 | service_unavailable | The key could not be checked in time (the database is slow or unavailable). |
| 503 | service_restarting | The server is restarting and cancelled the request. |
What to do about each one: Errors and limits.
Every field and schema: Full API reference.