Skip to content
HIPS
  • Earn with your GPU
  • Pricing
  • Docs
Sign inJoin early access
⌘K

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Security
    1. AChoose a pool for your data
    2. BCoding agents and prompt injection
    3. CWhat a Community pool provider can see
    4. DWhat HIPS stores
    5. EKnowledge and RAG data
  4. 04Migrate to HIPS

Guides

  1. 05HIPS SDK
  2. 06Import and run your model
  3. 07Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 08Batch jobs
  5. 09Prompt caching
  6. 10Code with HIPS
  7. 11Coding-tool setup
    1. AHIPS Code
    2. BClaude Code
    3. CCodex
    4. DOpenCode
    5. EKilo
    6. FPi
    7. GQwen Code
    8. HCrush
    9. ICline
    10. JPrime Agent
    11. KAider
    12. LGoose
    13. MHermes Agent
    14. NGrok Build
    15. ODeepSeek Harness
    16. POther coding tools and editor integrations
  8. 12Command line
    1. AInstall and update
    2. BSign in
    3. CStatus and models
    4. DCoding agents
    5. ETeam
    6. FJoin a team
    7. GHow a team works
  9. 13Console
    1. AAccount
    2. BWorkspaces
    3. CAPI keys
    4. DSettings
    5. EUsage
    6. FModels
    7. GPlayground
    8. HDeployments
  10. 14Billing
  11. 15Provider setup
    1. AWhen it works
    2. BCommands
    3. CSettings
    4. DProvider Console
    5. EEarnings
    6. FCrash reports
    7. GData centers
    8. HOpenStack
  12. 16Semantic routing
  13. 17Guardrails
  14. 18Knowledge

Reference

  1. 19API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DMessages
    5. ECount tokens
    6. FModels
    7. GPrices API
    8. HTasks
    9. IEmbeddings and rerank
    10. JImages
    11. KJobs
    12. LUploads
    13. MFiles
    14. NBatches
    15. OWebhooks
    16. PVector stores
    17. QDeployments
    18. RRequirements and headers
    19. SErrors
    20. TUsage
    21. UVersioning
  2. 20Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FThinking levels
    7. GData handling
    8. HCompatibility matrix
  3. 21Changelog
Sheet indexAPI reference

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Security
    1. AChoose a pool for your data
    2. BCoding agents and prompt injection
    3. CWhat a Community pool provider can see
    4. DWhat HIPS stores
    5. EKnowledge and RAG data
  4. 04Migrate to HIPS

Guides

  1. 05HIPS SDK
  2. 06Import and run your model
  3. 07Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 08Batch jobs
  5. 09Prompt caching
  6. 10Code with HIPS
  7. 11Coding-tool setup
    1. AHIPS Code
    2. BClaude Code
    3. CCodex
    4. DOpenCode
    5. EKilo
    6. FPi
    7. GQwen Code
    8. HCrush
    9. ICline
    10. JPrime Agent
    11. KAider
    12. LGoose
    13. MHermes Agent
    14. NGrok Build
    15. ODeepSeek Harness
    16. POther coding tools and editor integrations
  8. 12Command line
    1. AInstall and update
    2. BSign in
    3. CStatus and models
    4. DCoding agents
    5. ETeam
    6. FJoin a team
    7. GHow a team works
  9. 13Console
    1. AAccount
    2. BWorkspaces
    3. CAPI keys
    4. DSettings
    5. EUsage
    6. FModels
    7. GPlayground
    8. HDeployments
  10. 14Billing
  11. 15Provider setup
    1. AWhen it works
    2. BCommands
    3. CSettings
    4. DProvider Console
    5. EEarnings
    6. FCrash reports
    7. GData centers
    8. HOpenStack
  12. 16Semantic routing
  13. 17Guardrails
  14. 18Knowledge

Reference

  1. 19API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DMessages
    5. ECount tokens
    6. FModels
    7. GPrices API
    8. HTasks
    9. IEmbeddings and rerank
    10. JImages
    11. KJobs
    12. LUploads
    13. MFiles
    14. NBatches
    15. OWebhooks
    16. PVector stores
    17. QDeployments
    18. RRequirements and headers
    19. SErrors
    20. TUsage
    21. UVersioning
  2. 20Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FThinking levels
    7. GData handling
    8. HCompatibility matrix
  3. 21Changelog
