Skip to content
Docs navigation: Open models / Open models

Open models

RightNow AIOpen models Updated

Chat completions and Responses are chat-compatible. Messages follows the compatible Messages request and response protocol. Use a workspace API key; credits or an existing coding plan pay for usage on the open-models service.

ConnectionValue
API basehttps://api.runinfra.ai/v1
Workspace keyrp_...
Process variableRUNINFRA_GATEWAY_KEY
BillingThe existing funding rules of your open-model account.

Replace MODEL_ID with an available id from Open models; read current capabilities, limits and prices from GET /v1/models.

Call an open model or use the RightNow model. Each API has its own key and contract.

Using a coding agent? Your agent can set up the open-models service for you. Copy the prompt from Set up with your coding agent.

Call a hosted model

Set the base URL to https://api.runinfra.ai/v1, use a workspace API key, and pass a model id.

cURL
curl https://api.runinfra.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNINFRA_GATEWAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MODEL_ID",
    "messages": [{"role": "user", "content": "Write a TypeScript retry helper."}],
    "max_tokens": 16384
  }'

GET /v1/models is the authoritative list of hosted chat models. It also reports when one is temporarily paused.

Pricing, access and help

Source reference

API schema