Danger zone
Updated
Experimental, not stable.
In the zone
| Class | State tokens | Rendered tokens | Request body |
|---|---|---|---|
long_context_64k | 65,536 | 70,656 | 3,665,920 bytes |
long_context_128k | 131,072 | 136,192 | 3,665,920 bytes |
Statements that are corrected later in a long document are a known weak spot.
Access
Send SZ-Danger-Zone on each request with a class name: long_context_64k or long_context_128k. The header name is case insensitive; class names are exact lowercase. A plain accept returns HTTP 400 invalid_request.
Use stateless POST /v1/system-zero/decide requests.
Native classes
Send the long text in state. The 64k and 128k classes refuse every attachment and upload reference with HTTP 404 long_context_not_available and are not charged.
Each class serves one band of state tokens: long_context_64k from 38,001 to 65,536 and long_context_128k from 65,537 to 131,072. A request outside its class's band is refused and not charged.
- No header
- 1 to 38,000 state tokens. Ordinary rates. USD 0.00733 for 38,000 billed input tokens and one answered question.
long_context_64k- 38,001 to 65,536 state tokens. At least USD 0.02 per answered call.
long_context_128k- 65,537 to 131,072 state tokens. At least USD 0.05 per answered call.
Answers
The sz-danger-zone response header identifies the context used.
The response body is unchanged. The warning is not added to the body. Playground shows the returned classes with Experimental, not stable..
Refusals
Any other header value returns HTTP 400 invalid_request with param set to SZ-Danger-Zone.
| Code | HTTP status | Meaning |
|---|---|---|
long_context_not_available | HTTP 404 | This release can refuse an unavailable route or input. |
service_unavailable | HTTP 503 | The service is temporarily unavailable. Retry after the returned delay. |
capacity_exhausted | HTTP 429 | Capacity is unavailable for this request. Retry after the returned delay. |
Billing
Each answered long_context_64k call costs at least USD 0.02, and each long_context_128k call at least USD 0.05.