19
  1. Docs/
  2. API reference/
  3. Messages
(Detail D)
llms.txt

Messages

On this sheet6 sections
  1. Headers
  2. The request
  3. Tool search
  4. The answer
  5. Streaming
  6. Errors

Anthropic's Messages API, served so that Anthropic's clients and Claude Code run on HIPS's catalog models (decided 2026-10-29). A claude-* id is unknown on HIPS and answered so, never mapped to another model. The request is served by the chat completions route's own path, so the key, the requirement headers, the limits, the quote, placement and the response headers are those of chat completions; a field the route does not take is a 400 in Anthropic's wording.

POST/v1/messagesserved

Anthropic's Messages API, with x-api-key and anthropic-version: 2023-06-01, in Anthropic's error shape.

F
Fig. 1, sheet 19API reference
00000000000000000000000000000000000000001curl https://ai.hips.com/v1/messages \2  -H "x-api-key: $HIPS_API_KEY" \3  -H "anthropic-version: 2023-06-01" \4  -H "Content-Type: application/json" \5  -d "{\"model\":\"$HIPS_MODEL\",\"max_tokens\":256,\"messages\":[{\"role\":\"user\",\"content\":\"Explain GPU inference in two sentences.\"}]}"
Reads from the environmentHIPS_API_KEYHIPS_MODEL

Headers

Parts list: Request headers

  1. 01
    x-api-keyAccepted

    A workspace API key or a person's access token, as Anthropic's clients send it, on this route alone. Authorization: Bearer works too; both sent with different values is a 401 invalid_api_key, and neither is a 401 missing_api_key. An inference_only key and a token with the inference scope reach the route.

  2. 02
    anthropic-versionRequired

    2023-06-01. Absent is a 400 missing_required_parameter with Anthropic's wording, anthropic-version: header is required; another value is a 400 invalid_value naming the one served.

  3. 03
    anthropic-betaRead, never refused

    The body's fields decide what is asked for: each field a beta adds is accepted or refused by the rules below.

  4. 04
    x-hips-pool, x-hips-pricing-mode, x-hips-region, x-hips-fallbackAccepted

    The requirements, as on chat completions. A person's token takes the workspace's tool defaults.

A query string on the path (Claude Code sends ?beta=true) is ignored. The answer carries the response headers of chat completions, and on a whole answer x-hips-cost-micros and x-hips-latency-ms.

The request

