Skip to content

Commit 83e0781

Browse files
feat: Move GPU browsers to L40S-3Q and 6Q vGPU profiles
Stainless-Generated-From: 41d37270913682099a8008a2e3ff1e64b93251ec
1 parent 0caa5b0 commit 83e0781

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎src/resources/browsers/browsers.ts‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -838,10 +838,11 @@ export interface BrowserUsage {
838838
}
839839

840840
/**
841-
* Video memory (VRAM) of a GPU browser session. 2GiB sessions have 4 vCPU and 6GiB
842-
* memory. 4GiB sessions have 8 vCPU and 12GiB memory.
841+
* Video memory (VRAM) of a GPU browser session. 3GiB sessions have 4 vCPU and 6GiB
842+
* memory. 6GiB sessions have 8 vCPU and 12GiB memory. 2GiB and 4GiB are deprecated
843+
* aliases for 3GiB and 6GiB: they are accepted on create and never returned.
843844
*/
844-
export type BrowserVideoMemory = '2GiB' | '4GiB';
845+
export type BrowserVideoMemory = '3GiB' | '6GiB' | '2GiB' | '4GiB';
845846

846847
/**
847848
* Browser profile metadata.
@@ -1827,8 +1828,8 @@ export interface BrowserCreateParams {
18271828

18281829
/**
18291830
* Video memory (VRAM) for a GPU browser session. Requires gpu=true. Defaults to
1830-
* 2GiB, which comes with 4 vCPU and 6GiB memory. 4GiB comes with 8 vCPU and 12GiB
1831-
* memory.
1831+
* 3GiB, which comes with 4 vCPU and 6GiB memory. 6GiB comes with 8 vCPU and 12GiB
1832+
* memory. 2GiB and 4GiB are deprecated aliases for 3GiB and 6GiB.
18321833
*/
18331834
video_memory?: BrowserVideoMemory;
18341835

‎tests/api-resources/browsers/browsers.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('resource browsers', () => {
8888
},
8989
timeout_seconds: 10,
9090
vaults: [{ id: 'id', name: 'x' }],
91-
video_memory: '2GiB',
91+
video_memory: '3GiB',
9292
viewport: {
9393
height: 800,
9494
width: 1280,

0 commit comments

Comments
 (0)