Azinove AIEarly access

Terms and agreements

Eco mode terms

Version 1 · Draft, not in force

This version is a draft. It is not in force.

1. Purpose and scope

1.1 These Eco mode terms describe how the GPUs of the Service run: when a GPU stays on, when it may sleep, how it starts again, and what this means for Projects, for Seats and for Azinove's commitments.

1.2 They apply to every Organisation. They form part of the Agreement between AZINOVE SAS ("Azinove") and the Customer, as section 2 (The contract and its documents) of the Terms of service describes. An Organisation Admin accepts them for the Customer in the Console, together with the Terms of service and the DPA.

1.3 On GPU modes, Cold Starts and their effect on availability, these terms prevail over the Terms of service. The DPA, for the Processing of Customer Personal Data, and an Order, for what it expressly covers, prevail over these terms.

1.4 Words with capitals that these terms do not define have the meaning given in section 1 (Definitions) of the Terms of service. In these terms: (a) "Terms of service" means the terms of service that Azinove publishes for the Service; (b) "GPU" means a server with one or more graphics processors that Azinove operates in France to run the model that answers requests to the Service; (c) "Eco Mode" means the operation in which a GPU with no Channel held on it may sleep after a period without requests and starts again on the next request; (d) "Cold Start" means the wait of the first request after a GPU has slept.

1.5 The Documentation, in particular its page "Eco mode and cold starts", describes the technical details. It never adds an obligation for the Customer and never reduces a commitment of these terms.

2. GPU modes

2.1 Requests to the API and requests from Seats are answered by a model that runs on a GPU. A GPU serves every Organisation whose Projects or Seats use the model that runs on it, so a GPU is shared, as section 6 describes.

2.2 Automatic mode is the default mode of a GPU. In automatic mode, a GPU on which at least one Channel is held, paid or in Free Access, stays on, and is started if it is off. When no Channel is held on it, Eco Mode applies.

2.3 A Channel is held on a GPU when: (a) it belongs to an active Project that the GPU serves; and (b) its Organisation has access to the API at that time, under a Subscription or Free Access, and that access is neither blocked nor suspended. Requests from Seats never hold a GPU.

2.4 In Eco Mode, a GPU sleeps only when all of the following are true: (a) no request is running or waiting on it; (b) it has answered no request to the API for a period that Azinove sets; (c) it has been on, since it last started, for at least a minimum time that Azinove sets; (d) no keep-warm window is in progress (clause 5.3).

2.5 A sleeping GPU starts again when a request to the API needs it, when a Channel becomes held on it, when a keep-warm window begins, when it is woken as clauses 4.3 and 5.1 provide, or when Azinove starts it.

2.6 Every GPU on which a Channel is held runs in automatic mode, or is kept on at all times, except during maintenance. While the Customer holds a Channel, the GPU that serves the Project of that Channel therefore does not sleep.

2.7 Azinove may put a GPU in maintenance. During maintenance, the GPU serves no request, whatever the rest of these terms say: requests to the API are refused with the status 503 and the code "maintenance", and the Desktop App and the Mobile Assistant show that maintenance is in progress. Azinove may also show a maintenance notice in these Apps.

2.8 When a GPU sleeps, it is powered off and returned to its hosting provider's pool. Starting it again depends on the provider having capacity at that time, which nothing guarantees. A GPU may also fail to start, or stop working, because of a fault. Azinove's systems retry the start automatically while the GPU is needed. Until the GPU is on, requests that need it wait within the limits of section 3, or are refused as unavailable, with the status 503 and the code "gpu_unavailable" for requests to the API.

2.9 Clauses 2.2 to 2.6 and 5.3 apply subject to maintenance (clause 2.7) and to clause 2.8.

3. Cold Starts for API Projects

3.1 A request to the API that needs a GPU that is asleep or starting waits while the GPU starts. Requests sent from the Console playground are requests to the API. The number of requests that may wait for a start is limited, in total and for each Organisation, so that no Organisation takes every place.

3.2 While it waits, a request keeps the Channel it took. Other requests of the same Project wait in the Project's queue, or are refused with the status 429 and the code "channels_busy", as when every Channel is in use.

3.3 A streaming request receives keep-alive comments while it waits. The response to a request that waited for a Cold Start carries the header x-azinove-cold-start with the value true.

3.4 If the GPU does not start within the time a request may wait, a request that is not streaming receives the status 503 with the code "gpu_starting" and a Retry-After header, and a streaming request receives a final error event. A request may also be refused at once when no place to wait is free (clause 3.1). Where the GPU cannot start for lack of capacity at its hosting provider (clause 2.8), the code is "gpu_unavailable". A refused request may be sent again later.

3.5 Azinove promises no duration for a Cold Start. Where the Console or the Documentation shows a time to allow for a Cold Start, it is guidance for setting up Customer Applications, not a commitment.

3.6 The Customer sets up its Customer Applications for Cold Starts. The Documentation advises a client timeout of at least 300 seconds and streaming responses, because a proxy with a short idle timeout can otherwise cut a waiting request. Azinove is not responsible for a request that a Customer Application, or a proxy or network on the Customer's side, abandons during a Cold Start.