Parts list: Fields

  1. 01
    modelRequired

    A catalog id, an alias, a pinned id or a router name; unknown is a 404 not_found_error naming the model.

  2. 02
    max_tokensRequired

    A positive integer, the output cap. Over the model's max_output_tokens it is a 400 in Anthropic's wording: max_tokens: <asked> > <maximum>, which is the maximum allowed number of output tokens for <model>.

  3. 03
    messagesRequired, non-empty

    Roles user, assistant and system, in the content blocks below; the last user or assistant message is a user message. A system message is your instruction from its place in the conversation on, as Anthropic's mid-conversation system messages are: a string or text blocks, right after a user message (one of tool_result blocks counts) and followed by an assistant message or ending the list, several in a row judged as one. It reaches the model at its place as the last text of the user message before it, inside <system-reminder> tags (after a turn of tool_result blocks alone, a user message of its own), whether more of the conversation follows it or it ends the list: many models' chat templates take a system message at the start alone, and a model answers the conversation and calls its tools instead of continuing the instruction. A message's text blocks reach the model as one text, a blank line between each. Anywhere else it is a 400 invalid_value naming the message, messages.<n>; it cannot be the first message, where the top-level system field holds what applies from the start. Any other role is a 400 unsupported_value.

  4. 04
    systemAccepted

    A string, or an array of text blocks.

  5. 05
    streamAccepted

    true streams the events below; absent or false answers whole.

  6. 06
    temperature, top_pAccepted

    Numbers from 0 to 1, Anthropic's range.

  7. 07
    stop_sequencesAccepted

    At most 16 strings (decided 2026-11-01); more is a 400 invalid_value, stop_sequences: List should have at most 16 items.

  8. 08
    toolsAccepted

    Client tools (name, description, input_schema, cache_control, type: "custom", defer_loading), on a model that advertises tools in the pool the request resolves to. A name matches ^[a-zA-Z0-9_-]{1,128}$. defer_loading: true keeps a tool from the model until a search finds it (Tool search, below). A server tool, Anthropic's own search tools among them, and any other field a beta adds to a tool (strict, input_examples, allowed_callers, eager_input_streaming), is a 400 tools.<n>.<field>: Extra inputs are not permitted.

  9. 09
    tool_choiceAccepted

    auto, any, tool with its name, or none; disable_parallel_tool_use: true asks for at most one call.

  10. 10
    context_managementAccepted when it clears thinking

    Edits that are all clear_thinking_20251015 (its keep "all" or {"type": "thinking_turns", "value": N}) are accepted and change nothing: no thinking block is returned, so there is none to clear. Any other edit or member is a 400 unsupported_parameter, context_management: Extra inputs are not permitted.

  11. 11
    thinkingAccepted

    adaptive, enabled (with budget_tokens) and disabled are accepted (decided 2026-11-01), and no thinking block is returned. Each sets the thinking level: disabled is none, which turns the model's thinking off where the model can turn it off; enabled is low for a budget under 4,096 tokens, medium under 16,384 and high above; adaptive, or enabled with no budget, is medium, the usual default.

  12. 12
    output_configAccepted for effort

    effort (low, medium, high or max) is the thinking level, used over a thinking budget; a disabled thinking is used over it. Any other member, such as format, is a 400 unsupported_parameter in Anthropic's wording, output_config.<name>: Extra inputs are not permitted.

  13. 13
    metadatauser_id accepted, discarded

    Never stored, logged or sent to a worker. Any other member is a 400.

  14. 14
    cache_controlAccepted where Anthropic places it

    {"type": "ephemeral"} on system blocks, content blocks and tools is accepted and changes nothing: HIPS caches a prompt's beginning by itself (Prompt caching). A ttl of "5m" or "1h", as Claude Code sends it, is accepted as a hint and changes nothing either: HIPS's prompt cache keeps its own lifetime and promises none. Any other ttl is a 400 invalid_value, <path>.cache_control.ttl: Input should be '5m' or '1h', and any other member a 400 unknown_parameter.

  15. 15
    top_k, output_format, safeguards, service_tier, container, mcp_servers, speed, inference_geoRejected, 400 unsupported_parameter

    In Anthropic's wording, <name>: Extra inputs are not permitted, a nested field named by its path.

  16. 16
    Any other nameRejected, 400 unknown_parameter

    In the same wording.

Content blockInRule
A string content, textuser, assistant, systemText. A text block's citations, null or a list, is accepted wherever the block stands and changes nothing: none of it is sent to the model. Any other value is a 400 invalid_type
imageuserA base64 source of image/jpeg, image/png, image/gif or image/webp, on a model that advertises vision. A url source is a 400 invalid_value: HIPS never fetches an image address
tool_useassistantA call the model made earlier, replayed
tool_resultuserThe result of a call, a string or text, image and tool_reference blocks; is_error is accepted
tool_referenceA tool_resulttool_name names a tool of tools, which the model is sent from then on (Tool search, below)
thinking, redacted_thinking, document, search_result, server_tool_use, tool_addition, tool_removal and any other typeA 400 naming the block's type
  • Content block
    A string content, text
    In
    user, assistant, system
    Rule
    Text. A text block's citations, null or a list, is accepted wherever the block stands and changes nothing: none of it is sent to the model. Any other value is a 400 invalid_type
  • Content block
    image
    In
    user
    Rule
    A base64 source of image/jpeg, image/png, image/gif or image/webp, on a model that advertises vision. A url source is a 400 invalid_value: HIPS never fetches an image address
  • Content block
    tool_use
    In
    assistant
    Rule
    A call the model made earlier, replayed
  • Content block
    tool_result
    In
    user
    Rule
    The result of a call, a string or text, image and tool_reference blocks; is_error is accepted
  • Content block
    tool_reference
    In
    A tool_result
    Rule
    tool_name names a tool of tools, which the model is sent from then on (Tool search, below)
  • Content block
    thinking, redacted_thinking, document, search_result, server_tool_use, tool_addition, tool_removal and any other type
    In
    Rule
    A 400 naming the block's type

Tool search

