openai/gpt-oss-20b or openai/gpt-oss-120b as an authenticated chat endpoint in your AWS account using Tensorfuse and vLLM. This guide connects the model server, GPU allocation, API secret, and readiness probe, then shows how to query the endpoint. Benchmark your own workload before setting production capacity.
Before you deploy
Configure your cluster using Getting started. Confirm GPU quota and available capacity in your AWS region, then choose one model for the deployment directory. The Dockerfiles below pin the CUDA 12.9 variant of vLLM 0.28.0. Verify the cluster’s NVIDIA driver supports that image before deploying. Consult the upstream GPT-OSS recipe for model and hardware requirements.These examples were checked against documentation and configuration syntax on September 6, 2026; the updated image has not been GPU-tested on a Tensorfuse cluster as part of this refresh. The GPU allocations below are starting configurations, not minimum requirements or throughput guarantees.
1. Create an API secret
2. Choose a Dockerfile
Save one of the following asDockerfile. Each starts a chat server on port 8000 and limits context to 8,192 tokens as an initial memory budget. Change that limit after measuring your prompt lengths, output lengths, and concurrency.
3. Match the deployment configuration
Save the matching example asdeployment.yaml in the same directory. port, the server’s --port, and the readiness probe all use 8000. See the configuration reference for the complete set of options.
min_scale when a warm replica is needed, then tune concurrency and max_scale from load-test results.
4. Deploy and check readiness
5. Send an authenticated chat request
SetINFERENCE_URL to your HTTPS endpoint without /v1. Set MODEL_ID to the model you deployed, and retain the API key from step 1. The chat endpoint applies the model’s chat template.
MODEL_ID to openai/gpt-oss-120b. A successful streaming request returns server-sent events; the exact generated text depends on the model and sampling settings.
With the openai Python package installed, use the same environment variables:
Related guides
Benchmark GPT-OSS latency and cost
Measure your input lengths, output lengths, request rate, and cache state.
Reduce repeated prompt work
Evaluate prefix reuse for agent instructions and conversation history.