3.7 Waiting for a Cold Start is free. A request that waited is counted in the Project's usage like any other request, and Cold Starts neither increase nor reduce the Fees.

4. Seats and the GPU

4.1 Requests from Seats never keep a GPU on: they never hold it (clause 2.3) and never restart the period of clause 2.4(b). A request from a Seat that is running delays a sleep until it ends.

4.2 When no Channel is held on the GPU that serves a Seat, that GPU may be asleep when a Member sends a message.

4.3 Where Azinove allows the Apps to wake a GPU, a message sent from the Desktop App or the Mobile Assistant, or a request to wake sent by one of them, may wake a sleeping GPU. Azinove limits how often the Apps of an Organisation may wake a GPU. A message that wakes the GPU waits while it starts, within the limits of clause 3.1. When waking from the Apps is not allowed, or the limit has been reached, the message is refused and the App says that the GPU cannot be woken from the App at that moment.

4.4 The Desktop App and the Mobile Assistant show a coarse state of the GPU that serves the Seat: ready, warming up, asleep, unavailable or in maintenance. When the GPU is asleep and the App can wake it, the App says that the first message wakes it. A time that an App shows for a start is an estimate based on a notice that Azinove sets. It is neither a measurement nor a commitment.

4.5 Waiting uses no part of the Usage Limits. A request from a Seat that waited for a Cold Start counts toward the Usage Limits of the Seat like any other request, by what it used. A request that never reached the model counts nothing.

5. Waking ahead of time and keep-warm windows

5.1 An Organisation Admin may ask, in the Console, for the GPU that serves the Organisation's Projects to be woken ahead of time, for example before expected traffic, as often as the Console allows. The request is refused while the Organisation's access to the API is blocked. Each request is recorded in the Activity Log.

5.2 Once on, a GPU woken ahead of time follows section 2: when no Channel is held on it, it may sleep again under clause 2.4.

5.3 Azinove may schedule keep-warm windows, during which a GPU stays on, or is started, whatever the traffic. The keep-warm windows in force are shown in the Console, in Paris time. Azinove may add, change or remove keep-warm windows.

6. Shared GPU

6.1 A GPU is shared. The requests of different customers run on the same GPU and are processed together in the same batches. Isolation inside the GPU is not guaranteed.

6.2 The cache that a GPU keeps from recent requests is kept apart per Project for requests to the API, shared by all the API Keys of that Project, and per Member for requests from Seats. Data derived from Content can stay in that cache until it is evicted or the GPU sleeps. It is never written to disk or to logs.

6.3 When a GPU is busy, requests on faster Speed Tiers are served first, then the other requests to the API, then requests from Seats.

6.4 Azinove does not show the live state of a GPU in the Console, because it would reveal when other customers use it. The coarse state shown in the Apps (clause 4.4), the keep-warm windows and the header of clause 3.3 can show that a shared GPU is on, and so that some customer has used it recently. They never show which customer, how much or when.

6.5 A GPU used by the Customer alone is available only under an Order that states it.

7. What Eco Mode means for Azinove's commitments

7.1 A sleeping GPU, a Cold Start, and the refusal of a request under clause 3.4 while the GPU starts normally are part of the Service, as these terms describe them. They are not a failure of the Service, a breach of the Agreement or unavailability of the Service, and they give no right to compensation, to a service credit or to a reduction of the Fees.

7.2 Azinove makes no commitment on availability, on performance or on the duration of a Cold Start, unless an Order states one, as section 11 (Eco Mode and availability) of the Terms of service provides.

7.3 Azinove uses reasonable means to start a GPU when it is needed and to keep on every GPU on which a Channel is held (clause 2.6). This is an obligation of means (obligation de moyens). A GPU that cannot start or that stops working (clause 2.8), and maintenance (clause 2.7), are unavailability of the Service, governed by the Terms of service, in particular section 11 (Eco Mode and availability) and section 26 (Liability).

7.4 The name "Eco Mode" describes when a GPU may sleep. Azinove makes no claim about the effect of Eco Mode, or of the Service, on the environment.

8. Changes

8.1 Azinove changes these terms as section 28 (Changes to the Legal Documents) of the Terms of service provides. In particular: (a) Azinove notifies a new version by email to Organisation Admins and in the Console at least 30 days before it takes effect; (b) a shorter notice applies only to a change that the law requires, a change that the security of the Service requires, or a change that does not reduce the Customer's rights; (c) a Customer that does not accept the new version may terminate the Agreement by notice before it takes effect, with the refund that the Terms of service provide; (d) if the Customer neither accepts nor terminates, the new version applies from its effective date. If this clause and section 28 of the Terms of service differ, section 28 applies.

8.2 The values that Azinove sets under these terms are operating settings of the Service: the period and the minimum time of clause 2.4, the limit of clause 4.3, how often the Console allows waking ahead of time (clause 5.1), the keep-warm windows (clause 5.3), and the time to allow for a Cold Start that the Console or the Documentation shows. Azinove may change these settings without a new version of these terms. A change of a setting never changes the rules of these terms.