A tool with defer_loading: true is part of the request and is not sent to the model, so its definition costs no input tokens. Your client's own search tool finds the tools a task needs and returns them as tool_reference blocks in its tool_result, as Anthropic's API takes them. From that request on, the model is sent every tool that is not deferred and each deferred tool a reference in the conversation names, in the order of tools, and reads Tool definitions loaded: <names>. where the references stood. A tool_choice that names a deferred tool sends it too. Claude Code's tool search for MCP tools works this way. HIPS runs no search itself: each request is one pass of the model, billed by its own usage, and the input tokens are those of the tools the model was sent.

  • Every tool deferred: a 400 invalid_value, At least one tool must have defer_loading=false. All tools cannot be deferred.
  • More than 10,000 deferred tools in a request: a 400 invalid_value, tools: at most 10000 tools can have defer_loading=true.
  • A reference that names no tool of tools: a 400 invalid_value, Tool reference '<name>' not found in available tools.
  • Anthropic's server-side search tools (tool_search_tool_regex_20251119, tool_search_tool_bm25_20251119) are server tools: a 400 as the tools field says. The search runs in your client.

The answer

Parts list: The message object

  1. 01
    id

    The request id, req_..., as x-hips-request-id.

  2. 02
    model

    The pinned id served, as x-hips-model; under a router, the model it chose.

  3. 03
    content

    A text block with the model's text, when it wrote any, then one tool_use block per call (id, name, input). Arguments that are not JSON are given as a JSON string, never repaired.

  4. 04
    stop_reason, stop_sequence

    tool_use, max_tokens, stop_sequence with the sequence where the engine names it, else end_turn. pause_turn and refusal are never sent.

  5. 05
    usage

    input_tokens (the input not read from a cache), cache_read_input_tokens (the input tokens counted as cached), cache_creation_input_tokens (always 0), output_tokens (every token the model wrote, its reasoning included, though this route returns none of it).

Streaming

stream: true answers 200 with text/event-stream, each event as event: <type> and one data: line, relayed as the engine writes it. Nothing is sent before a worker answers, so a refusal before the first byte is an ordinary status and body. A ping event goes out while nothing else has been sent for the keep-alive interval. message_delta carries the cumulative usage and the hips object (cost_micros, latency_ms, quote), which Anthropic's clients ignore. A failure after the stream started is one event: error with the error object below, attempt_failed when the worker stopped, and the stream closes without message_stop; nothing is billed for it.

Streamed events

