{"components":{"headers":{"Deprecation":{"description":"Present only once this operation has been deprecated: the date the deprecation took effect. Absent while the operation is current.","schema":{"type":"string"}},"InferenceId":{"description":"The unique id of this request, on every INFERENCE response \u2014 streamed ones and the gateway's own refusals included; the utility routes and a rejected key don't carry it. Quote it to support to name one exact request, and it is the id cost-reconciliation contracts key on. `X-Request-Id` carries the same value under its conventional name.","schema":{"type":"string"}},"KeySpend":{"description":"What the API key that made this request has spent in total, in dollars. The team's own balance is in the console; this is the key's running figure at the moment the request was answered.","schema":{"type":"string"}},"RateLimit":{"description":"Where this caller stands against each active admission policy, in IETF RateLimit structured-field form. `r` is remaining capacity and `t` is seconds until a time window resets; concurrency has no time window. Labels identify `requests`, `throughput`, and `concurrency`. Advisory, as the draft specifies \u2014 pace against it rather than treating it as a contract.","schema":{"type":"string"}},"RateLimitLimitRequests":{"description":"OpenAI's name for the requests-per-minute cap that governs this caller now: the tightest one, whose remaining figure is `X-RateLimit-Remaining-Requests`. The same data as `RateLimit`. Absent when no request cap applies.","schema":{"type":"integer","minimum":1}},"RateLimitLimitTokens":{"description":"OpenAI's name for the tokens-per-minute cap that governs this caller now: the tightest one, whose remaining figure is `X-RateLimit-Remaining-Tokens`. The same data as `RateLimit`'s `throughput`. Absent when no token cap applies.","schema":{"type":"integer","minimum":1}},"RateLimitRemainingRequests":{"description":"Requests left in the current window under `X-RateLimit-Limit-Requests`, after this request; `0` on a requests refusal. Advisory, like `RateLimit`. There is no `X-RateLimit-Reset-Requests`: follow `Retry-After`.","schema":{"type":"integer","minimum":0}},"RateLimitRemainingTokens":{"description":"Tokens left in the current window under `X-RateLimit-Limit-Tokens`. Advisory: tokens are counted when a request completes, so the figure moves as requests already in flight finish; `0` on a throughput refusal. There is no `X-RateLimit-Reset-Tokens`: follow `Retry-After`.","schema":{"type":"integer","minimum":0}},"RateLimitPolicy":{"description":"The active policies: `q` is the quota and `w` the window in seconds. Inference responses label request, token-throughput, and concurrency caps; concurrency has no window. Public endpoints currently allow 120 requests per 60s per caller.","schema":{"type":"string"}},"RequestId":{"description":"The same value as `Inference-Id`, under the conventional name. Both are always sent together.","schema":{"type":"string"}},"ResponseCost":{"description":"What this request cost, in dollars, written as a plain decimal. Absent \u2014 never zero \u2014 when the charge is not known as the response begins: on a streamed response, whose headers are sent before the first token, and on any refusal, which is not charged. `0` therefore means genuinely free, such as a fully cached read. The exact per-request figure is always in the console's request log.","schema":{"type":"string"}},"RetryAfter":{"description":"Seconds to wait before retrying a retryable 429 response, as defined by HTTP Semantics.","schema":{"minimum":0,"type":"integer"}},"Sunset":{"description":"Present only once a removal date has been set (RFC 8594): the HTTP-date after which this operation stops answering. Absent while none is set.","schema":{"type":"string"}}},"schemas":{"Error":{"description":"A refusal from the gateway.","properties":{"error":{"properties":{"code":{"description":"A stable machine-readable code.","type":["string","null"]},"message":{"description":"What went wrong, in plain language.","type":"string"},"type":{"description":"The error class, e.g. `invalid_request_error`.","type":"string"}},"required":["message","type"],"type":"object"}},"required":["error"],"type":"object"},"ModelId":{"description":"A model identifier from the published catalog. https:\/\/inference.boundless.network\/docs\/pricing lists which are serving today, and what each costs.","enum":["deepseek\/deepseek-v4.1-flash-1017","moonshotai\/kimi-k3.1-pro","glm-5.3-flash","mimo-v2.6-flash","gpt-6-luna","claude-opus-5.5","claude-sonnet-5.5","claude-haiku-5.5","gpt-6.2-astra","gpt-6.2-sol","gpt-6.1-terra","claude-fable-5.2","thinkingmachines\/inkling-2-mini"],"examples":["moonshotai\/kimi-k3.1-pro"],"type":"string"},"Usage":{"description":"Exact token counts for the request. These are the numbers the request is billed on: multiplying them by the published rate card reproduces the charge.","properties":{"completion_tokens":{"description":"Tokens generated in the response.","type":"integer"},"prompt_tokens":{"description":"Tokens in the request, including any served from cache.","type":"integer"},"total_tokens":{"description":"`prompt_tokens` plus `completion_tokens`.","type":"integer"}},"required":["prompt_tokens","completion_tokens","total_tokens"],"type":"object"},"ChatCompletion":{"description":"One completion, in the OpenAI chat-completions shape.","properties":{"choices":{"items":{"properties":{"finish_reason":{"enum":["stop","length","tool_calls","content_filter"],"type":"string"},"index":{"type":"integer"},"message":{"$ref":"#\/components\/schemas\/ChatMessage"}},"type":"object"},"type":"array"},"created":{"description":"Unix timestamp, seconds.","type":"integer"},"id":{"type":"string"},"model":{"type":"string"},"object":{"const":"chat.completion","type":"string"},"usage":{"$ref":"#\/components\/schemas\/Usage"}},"required":["id","object","created","model","choices","usage"],"type":"object"},"ChatMessage":{"properties":{"content":{"description":"The message text, or null on an assistant tool call.","type":["string","null"]},"name":{"description":"Optional participant name.","type":"string"},"role":{"enum":["system","user","assistant","tool"],"type":"string"},"tool_call_id":{"description":"The tool call this tool-role message answers.","type":"string"},"tool_calls":{"items":{"$ref":"#\/components\/schemas\/ToolCall"},"type":"array"}},"required":["role"],"type":"object"},"ChatTool":{"properties":{"function":{"properties":{"description":{"type":"string"},"name":{"type":"string"},"parameters":{"additionalProperties":true,"description":"JSON Schema for the function arguments.","type":"object"}},"required":["name","parameters"],"type":"object"},"type":{"const":"function","type":"string"}},"required":["type","function"],"type":"object"},"Credits":{"description":"A Team's credit balance in exact USD, as the key that asked sees it.","properties":{"balance":{"description":"What this key's owner can spend; requests stop at zero. Null for a Team with no limit. With a seat: the plan left, plus Team credits left when overage is on.","type":["number","null"]},"currency":{"const":"usd","type":"string"},"key":{"properties":{"limit":{"description":"This key's own spending cap, or null.","type":["number","null"]},"spent":{"description":"What this key has spent.","type":"number"}},"required":["limit","spent"],"type":"object"},"object":{"const":"credits","type":"string"},"plan":{"anyOf":[{"type":"null"},{"properties":{"allowance":{"description":"List dollars granted this period.","type":"number"},"left":{"description":"List dollars left this period.","type":"number"},"name":{"description":"The plan name: \"Starter\", \"Pro\" or \"Max\".","type":"string"},"overage":{"description":"Whether Team credits pay once the plan is used.","type":"boolean"},"percent":{"description":"Percent of the plan used, one decimal.","type":"number"},"period_end":{"description":"End of the current period: the plan renews or ends then (ISO 8601).","type":"string"},"price":{"description":"The plan's monthly price in USD (equal to tier).","type":"number"},"status":{"description":"The plan's status: active; cancel_scheduled (the subscription or this seat ends at period_end and does not renew); past_due (payment failed, being retried). Once a plan has ended, `plan` is absent.","enum":["active","cancel_scheduled","past_due"],"type":"string"},"team_credits":{"description":"Team credits left, shared by the Team.","type":"number"},"tier":{"description":"Seat price per month in USD.","enum":[19,49,199,499],"type":"number"},"used":{"description":"List dollars used this period.","type":"number"}},"required":["tier","allowance","used","left","percent","overage","period_end","team_credits"],"type":"object"}],"description":"The key owner's seat plan this period. Null when the owner has no seat or the key has no owner; absent for a Team without plans or once the plan has ended."},"total_credits":{"description":"Every Team credit granted (seat plans excluded). Null for a Team with no limit.","type":["number","null"]},"total_spent":{"description":"Team credits spent (seat plans excluded): total_credits \u2212 total_spent is Team credits left.","type":"number"}},"required":["object","currency","balance","total_credits","total_spent","key"],"type":"object"},"ModelList":{"description":"The identifiers the gateway is serving, in the OpenAI list shape, decorated with prices and context length where the catalog publishes them.","properties":{"data":{"items":{"properties":{"context_length":{"description":"The served context window in tokens, absent for a model the catalog has no profile for.","type":"integer"},"created":{"type":"integer"},"id":{"type":"string"},"object":{"const":"model","type":"string"},"owned_by":{"description":"The lab that trained the model, where known.","type":"string"},"pricing":{"description":"USD per MILLION tokens \u2014 the rate-card numbers, never zero for an unpriced model (the field is absent instead).","properties":{"input":{"type":"number"},"output":{"type":"number"}},"required":["input","output"],"type":"object"}},"required":["id"],"type":"object"},"type":"array"},"object":{"const":"list","type":"string"}},"required":["object","data"],"type":"object"},"ModelMetadataList":{"description":"The identifiers the gateway is serving, each with the catalog metadata a client needs to configure itself: rates per token, context window, and what the model can do.","properties":{"data":{"items":{"properties":{"model_info":{"properties":{"cache_read_input_token_cost":{"description":"USD per token for a cached input token. Absent where the rate card publishes no cached rate \u2014 never zero, which would read as free.","type":"number"},"input_cost_per_token":{"description":"USD per input token.","type":"number"},"max_input_tokens":{"description":"The served context window in tokens.","type":"integer"},"output_cost_per_token":{"description":"USD per output token.","type":"number"},"supported_openai_params":{"description":"Request fields this model accepts, in the OpenAI vocabulary for them.","items":{"type":"string"},"type":"array"},"supports_function_calling":{"type":"boolean"},"supports_reasoning":{"type":"boolean"},"supports_vision":{"type":"boolean"}},"type":"object"},"model_name":{"type":"string"}},"required":["model_name","model_info"],"type":"object"},"type":"array"}},"required":["data"],"type":"object"},"RequestList":{"description":"A page of the calling key's requests, newest first.","properties":{"currency":{"const":"usd","type":"string"},"data":{"items":{"$ref":"#\/components\/schemas\/UsageRequest"},"type":"array"},"end":{"description":"The end of the window searched, ISO 8601 UTC.","type":"string"},"has_more":{"description":"Whether a later page holds more requests.","type":"boolean"},"object":{"const":"list","type":"string"},"page":{"type":"integer"},"start":{"description":"The start of the window searched, ISO 8601 UTC.","type":"string"},"total":{"description":"Requests in the window; a floor when `total_is_capped`.","type":"integer"},"total_is_capped":{"type":"boolean"}},"required":["object","currency","data","page","has_more","total","total_is_capped","start","end"],"type":"object"},"ToolCall":{"properties":{"function":{"properties":{"arguments":{"description":"JSON-encoded arguments matching the declared parameters.","type":"string"},"name":{"type":"string"}},"required":["name","arguments"],"type":"object"},"id":{"type":"string"},"type":{"const":"function","type":"string"}},"required":["id","type","function"],"type":"object"},"UsageRequest":{"description":"One request the key made, as its request log records it.","properties":{"cached_tokens":{"description":"Input tokens served from the prompt cache, when reported.","type":["integer","null"]},"cost":{"description":"What the request cost, in exact USD with no rounding.","type":"number"},"created_at":{"description":"When the request started, ISO 8601 UTC.","type":["string","null"]},"currency":{"const":"usd","type":"string"},"duration_ms":{"description":"Total time to complete, in milliseconds.","type":["integer","null"]},"endpoint":{"description":"The route it was sent to, e.g. `\/v1\/chat\/completions`.","type":["string","null"]},"first_token_ms":{"description":"Time to the first token, in milliseconds.","type":["integer","null"]},"id":{"description":"The `Inference-Id` its response carried.","type":"string"},"input_tokens":{"type":["integer","null"]},"model":{"description":"The model it was sent to.","type":"string"},"object":{"const":"request","type":"string"},"output_tokens":{"type":["integer","null"]},"project":{"description":"The project its key belongs to, if any.","type":["string","null"]},"reasoning_tokens":{"description":"Output tokens spent thinking, when reported.","type":["integer","null"]},"status":{"description":"`succeeded`, or why it did not: `failed` (our side or upstream), `invalid` (the request was malformed), `rejected` (not permitted), `throttled` (a cap was hit).","enum":["succeeded","failed","invalid","rejected","throttled"],"type":"string"},"total_tokens":{"type":"integer"}},"required":["object","id","created_at","model","status","cost","total_tokens"],"type":"object"},"Response":{"description":"One result in the OpenAI Responses shape used by Codex CLI.","properties":{"id":{"type":"string"},"model":{"type":"string"},"object":{"const":"response","type":"string"},"output":{"description":"Assistant messages and function calls produced by the model.","items":{"oneOf":[{"properties":{"content":{"items":{"properties":{"annotations":{"items":{},"type":"array"},"text":{"type":"string"},"type":{"const":"output_text","type":"string"}},"required":["type","text"],"type":"object"},"type":"array"},"id":{"type":"string"},"role":{"const":"assistant","type":"string"},"status":{"enum":["in_progress","completed","incomplete"],"type":"string"},"type":{"const":"message","type":"string"}},"required":["id","type","role","content"],"type":"object"},{"properties":{"arguments":{"description":"JSON-encoded arguments matching the function parameters.","type":"string"},"call_id":{"description":"The identifier a function_call_output answers.","type":"string"},"id":{"type":"string"},"name":{"type":"string"},"status":{"enum":["in_progress","completed","incomplete"],"type":"string"},"type":{"const":"function_call","type":"string"}},"required":["type","call_id","name","arguments"],"type":"object"}]},"type":"array"},"status":{"enum":["in_progress","completed","incomplete","failed"],"type":"string"},"usage":{"properties":{"input_tokens":{"type":"integer"},"output_tokens":{"type":"integer"},"total_tokens":{"type":"integer"}},"required":["input_tokens","output_tokens","total_tokens"],"type":"object"}},"required":["id","object","status","model","output"],"type":"object"},"ResponsesInputItem":{"description":"One item of a Responses conversation, oldest first.","oneOf":[{"description":"A conversation message.","properties":{"content":{"description":"The text, or the Responses content-part array (`input_text`, `output_text`).","type":["string","array"]},"role":{"enum":["user","assistant","system","developer"],"type":"string"},"type":{"const":"message","type":"string"}},"required":["role","content"],"type":"object"},{"description":"A function call the model made on an earlier turn, replayed as context.","properties":{"arguments":{"description":"JSON-encoded arguments matching the function parameters.","type":"string"},"call_id":{"description":"The identifier the matching function_call_output answers.","type":"string"},"name":{"type":"string"},"type":{"const":"function_call","type":"string"}},"required":["type","call_id","name","arguments"],"type":"object"},{"description":"The result of running one of those function calls.","properties":{"call_id":{"description":"The function_call this answers.","type":"string"},"output":{"description":"What the tool returned.","type":["string","array","object"]},"type":{"const":"function_call_output","type":"string"}},"required":["type","call_id","output"],"type":"object"}]},"ResponsesTool":{"description":"A function Codex or another Responses client may ask the model to call.","properties":{"description":{"type":"string"},"name":{"type":"string"},"parameters":{"additionalProperties":true,"description":"JSON Schema for the function arguments.","type":"object"},"strict":{"description":"Whether arguments must conform exactly to the schema.","type":"boolean"},"type":{"const":"function","type":"string"}},"required":["type","name","parameters"],"type":"object"},"AnthropicTool":{"properties":{"description":{"type":"string"},"input_schema":{"additionalProperties":true,"description":"JSON Schema for the tool input.","type":"object"},"name":{"type":"string"}},"required":["name","input_schema"],"type":"object"},"Message":{"description":"One message, in the Anthropic Messages shape.","properties":{"content":{"items":{"properties":{"text":{"type":"string"},"type":{"enum":["text","tool_use"],"type":"string"}},"type":"object"},"type":"array"},"id":{"type":"string"},"model":{"type":"string"},"role":{"const":"assistant","type":"string"},"stop_reason":{"enum":["end_turn","max_tokens","stop_sequence","tool_use"],"type":["string","null"]},"type":{"const":"message","type":"string"},"usage":{"properties":{"input_tokens":{"type":"integer"},"output_tokens":{"type":"integer"}},"required":["input_tokens","output_tokens"],"type":"object"}},"required":["id","type","role","content","model","usage"],"type":"object"},"TokenCount":{"description":"The input token count of a request that was not run.","properties":{"input_tokens":{"type":"integer"}},"required":["input_tokens"],"type":"object"},"Health":{"description":"The console's liveness answer.","type":"object","properties":{"status":{"type":"string","const":"ok"}},"required":["status"]},"ModelCatalog":{"description":"The published model catalog with the live rate card, in US dollars per million tokens. `null` where no rate is published, never zero.","type":"object","properties":{"currency":{"type":"string","const":"USD"},"data":{"type":"array","items":{"type":"object","properties":{"access":{"type":"string","const":"apply","description":"Access by application: a key can call this model only after its Team's application is approved; until then the gateway answers 403 model_access_required."},"bestFor":{"description":"One sentence on what the model suits.","type":"string"},"cachedInputPerMillionTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"contextTokens":{"type":"integer"},"dataRetention":{"description":"`zdr`: an open-weight model, served with zero data retention end to end. `non-zdr`: an explicit exception to zero data retention.","anyOf":[{"type":"string","const":"zdr"},{"type":"string","const":"non-zdr"}]},"id":{"description":"The identifier to send as `model`.","type":"string"},"inputPerMillionTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"name":{"description":"The display name. Never send this as `model`.","type":"string"},"outputPerMillionTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"retiresAt":{"description":"ISO 8601 instant this model retires. It stays listed, with no published rates; setup tools leave it out.","type":"string"},"serving":{"description":"Whether the gateway is serving it right now.","type":"boolean"},"supports":{"type":"array","items":{"type":"string"}}},"required":["bestFor","cachedInputPerMillionTokens","contextTokens","id","inputPerMillionTokens","name","outputPerMillionTokens","serving","supports"]}},"unit":{"type":"string","const":"per_million_tokens"}},"required":["currency","data","unit"]},"TooManyRequests":{"description":"A refusal from the console: one machine-readable code, flat.","type":"object","properties":{"error":{"enum":["too_many_requests"],"type":"string"}},"required":["error"]}},"securitySchemes":{"apiKeyHeader":{"description":"The API key in an `x-api-key` header, as Anthropic SDKs send it.","in":"header","name":"x-api-key","type":"apiKey","x-default-grant":"llm_api","x-permissions-supported":["inference:invoke","models:read","credits:read"]},"bearerAuth":{"description":"The API key as `Authorization: Bearer <key>`, as OpenAI SDKs send it.","scheme":"bearer","type":"http","x-default-grant":"llm_api","x-permissions-supported":["inference:invoke","models:read","credits:read"]}}},"externalDocs":{"description":"Full documentation","url":"https:\/\/inference.boundless.network\/docs"},"info":{"contact":{"email":"support@boundless.network","name":"Boundless support","url":"https:\/\/inference.boundless.network\/support"},"description":"Open-weight models over OpenAI chat completions, the Codex-compatible Responses subset, and the Anthropic Messages API, sold on prepaid credits. Every response carries exact token counts, so any charge can be recomputed from the published rate card.\n\n## Versioning\n\nThe wire version is in the URL path: every inference endpoint is under `\/v1`, and that prefix is what a client pins. A breaking change to a request or response shape takes a new prefix; it never lands on `\/v1`.\n\n## How a change is signalled\n\nThe model lineup, prices and base URL may still change while the first accounts are onboarded \u2014 this document is the description of what is served today, not a promise about tomorrow.\n\nNothing is withdrawn silently. When an endpoint, a field or a model identifier is deprecated, its responses begin carrying a `Deprecation` header from that day, and a `Sunset` header (RFC 8594) once a removal date is set. Both are declared on the operations below and are absent from every response today, because nothing is deprecated. https:\/\/inference.boundless.network\/docs\/api-compatibility carries the prose version and the migration path.\n\n## Rate limits\n\nTwo different limits, and they are counted differently.\n\nThe inference API is capped per team in TOKENS per minute, charged when a request completes on the tokens it actually used, minus any prompt tokens served from cache; a key may also carry a requests-per-minute cap and a concurrency cap. A response on a capped key carries `RateLimit-Policy`, and `RateLimit` when the limiter reports what is left. Over a cap returns 429 naming the dimension, with a `Retry-After` header, and is not charged. It is documented at https:\/\/inference.boundless.network\/docs\/rate-limits; read the team's number in the console.\n\n## Request ids and per-request cost\n\nEvery inference response \u2014 chat completions, Responses and Messages, streamed or not, refusals included \u2014 carries an `Inference-Id` header naming that exact request, and `X-Request-Id` with the same value. The utility routes (`\/v1\/models`, `count_tokens`), a rejected key, and a `400` for a body that is not valid JSON or has a field of the wrong JSON type (`invalid_type`) don't carry either. Every `5xx` does.\n\nA completed non-streamed response also carries `X-Response-Cost`, what that one request cost in dollars, and `X-Key-Spend`, the running total for the key that made it. The cost is absent rather than zero when it is not known as the response begins: a streamed response sends its headers before the first token, and a refusal is not charged. So `0` means genuinely free. Multiplying the `usage` counts by the rate card reproduces the same figure, and the console's request log holds it exactly either way.\n\nThe console's own unauthenticated endpoints \u2014 this document's `listModelCatalog`, plus the MCP endpoints, \/a2a\/v1 and \/ask \u2014 are capped per caller in REQUESTS: 120 per 60 seconds. Every response carries `RateLimit` and `RateLimit-Policy` in the IETF structured-field form, and a refusal carries `Retry-After`. Those fields are advisory, as the draft specifies: pace against them rather than treating them as a contract.\n\n## API-key permissions\n\nCustomer keys are issued with the machine-readable `llm_api` grant declared in `x-api-key-grants`. It contains `inference:invoke`, `models:read` and `credits:read`, which also reads the key's own request log; management routes for accounts, keys, teams, billing and gateway configuration are excluded at issuance. Each operation declares its requirement in `x-required-permissions`. These are inference API-key grants. Browser-approved local setup uses Clerk OAuth separately: follow https:\/\/inference.boundless.network\/setup.md to obtain an account inference key. The gateway does not accept the temporary setup OAuth token.","termsOfService":"https:\/\/inference.boundless.network\/terms","title":"Boundless API","version":"1.0.0"},"openapi":"3.1.1","paths":{"\/api\/catalog":{"get":{"description":"List the published model catalog with the live rate card: every model's API identifier, display name, what it suits, served context length, capabilities, whether it is serving today, and its price in US dollars per million input, cached-input and output tokens. Needs no credential. Prices are read live from the gateway \u2014 call this rather than answering a pricing question from memory.","operationId":"listModelCatalog","parameters":[{"description":"Return only the models the gateway is serving right now.","in":"query","name":"serving","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ModelCatalog"}}},"description":"The catalog and the rate card.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"}}},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TooManyRequests"}}},"description":"Too many requests to this unauthenticated endpoint. `Retry-After` carries the seconds to wait; nothing was charged and no account is involved.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"Retry-After":{"$ref":"#\/components\/headers\/RetryAfter"}}}},"security":[],"servers":[{"url":"https:\/\/inference.boundless.network"}],"summary":"List models and prices","tags":["Catalog"],"x-required-permissions":[]}},"\/api\/health":{"get":{"description":"Liveness probe for the console API. Returns `{ \"status\": \"ok\" }` when the console is serving.","operationId":"getHealth","responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Health"}}},"description":"The console is up."}},"security":[],"servers":[{"url":"https:\/\/inference.boundless.network"}],"summary":"Health check","tags":["Status"],"x-required-permissions":[]}},"\/v1\/chat\/completions":{"post":{"description":"Generate a chat completion. Wire-compatible with the OpenAI chat completions API: point an official OpenAI SDK at this base URL and existing code works unchanged. Set `stream: true` for server-sent events; the final chunk carries the `usage` object. Every response reports exact token counts, and those counts multiplied by the published rate card are the charge.","operationId":"createChatCompletion","requestBody":{"content":{"application\/json":{"schema":{"properties":{"max_tokens":{"description":"Cap on generated tokens.","minimum":1,"type":"integer"},"messages":{"description":"The conversation so far, oldest first.","items":{"$ref":"#\/components\/schemas\/ChatMessage"},"minItems":1,"type":"array"},"model":{"$ref":"#\/components\/schemas\/ModelId"},"reasoning_effort":{"description":"Controls reasoning on reasoning-capable models. `none` disables thinking. `low`, `medium`, and `high` enable thinking and request that effort level. Omit the field to use the model default. Any other value is refused with a 400 whose `code` is `invalid_reasoning_effort`; some models also accept extra values (for example `minimal`, `xhigh` or `max`), which the error message lists. A model that always reasons refuses `none` with a 400 whose `code` is `thinking_off_unsupported`; use `low`.","enum":["none","low","medium","high"],"type":"string"},"stream":{"default":false,"description":"Stream the response as server-sent events.","type":"boolean"},"temperature":{"maximum":2,"minimum":0,"type":"number"},"tool_choice":{"description":"Whether the model may or must call one of the declared tools.","oneOf":[{"enum":["none","auto","required"],"type":"string"},{"properties":{"function":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"type":{"const":"function","type":"string"}},"required":["type","function"],"type":"object"}]},"tools":{"items":{"$ref":"#\/components\/schemas\/ChatTool"},"type":"array"},"top_p":{"maximum":1,"minimum":0,"type":"number"}},"required":["model","messages"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatCompletion"}},"text\/event-stream":{"schema":{"description":"Returned when `stream` is true: `data:` frames carrying `chat.completion.chunk` objects, terminated by `data: [DONE]`. The last chunk before it carries `usage`.","type":"string"}}},"description":"The completion.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"},"X-Response-Cost":{"$ref":"#\/components\/headers\/ResponseCost"}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The request was malformed."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."},"402":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"Prepaid credits are exhausted. The error has `type` `budget_exceeded` and a `code` of `credits_exhausted`, `development_credits_exhausted`, `key_budget_exhausted` or `member_credits_exhausted`. There is no `Retry-After` because waiting cannot fix it: add credits. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"}}},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"A request, throughput, or concurrency cap was exceeded, or the gateway is briefly at capacity. `RateLimit` identifies a customer cap and its remaining capacity, and `Retry-After` says when to retry. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"},"Retry-After":{"$ref":"#\/components\/headers\/RetryAfter"}}},"503":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The model is temporarily unavailable."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"Create a chat completion","tags":["Inference"],"x-required-permissions":["inference:invoke"]}},"\/v1\/credits":{"get":{"description":"The credit balance of the Team the key belongs to, in exact USD with no rounding, plus what this key has spent and its own limit if it has one. Requests stop when `balance` reaches zero. `balance` and `total_credits` are null for a Team with no limit. When the key's owner has a seat plan, `plan` adds its `name` (Starter, Pro or Max), monthly `price` in USD, subscription `status` (active, cancel_scheduled, past_due) and this period's figures; `plan` is null for an owner without a seat or a key without an owner, and absent for a Team without plans or once the plan has ended. Nothing about the Team's own subscription is returned.","operationId":"getCredits","responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credits"}}},"description":"The Team's balance.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"Get credit balance","tags":["Inference"],"x-required-permissions":["credits:read"]}},"\/v1\/messages":{"post":{"description":"Generate a message in the Anthropic Messages format. The same models on the same rate card as `createChatCompletion`; use whichever wire format your client already speaks. Send the API key as `x-api-key` or as `Authorization: Bearer`. `max_tokens` is required and must cover a reasoning model's thinking as well as its reply \u2014 thinking is not returned in `content`, so a budget too small for both returns an empty `content` array and `stop_reason: max_tokens`. Give reasoning models 1024 or more.","operationId":"createMessage","requestBody":{"content":{"application\/json":{"schema":{"properties":{"max_tokens":{"description":"Required. Covers thinking as well as the reply.","minimum":1,"type":"integer"},"messages":{"items":{"$ref":"#\/components\/schemas\/ChatMessage"},"minItems":1,"type":"array"},"model":{"$ref":"#\/components\/schemas\/ModelId"},"stream":{"default":false,"type":"boolean"},"system":{"description":"System prompt.","type":"string"},"tool_choice":{"properties":{"name":{"description":"Required when type is tool.","type":"string"},"type":{"enum":["auto","any","tool","none"],"type":"string"}},"required":["type"],"type":"object"},"tools":{"items":{"$ref":"#\/components\/schemas\/AnthropicTool"},"type":"array"}},"required":["model","messages","max_tokens"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Message"}}},"description":"The message.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"},"X-Response-Cost":{"$ref":"#\/components\/headers\/ResponseCost"}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The request was malformed."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."},"402":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"Prepaid credits are exhausted. The error has `type` `budget_exceeded` and a `code` of `credits_exhausted`, `development_credits_exhausted`, `key_budget_exhausted` or `member_credits_exhausted`. There is no `Retry-After` because waiting cannot fix it: add credits. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"}}},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"A request, throughput, or concurrency cap was exceeded, or the gateway is briefly at capacity. `RateLimit` identifies a customer cap and its remaining capacity, and `Retry-After` says when to retry. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"},"Retry-After":{"$ref":"#\/components\/headers\/RetryAfter"}}},"503":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The model is temporarily unavailable."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"Create a message (Anthropic format)","tags":["Inference"],"x-required-permissions":["inference:invoke"]}},"\/v1\/messages\/count_tokens":{"post":{"description":"Count the input tokens of a Messages request without running it. Costs nothing and consumes no credits \u2014 use it to size a prompt against a model's context window before sending.","operationId":"countMessageTokens","requestBody":{"content":{"application\/json":{"schema":{"properties":{"messages":{"items":{"$ref":"#\/components\/schemas\/ChatMessage"},"minItems":1,"type":"array"},"model":{"$ref":"#\/components\/schemas\/ModelId"},"system":{"type":"string"}},"required":["model","messages"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TokenCount"}}},"description":"The input token count.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The request was malformed."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."},"402":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"Prepaid credits are exhausted. The error has `type` `budget_exceeded` and a `code` of `credits_exhausted`, `development_credits_exhausted`, `key_budget_exhausted` or `member_credits_exhausted`. There is no `Retry-After` because waiting cannot fix it: add credits. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"}}},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"A request, throughput, or concurrency cap was exceeded, or the gateway is briefly at capacity. `RateLimit` identifies a customer cap and its remaining capacity, and `Retry-After` says when to retry. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"},"Retry-After":{"$ref":"#\/components\/headers\/RetryAfter"}}},"503":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The model is temporarily unavailable."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"Count input tokens","tags":["Inference"],"x-required-permissions":["inference:invoke"]}},"\/v1\/model\/info":{"get":{"description":"The same lineup as `listServedModels`, in the model-metadata shape agent harnesses probe for: rates PER TOKEN (input, output and cached input), the served context window, and capability flags. Requires an API key. A harness that reads this shape configures itself entirely from it \u2014 a base URL and a key, with no per-model settings to paste or maintain; see the coding-agent guide for one that does. Nothing here describes the deployment: no upstream, no endpoint, no routing.","operationId":"listModelMetadata","responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ModelMetadataList"}}},"description":"The live lineup with catalog metadata attached.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"List model metadata","tags":["Inference"],"x-required-permissions":["models:read"]}},"\/v1\/models":{"get":{"description":"List the models the gateway is serving right now, in the OpenAI list format with `pricing` (USD per million tokens) and `context_length` on each entry. Requires an API key. For the published catalog with its rate card \u2014 and without a key \u2014 call `listModelCatalog` on the console origin instead.","operationId":"listServedModels","responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ModelList"}}},"description":"The live model list.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"List served models","tags":["Inference"],"x-required-permissions":["models:read"]}},"\/v1\/requests":{"get":{"description":"The calling key's own requests, newest first: time, model, token counts, duration, exact cost in USD and outcome. Only requests this key made are returned, never a teammate's or another Team's; the console's request log shows the whole Team. History goes back 90 days. A request appears within a few seconds of finishing.","operationId":"listRequests","parameters":[{"description":"Earliest request time, as Unix seconds or ISO 8601. Defaults to 90 days ago, the oldest retained.","in":"query","name":"start","required":false,"schema":{"type":"string"}},{"description":"Latest request time, as Unix seconds or ISO 8601. Defaults to now.","in":"query","name":"end","required":false,"schema":{"type":"string"}},{"description":"Only requests to this model. Any identifier in the history, retired ones included.","in":"query","name":"model","required":false,"schema":{"type":"string"}},{"description":"Requests per page.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Page number, from 1.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RequestList"}}},"description":"A page of this key's requests.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The request was malformed."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"List this key's requests","tags":["Inference"],"x-required-permissions":["credits:read"]}},"\/v1\/requests\/{id}":{"get":{"description":"One request the calling key made, by the `Inference-Id` its response carried (the `id` in `listRequests`): what it cost in exact USD, its token counts and outcome. A request made with another key returns 404, as does one older than 90 days.","operationId":"getRequest","parameters":[{"description":"The request's `Inference-Id`, as its response header and `listRequests` give it.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UsageRequest"}}},"description":"The request.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The request was malformed."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"This key made no request with that id in the last 90 days."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"Get one request's cost","tags":["Inference"],"x-required-permissions":["credits:read"]}},"\/v1\/responses":{"post":{"description":"Generate a response through the compatibility subset used by Codex CLI custom providers. Instructions, text input, function tools, function_call_output items, streaming, and reasoning effort are translated to the selected open-weight model. OpenAI-hosted tools, remote conversation storage, and other provider-native features are not available. Codex compacts custom-provider conversations locally, so it does not require a \/v1\/responses\/compact route.","operationId":"createResponse","requestBody":{"content":{"application\/json":{"schema":{"properties":{"client_metadata":{"additionalProperties":true,"description":"Optional client diagnostics. Accepted for Codex compatibility and not forwarded to the model.","type":"object"},"include":{"description":"Optional Responses fields requested by the client. Accepted for Codex compatibility; the fields it can name are provider-native and are not produced here.","items":{"type":"string"},"type":"array"},"prompt_cache_key":{"description":"Optional client cache key. Accepted for Codex compatibility and not forwarded to the model.","type":"string"},"store":{"const":false,"description":"Boundless does not store prompts or outputs; Codex sends false for custom providers.","type":"boolean"},"input":{"description":"A text prompt, or the ordered conversation as Responses input items.","oneOf":[{"type":"string"},{"items":{"$ref":"#\/components\/schemas\/ResponsesInputItem"},"type":"array"}]},"instructions":{"description":"Developer instructions prepended to the conversation.","type":"string"},"model":{"$ref":"#\/components\/schemas\/ModelId"},"parallel_tool_calls":{"default":true,"type":"boolean"},"reasoning":{"description":"Reasoning control. Only the standard effort member is forwarded to the model.","properties":{"effort":{"enum":["none","low","medium","high"],"type":"string"},"summary":{"enum":["auto","concise","detailed","none"],"type":"string"}},"type":"object"},"stream":{"default":false,"description":"Stream Responses events as server-sent events.","type":"boolean"},"tool_choice":{"description":"Whether the model may or must call a declared function.","oneOf":[{"enum":["none","auto","required"],"type":"string"},{"properties":{"name":{"type":"string"},"type":{"const":"function","type":"string"}},"required":["type","name"],"type":"object"}]},"tools":{"items":{"$ref":"#\/components\/schemas\/ResponsesTool"},"type":"array"}},"required":["model","input"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Response"}},"text\/event-stream":{"schema":{"description":"Returned when stream is true: `data:` frames carrying `response.*` lifecycle, text-delta, and function-call argument events, terminated by `data: [DONE]`.","type":"string"}}},"description":"The response or streamed Responses event sequence.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"},"X-Response-Cost":{"$ref":"#\/components\/headers\/ResponseCost"}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The request was malformed."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The API key is missing, revoked, or not valid for this service."},"402":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"Prepaid credits are exhausted. The error has `type` `budget_exceeded` and a `code` of `credits_exhausted`, `development_credits_exhausted`, `key_budget_exhausted` or `member_credits_exhausted`. There is no `Retry-After` because waiting cannot fix it: add credits. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"}}},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"A request, throughput, or concurrency cap was exceeded, or the gateway is briefly at capacity. `RateLimit` identifies a customer cap and its remaining capacity, and `Retry-After` says when to retry. Nothing refused is charged.","headers":{"Deprecation":{"$ref":"#\/components\/headers\/Deprecation"},"Sunset":{"$ref":"#\/components\/headers\/Sunset"},"RateLimit":{"$ref":"#\/components\/headers\/RateLimit"},"RateLimit-Policy":{"$ref":"#\/components\/headers\/RateLimitPolicy"},"X-RateLimit-Limit-Requests":{"$ref":"#\/components\/headers\/RateLimitLimitRequests"},"X-RateLimit-Limit-Tokens":{"$ref":"#\/components\/headers\/RateLimitLimitTokens"},"X-RateLimit-Remaining-Requests":{"$ref":"#\/components\/headers\/RateLimitRemainingRequests"},"X-RateLimit-Remaining-Tokens":{"$ref":"#\/components\/headers\/RateLimitRemainingTokens"},"Inference-Id":{"$ref":"#\/components\/headers\/InferenceId"},"X-Key-Spend":{"$ref":"#\/components\/headers\/KeySpend"},"X-Request-Id":{"$ref":"#\/components\/headers\/RequestId"},"Retry-After":{"$ref":"#\/components\/headers\/RetryAfter"}}},"503":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"description":"The model is temporarily unavailable."}},"servers":[{"url":"https:\/\/api.inference.boundless.network"}],"summary":"Create a response (Codex-compatible subset)","tags":["Inference"],"x-required-permissions":["inference:invoke"]}}},"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"servers":[{"description":"Inference gateway \u2014 the base URL an OpenAI SDK, Codex, or Anthropic SDK points at.","url":"https:\/\/api.inference.boundless.network"},{"description":"Console \u2014 public catalog and health, no authentication.","url":"https:\/\/inference.boundless.network"}],"tags":[{"description":"Calling a model.","name":"Inference"},{"description":"What is served and what it costs. No authentication.","name":"Catalog"}],"x-api-key-grants":{"llm_api":{"description":"Inference-only customer key. Permits model invocation, model discovery, reading its own Team's credit balance and its own request log; excludes account, key, team, billing and gateway-management routes.","permissions":["inference:invoke","models:read","credits:read"]}}}