00000000000000000000000000000000000000001event: message_start2data: {"type":"message_start","message":{"id":"req_...","type":"message","role":"assistant","model":"<pinned id>","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0}}}3 4event: content_block_start5data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}6 7event: content_block_delta8data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"..."}}9 10event: content_block_stop11data: {"type":"content_block_stop","index":0}12 13event: message_delta14data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0},"hips":{"cost_micros":0,"latency_ms":0,"quote":"quote_..."}}15 16event: message_stop17data: {"type":"message_stop"}
Streamed events sample

Errors

Every refusal on this route and the paths under it, the gateway's own included, is in Anthropic's shape, with the statuses and codes of the Errors page; code is an extension Anthropic's clients ignore, and request_id is x-hips-request-id.

Error

00000000000000000000000000000000000000001{2  "type": "error",3  "error": {4    "type": "invalid_request_error",5    "message": "anthropic-version: header is required",6    "code": "missing_required_parameter"7  },8  "request_id": "req_..."9}
Error sample
Status`type` on this route
400invalid_request_error
401authentication_error
402billing_error
403permission_error
404not_found_error
429rate_limit_error, with retry-after in whole seconds and retry-after-ms in milliseconds
503overloaded_error, with status 503: Anthropic's 529 is not used
500api_error
  • Status
    400
    `type` on this route
    invalid_request_error
  • Status
    401
    `type` on this route
    authentication_error
  • Status
    402
    `type` on this route
    billing_error
  • Status
    403
    `type` on this route
    permission_error
  • Status
    404
    `type` on this route
    not_found_error
  • Status
    429
    `type` on this route
    rate_limit_error, with retry-after in whole seconds and retry-after-ms in milliseconds
  • Status
    503
    `type` on this route
    overloaded_error, with status 503: Anthropic's 529 is not used
  • Status
    500
    `type` on this route
    api_error

A prompt longer than the model's context is worded as Anthropic words it, so a client compacts the conversation or lowers max_tokens: prompt is too long: <prompt> tokens > <context> maximum, or input length and max_tokens exceed context limit: <prompt> + <max_tokens> > <context>, decrease input length or max_tokens and try again. The prompt is never truncated.

Routes HIPS answers with a 404

RouteAnswer
POST /v1/messages/count_tokens404 route_not_available (Count tokens)
POST /v1/messages/batches and its routes, Anthropic's Files and Models APIs404 route_not_found; models are listed by `GET /v1/models` in OpenAI's shape
  • Route
    POST /v1/messages/count_tokens
    Answer
    404 route_not_available (Count tokens)
  • Route
    POST /v1/messages/batches and its routes, Anthropic's Files and Models APIs
    Answer
    404 route_not_found; models are listed by `GET /v1/models` in OpenAI's shape
StatusTypeCodeSituationRetry
400invalid_request_errormissing_required_parameterA required field or header is absent; param names it. On POST /v1/tasks, a classification model that answers in words and reads a response alone asked without options.prompt, at options.prompt (Safety classifiers)No
400invalid_request_errorinvalid_valueA value is out of range or malformed: stop with more than 16 entries, a prompt_cache_key over 512 characters, a string holding a lone surrogate escape, a router name with an empty or unknown suffix, both max_tokens names with different values, an x-client-request-id header that is not printable ASCII or is over 512 characters (param x-client-request-id)No
400invalid_request_errorunknown_parameterA field the gateway does not know, at any depth; param names itNo
400invalid_request_errorunsupported_parameterA known field HIPS does not accept, or a feature the named model does not advertise in the pool the request resolves to; param names it, and message names the model and what to send instead (an image to a model that takes no images says so, and that GET /v1/models lists each model's features)No
400invalid_request_errorcontext_length_exceededThe prompt is over the model's context_length, or over the largest window any GPU serves it at now, or held only in a size that the GPUs able to hold it keep failing to read within the time limit; that limit and the prompt's count in the message, the limit the largest size that works now for this request, never more than the pool's context_window on Models; the prompt is never truncated. On embeddings and rerank, an input longer than the model reads at once, never cutNo
400invalid_request_errormax_tokens_exceededmax_tokens (on Responses max_output_tokens) over the model's max_output_tokensNo
400invalid_request_errorguardrail_blockedA content moderation guardrail with block found prompt injection or a sensitive pattern; param names the message and the error's guardrail member names the guardrail, the check and the pattern's type, never the matched text. Before any model ran; the request is not charged, only what its check readNo
401authentication_errormissing_api_keyNo Authorization header, or not a bearer (on Messages, no x-api-key either)No
401authentication_errorinvalid_api_keyUnknown, malformed or revoked key or person's token; on Messages, x-api-key and Authorization carrying different values. The message never says whichNo
402billing_errorinsufficient_creditThe balance does not cover the request's maximum cost at the bound quoteAfter a top-up
402billing_errorbudget_exceededA budget guardrail of the workspace, the key or the person is at its limit with block; the error carries guardrail and resets_at (null for a budget that never resets). Never a payment challengeAfter resets_at, or once the limit is raised
403permission_errormodel_not_allowed, region_not_allowedA model, or a region requirement, that an access guardrail keeps out, the guardrail named in the error's guardrail memberNo
404not_found_errormodel_not_foundUnknown catalog id, alias, pinned id or dep_; another workspace's dep_; a name starting with hips-router that is not one of the four routersNo
429rate_limit_errorrate_limit_exceededA rate limit; param is the counter that is full: requests, input_tokens (the prompt does not fit what is left of the input tokens a minute), output_tokens (the output tokens a minute are spent), uploads, batches (batches created per hour) or knowledge_search; Retry-After and retry-after-msYes, after Retry-After
429rate_limit_errorno_capacity, overloaded, pool_unavailable, model_loadingA key HIPS has set to answer at once when busy (HIPS sets it on the key a marketplace partner calls with; no workspace can set it): where no GPU is free for the request, it gets the answer the 503 of the same code gives, with its message and Retry-After, as a 429 at once, and never waits in the queue for a busy GPU; where another key would wait for a GPU that holds the model, it gets overloaded with the expected wait as Retry-After. Every other key gets the 503. A gateway over its own limits, and every other 503, stay 503 on every keyYes, after Retry-After
503overloaded_errorno_capacityNo eligible worker under the request's requirements, in any pool the requirements allow; Retry-After. The message says what those pools can do now: a GPU that fits the model takes it when free or loads it when asked, which can take minutes or longer; or nothing can serve it, and a retry sooner than the given delay gets the same answer; or the GPUs offering it have no speed figures yet for the setting they run it at, which a later retry may find measured. Where no price is in force for the model in any pool the request may use, the message says so, whatever supply there is, and the model's hips.availability reads unpricedYes, after the given delay
503overloaded_erroroverloadedEligible workers exist and every one is saturated, the queue is full, or the model is at its capacity right now. A request whose GPUs are all busy, or unavailable for a moment, waits for one up to 30 seconds first, and nothing is sent to a GPU while it is unavailable; a chat completions, Responses or Messages request whose GPU becomes unavailable before its answer begins waits the same way; Retry-After, from 1 to 30 secondsYes
500api_errorattempt_failedEvery attempt failed for a reason that is not the client's and retries are exhausted: each GPU or server the request was placed on ended in an error before a complete answer, and no other can take it now. Nothing billed. The message says to retry once and, if it fails again, to send the request id (x-hips-request-id) to supportOnce
  • Status
    400
    Type
    invalid_request_error
    Code
    missing_required_parameter
    Situation
    A required field or header is absent; param names it. On POST /v1/tasks, a classification model that answers in words and reads a response alone asked without options.prompt, at options.prompt (Safety classifiers)
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    invalid_value
    Situation
    A value is out of range or malformed: stop with more than 16 entries, a prompt_cache_key over 512 characters, a string holding a lone surrogate escape, a router name with an empty or unknown suffix, both max_tokens names with different values, an x-client-request-id header that is not printable ASCII or is over 512 characters (param x-client-request-id)
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    unknown_parameter
    Situation
    A field the gateway does not know, at any depth; param names it
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    unsupported_parameter
    Situation
    A known field HIPS does not accept, or a feature the named model does not advertise in the pool the request resolves to; param names it, and message names the model and what to send instead (an image to a model that takes no images says so, and that GET /v1/models lists each model's features)
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    context_length_exceeded
    Situation
    The prompt is over the model's context_length, or over the largest window any GPU serves it at now, or held only in a size that the GPUs able to hold it keep failing to read within the time limit; that limit and the prompt's count in the message, the limit the largest size that works now for this request, never more than the pool's context_window on Models; the prompt is never truncated. On embeddings and rerank, an input longer than the model reads at once, never cut
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    max_tokens_exceeded
    Situation
    max_tokens (on Responses max_output_tokens) over the model's max_output_tokens
    Retry
    No
  • Status
    400
    Type
    invalid_request_error
    Code
    guardrail_blocked
    Situation
    A content moderation guardrail with block found prompt injection or a sensitive pattern; param names the message and the error's guardrail member names the guardrail, the check and the pattern's type, never the matched text. Before any model ran; the request is not charged, only what its check read
    Retry
    No
  • Status
    401
    Type
    authentication_error
    Code
    missing_api_key
    Situation
    No Authorization header, or not a bearer (on Messages, no x-api-key either)
    Retry
    No
  • Status
    401
    Type
    authentication_error
    Code
    invalid_api_key
    Situation
    Unknown, malformed or revoked key or person's token; on Messages, x-api-key and Authorization carrying different values. The message never says which
    Retry
    No
  • Status
    402
    Type
    billing_error
    Code
    insufficient_credit
    Situation
    The balance does not cover the request's maximum cost at the bound quote
    Retry
    After a top-up
  • Status
    402
    Type
    billing_error
    Code
    budget_exceeded
    Situation
    A budget guardrail of the workspace, the key or the person is at its limit with block; the error carries guardrail and resets_at (null for a budget that never resets). Never a payment challenge
    Retry
    After resets_at, or once the limit is raised
  • Status
    403
    Type
    permission_error
    Code
    model_not_allowed, region_not_allowed
    Situation
    A model, or a region requirement, that an access guardrail keeps out, the guardrail named in the error's guardrail member
    Retry
    No
  • Status
    404
    Type
    not_found_error
    Code
    model_not_found
    Situation
    Unknown catalog id, alias, pinned id or dep_; another workspace's dep_; a name starting with hips-router that is not one of the four routers
    Retry
    No
  • Status
    429
    Type
    rate_limit_error
    Code
    rate_limit_exceeded
    Situation
    A rate limit; param is the counter that is full: requests, input_tokens (the prompt does not fit what is left of the input tokens a minute), output_tokens (the output tokens a minute are spent), uploads, batches (batches created per hour) or knowledge_search; Retry-After and retry-after-ms
    Retry
    Yes, after Retry-After
  • Status
    429
    Type
    rate_limit_error
    Code
    no_capacity, overloaded, pool_unavailable, model_loading
    Situation
    A key HIPS has set to answer at once when busy (HIPS sets it on the key a marketplace partner calls with; no workspace can set it): where no GPU is free for the request, it gets the answer the 503 of the same code gives, with its message and Retry-After, as a 429 at once, and never waits in the queue for a busy GPU; where another key would wait for a GPU that holds the model, it gets overloaded with the expected wait as Retry-After. Every other key gets the 503. A gateway over its own limits, and every other 503, stay 503 on every key
    Retry
    Yes, after Retry-After
  • Status
    503
    Type
    overloaded_error
    Code
    no_capacity
    Situation
    No eligible worker under the request's requirements, in any pool the requirements allow; Retry-After. The message says what those pools can do now: a GPU that fits the model takes it when free or loads it when asked, which can take minutes or longer; or nothing can serve it, and a retry sooner than the given delay gets the same answer; or the GPUs offering it have no speed figures yet for the setting they run it at, which a later retry may find measured. Where no price is in force for the model in any pool the request may use, the message says so, whatever supply there is, and the model's hips.availability reads unpriced
    Retry
    Yes, after the given delay
  • Status
    503
    Type
    overloaded_error
    Code
    overloaded
    Situation
    Eligible workers exist and every one is saturated, the queue is full, or the model is at its capacity right now. A request whose GPUs are all busy, or unavailable for a moment, waits for one up to 30 seconds first, and nothing is sent to a GPU while it is unavailable; a chat completions, Responses or Messages request whose GPU becomes unavailable before its answer begins waits the same way; Retry-After, from 1 to 30 seconds
    Retry
    Yes
  • Status
    500
    Type
    api_error
    Code
    attempt_failed
    Situation
    Every attempt failed for a reason that is not the client's and retries are exhausted: each GPU or server the request was placed on ended in an error before a complete answer, and no other can take it now. Nothing billed. The message says to retry once and, if it fails again, to send the request id (x-hips-request-id) to support
    Retry
    Once

Related sheets

  • Count tokens
  • Compatibility matrix
Previous sheetResponses
Next sheetCount tokens
Sheet
19 of 21
Detail
D
Updated
2026-11-27
Sign in to the Console

On this sheet

  1. Headers
  2. The request
  3. Tool search
  4. The answer
  5. Streaming
  6. Errors

Product

  • Inference
  • Models
  • Serverless GPUs
  • GPU rental
  • Deploy your model
  • Coding agents
  • How it works
  • Use cases
  • Pricing

Models

  • DeepSeek API
  • Kimi API
  • Qwen API
  • GLM API
  • Gemma API
  • Mistral API
  • gpt-oss API
  • All models

Developer

  • Docs
  • Quickstart
  • Migrate to HIPS
  • HIPS SDK
  • Batch jobs
  • API reference
  • Claude Code pricing

Provider

  • Earn with your GPU
  • Register GPU interest
  • Download for Mac
  • Download for Windows
  • Download for Linux

Resource

  • Security and Data
  • Resources
  • llms.txt

Compare

  • OpenRouter alternatives
  • Together AI alternatives
  • Groq alternatives
  • Runpod alternatives
  • Claude Code alternatives
  • Cursor alternatives
  • All comparisons

Company

  • About
  • Contact
  • Affiliate program
  • HIPS Payments

Legal

  • Legal
  • Consumer Health Data Privacy Policy
  • Report content
  • Cookie preferences

Support

  • Contact HIPS
  • Looking for payments support?

HIPS. AI inference for builders.

hips.com

Hyperscale Inference Processing Systems OÜ