Open-weights chat model from OpenAI. One API key reaches all 24 providers, with automatic failover.
No card required. Start with 1 million free tokens.
About gpt-oss-120b
gpt-oss-120b is an open-weights chat model published by OpenAI, with a 131,072-token context window. It scores 98 on AI IQ, ranked #136. Through TrustedRouter it runs on 24 providers, with options in the US and EU, from $0.032 per million input tokens. Nine providers offer zero data retention, and Tinfoil and Privatemode also run it in a confidential enclave.
- Model ID
openai/gpt-oss-120b- Publisher
- OpenAI
- Modes
- chat
- Billing
- Credits or your own provider key
Set it up with your agent
Paste this into Claude Code, Cursor or any coding agent.
Use gpt-oss-120b through TrustedRouter in this project.
1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
https://api.trustedrouter.com/v1 and read the key from
TRUSTEDROUTER_API_KEY.
3. Set the model to openai/gpt-oss-120b.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="openai/gpt-oss-120b",
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
-H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-oss-120b",
"messages": [{"role": "user", "content": "What is the capital of France?"}]
}'
Providers
Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.
| Provider | Input | Cached | Output | Cost per 1M in + out | Details |
|---|---|---|---|---|---|
|
|
$0.0316 | — | $0.179 | $0.21 | |
|
Retention Verification: no verified privacy claim. W&B Serverless Inference runs on CoreWeave infrastructure. W&B does not publish a zero-retention, confidential-compute, or end-to-end-encryption commitment for this service, so these routes use the Standard privacy tier. TrustedRouter does not enable W&B Weave tracing for provider calls. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.03165/1M · Cached input Not published · Output $0.17935/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0390 | — | $0.179 | $0.22 | |
|
Retention Verification: no verified privacy claim. Tracked as no-store, not strict ZDR. DeepInfra documents memory-only handling and no training for ordinary inference, but reserves the right to log a small portion of requests for debugging or security. Google- and Anthropic-backed routes also inherit those vendors' terms. Location Operator country: US Headquarters / registered office: Palo Alto, California, United States. Company location source (reviewed 2026-09-27). Inference: US infrastructure plus announced Canadian capacity; model-specific residency unconfirmed. DeepInfra describes US infrastructure and announced its first international data center in Toronto on July 8, 2026. This is a provider footprint, not an exhaustive or model-specific placement list. DeepSeek V4.1 Flash placement has not been confirmed; do not declare this route US-only. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. DeepInfra infrastructure statement Weight format Unknown Price and speed Input $0.039035/1M · Cached input Not published · Output $0.17935/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0390 | $0.0390 | $0.197 | $0.24 | |
|
Retention Verification: privacy unknown. No contractual zero-retention, confidential-compute, or E2EE claim is tracked for TrustedRouter's AkashML account. This route is Standard. Location Operator country: Not verified Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.039035/1M · Cached input $0.039035/1M · Output $0.197285/1M TTFT: 1.19 s Speed: insufficient data Last sample: |
|||||
|
|
$0.0528 | $0.0528 | $0.264 | $0.32 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Crusoe's Managed Inference docs and pricing/catalog pages are linked for model and API data-handling review. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.05275/1M · Cached input $0.05275/1M · Output $0.26375/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.0528 | — | $0.264 | $0.32 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Novita's privacy policy says personal information is not used for model training; customer-content processing is governed by customer agreements. Location Operator country: US Headquarters / registered office: San Francisco, California, United States. Company location source (reviewed 2026-09-27). Inference: Shared inference API; processing countries unconfirmed, no fixed-region commitment. No exhaustive inference-country list verified for the shared model API. Novita publishes worldwide GPU rental regions, but that separate product does not establish shared serverless model placement. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.05275/1M · Cached input Not published · Output $0.26375/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0717 | $0.0316 | $0.316 | $0.39 | |
|
Retention Zero data retention. Telnyx's published policy states zero data retention for Telnyx-hosted /v2/ai/openai/chat/completions and /v2/ai/openai/embeddings: content is processed in memory and discarded after the response; request metadata is retained. TrustedRouter currently publishes hosted chat routes and adapts Responses to chat completions. Stateful Responses, AI Assistants with conversation history, third-party models and /v2/ai/embeddings are outside this ZDR scope. OpenAI-compatible embeddings may run in any region. DPA 3.1 restricts training of models available to others, with exceptions for written opt-in or data de-identified under 3.5. This is policy-backed ZDR, not confidential compute or verified end-to-end attestation. Location Operator country: US Headquarters / registered office: Austin, Texas, United States. Company location source (reviewed 2026-09-27). Inference: Multi-region, dynamically routed among the model's available Telnyx regions; no fixed inference-region commitment on this TrustedRouter route. Provider-wide GPU region set. Model availability is narrower; see the catalog snapshot below. Germany in the storage-locality documentation does not establish Germany as the inference country. Region pinning through TR: Not supported by the current TrustedRouter integration: it uses api.telnyx.com without Telnyx's strict region controls. Do not send Telnyx-specific region/mode fields as a TrustedRouter pin. Reviewed 2026-09-26. Inference regions and strict pinning Weight format Unknown Price and speed Input $0.07174/1M · Cached input $0.03165/1M · Output $0.3165/1M TTFT: 0.63 s Speed: insufficient data Last sample: |
|||||
|
|
$0.0927 | — | $0.421 | $0.51 | |
|
Retention Verification: privacy unknown. No contractual zero-retention, confidential-compute, or E2EE claim is tracked for TrustedRouter's Mancer account. This route is Standard. Location Operator country: Not verified Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.092655/1M · Cached input Not published · Output $0.421156/1M TTFT: 0.88 s Speed: insufficient data Last sample: |
|||||
|
|
$0.0528 | $0.0791 | $0.475 | $0.53 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. SiliconFlow's privacy policy source is linked for retention and interaction-data terms. Location Operator country: SG Headquarters / registered office: Singapore (international API operator). Company location source (reviewed 2026-09-27). Inference: Inference countries unconfirmed; no verified country-specific residency commitment. TrustedRouter uses api.siliconflow.com. Neither its hostname nor the provider's Singapore legal jurisdiction establishes the DeepSeek V4.1 Flash GPU location. No exhaustive route-specific country list verified. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-26. Weight format Unknown Price and speed Input $0.05275/1M · Cached input $0.079125/1M · Output $0.47475/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.100 | $0.100 | $0.501 | $0.60 | |
|
Retention Verification: privacy unknown. Boundless's October 27 terms prohibit persistent input/output storage after real-time processing, while retaining content-free request records for up to 90 days. The terms still disclaim third-party infrastructure practices; an equivalent downstream retention commitment is not verified. Routes remain outside strict ZDR, confidential compute and E2EE. Location Operator country: US Headquarters / registered office: Not verified. Inference: US, UK and/or EU infrastructure, provider-declared; no per-request residency commitment. October 27 terms, section 3.3, describe provider-wide infrastructure in the US, UK and/or EU; not an exact-model placement receipt. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.100225/1M · Cached input $0.100225/1M · Output $0.501125/1M TTFT: 1.00 s Speed: insufficient data Last sample: |
|||||
|
|
$0.106 | $0.106 | $0.528 | $0.63 | |
|
Retention Zero data retention. Baseten states that it does not store synchronous Model API inputs or outputs by default. TrustedRouter uses the synchronous Model API path; Baseten documents separate temporary input storage for async inference. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.1055/1M · Cached input $0.1055/1M · Output $0.5275/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.158 | — | $0.633 | $0.79 | |
|
Retention Retention unverified - not strict ZDR: This exact model and upstream ID have not been approved for strict ZDR under the current account controls. Provider-wide ZDR, no-training and successful inference are insufficient. Safety retention or other content storage may apply; the route is excluded until reviewed. This exact model and upstream ID have not been approved for strict ZDR under the current account controls. Provider-wide ZDR, no-training and successful inference are insufficient. Safety retention or other content storage may apply; the route is excluded until reviewed. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.15825/1M · Cached input Not published · Output $0.633/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.158 | — | $0.633 | $0.79 | |
|
Retention Verification: no verified privacy claim. Databricks Foundation Model APIs are a Designated Service and pay-per-token workloads are HIPAA compliant. Databricks may temporarily process or store inputs and outputs for abuse prevention, and may process data outside the originating cloud or region. This route is therefore standard privacy, not ZDR, confidential compute, or end-to-end encrypted. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.15825/1M · Cached input Not published · Output $0.633/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.158 | $0.0158 | $0.633 | $0.79 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Fireworks publishes security, privacy, and zero-retention documentation; enable a contracted ZDR posture before marking this provider as ZDR. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.15825/1M · Cached input $0.015825/1M · Output $0.633/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.158 | — | $0.633 | $0.79 | |
|
Retention Zero data retention. Marked ZDR via TrustedRouter's arrangement — Nebius RETAINS inputs/outputs by default (for speculative decoding); zero retention is an opt-in control, which the deployed Nebius account has enabled. Nebius does not train on customer data. Location Operator country: NL Headquarters / registered office: Amsterdam, Netherlands. Company location source (reviewed 2026-10-28). Inference: Global, dynamically placed public inference; no fixed-country commitment. Token Factory public endpoints are Global; Finland storage of retained content does not identify the inference location. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.15825/1M · Cached input Not published · Output $0.633/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.158 | — | $0.633 | $0.79 | |
|
Retention Confidential compute with end-to-end encryption and zero data retention. Tracked as a confidential inference provider with attested provider compute and no prompt/output logging claims. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format MXFP4 (mixed). Published serving configuration, reviewed 2026-09-27. Per-request precision is not verified. MXFP4 weight quantization; attention, routers, embeddings and output head are excluded. KV cache: unspecified. Price and speed Input $0.15825/1M · Cached input Not published · Output $0.633/1M TTFT: 1.40 s Speed: insufficient data Last sample: |
|||||
|
|
$0.158 | — | $0.633 | $0.79 | |
|
Retention Zero data retention. Tracked as provider ZDR. Together documents that inference inputs and outputs are not stored by default; temporary prompt caching may be used for performance, and sharing content for training is opt-in. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.15825/1M · Cached input Not published · Output $0.633/1M TTFT: 1.22 s Speed: insufficient data Last sample: |
|||||
|
|
$0.232 | — | $0.622 | $0.85 | |
|
Retention Verification: privacy unknown. No contractual zero-retention, confidential-compute, or E2EE claim is tracked for TrustedRouter's SambaNova account. This route is Standard. Location Operator country: Not verified Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.2321/1M · Cached input Not published · Output $0.62245/1M TTFT: 0.91 s Speed: insufficient data Last sample: |
|||||
|
|
$0.106 | $0.0580 | $0.791 | $0.90 | |
|
Retention Zero data retention. Tracked as ZDR for serverless and dedicated inference. Parasail documents no storage or logging of submitted input on those service paths, retention only while generating and delivering output, and no training on input or output. Batch service is excluded from this claim; TrustedRouter does not route Parasail traffic through batch. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.1055/1M · Cached input $0.058025/1M · Output $0.79125/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.188 | $0.0939 | $0.717 | $0.91 | |
|
Retention Verification: privacy unknown. In its September 28, 2026 marketplace submission, io.net states that inference prompts and completions are processed only in memory, are not stored or logged, and are not used for training. Content-free operational metadata is retained for billing, capacity planning and abuse prevention. This is a provider declaration: the reviewed public privacy policy does not establish inference-specific zero-retention terms, and the applicable DPA has not been reviewed. Routes remain Standard pending that evidence. Confidential compute is offered on request, but this integration has no verified confidential-compute or provider-side E2EE guarantee. Location Operator country: US Headquarters / registered office: West Hollywood, California, United States (operating address). Company location source (reviewed 2026-09-28). Inference: United States and Canada, provider-declared; no US-only or fixed-country guarantee on this route. io.net declares US and Canadian serving locations and data residency in its September 28, 2026 marketplace submission. This is provider-wide information, not an independently verified per-model or per-request location. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-28. API documentation (not a location guarantee) Weight format Unknown Price and speed Input $0.18779/1M · Cached input $0.093895/1M · Output $0.7174/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.185 | — | $0.740 | $0.92 | |
|
Retention Verification: privacy unknown. Scaleway routes are discovered from its authenticated Model as a Service catalog and priced from Scaleway's first-party EUR price feed with a bounded FX reserve. No contractual ZDR, confidential-compute, or E2EE claim is tracked for this account, so these routes are Standard. Location Operator country: FR Headquarters / registered office: Not verified. Inference: Serverless: currently Paris, France, provider-declared; future expansion within Europe possible. Scaleway's FAQ places its current Serverless inference fleet in Paris. Dedicated deployments are a separate product. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. Weight format Unknown Price and speed Input $0.18489/1M · Cached input Not published · Output $0.739557/1M TTFT: 1.50 s Speed: insufficient data Last sample: |
|||||
|
|
$0.247 | $0.0493 | $0.801 | $1.05 | |
|
Retention Confidential compute with end-to-end encryption and zero data retention. Requests and responses are encrypted between TrustedRouter's enclave and release-pinned Privatemode workloads after attestation verification. Verification failures reject the request; there is no plaintext fallback. Privatemode explicitly states that prompts and responses are not stored after a request completes and are not used for training. Transient inference state may remain in a salt-isolated, in-memory prompt cache inside confidential workers until eviction. Operational metadata is retained for up to 90 days; per-key token usage is retained permanently for billing. Cache-routing metadata is visible to the provider edge. ZDR describes prompt/output retention, not metadata. Location Operator country: DE Headquarters / registered office: Not verified. Inference: EU-hosted inference, provider-declared; country and individual worker location unspecified. Privatemode declares EU hosting for its inference service. This does not establish an individual worker's country. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. Weight format MXFP4 (mixed). Published serving configuration, reviewed 2026-10-22. Per-request precision is not verified. MXFP4 weight quantization; attention, routers, embeddings and output head are excluded. KV cache: fp8. Published model revisions and root hashes Price and speed Input $0.246519/1M · Cached input $0.049305/1M · Output $0.801186/1M TTFT: 0.96 s Speed: insufficient data Last sample: |
|||||
|
|
$0.369 | — | $0.791 | $1.16 | |
|
Retention Zero data retention. Tracked as provider-ZDR. Cerebras documents zero-retention inference and ZDR-compliant ephemeral prompt caching that is never persisted. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.36925/1M · Cached input Not published · Output $0.79125/1M TTFT: 0.48 s Speed: insufficient data Last sample: |
|||||
|
|
$0.369 | — | $0.791 | $1.16 | |
|
Retention Verification: privacy unknown. Workers AI documents no input/output retention after ordinary stateless inference and no model training. Stateful features, customer-enabled logging/caching, and safety, security or legal exceptions may retain content. No exception-free commitment is verified for this account; these routes remain outside strict ZDR. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.36925/1M · Cached input Not published · Output $0.79125/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$1.18 | — | $4.95 | $6.13 | |
|
Retention Zero data retention. Regolo states that inference prompts and outputs are processed in memory and discarded, with no reuse for training. This is a provider policy, not verified confidential compute or provider-side E2EE. Location Operator country: IT Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $1.178646/1M · Cached input Not published · Output $4.950314/1M TTFT: 0.97 s Speed: insufficient data Last sample: |
|||||
Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.
Questions
What model ID should I use for gpt-oss-120b?
Use openai/gpt-oss-120b as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.
Do you log my prompts or outputs?
No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.
Which providers serve gpt-oss-120b?
TrustedRouter currently lists Tinfoil, Privatemode, Cerebras, Nebius Token Factory, Parasail, Together, Telnyx, Baseten, Regolo, Crusoe, DeepInfra, SiliconFlow, Fireworks AI, Novita AI, Cloudflare Workers AI, Databricks, AkashML, Mancer, SambaNova, IO Intelligence, Scaleway, Amazon Bedrock, Boundless, and Weights & Biases for gpt-oss-120b. Provider availability and routing eligibility can change as catalog and health data update.
How much does gpt-oss-120b cost through TrustedRouter?
The current lowest Credits input price is $0.03165/1M and the lowest Credits output price is $0.17935/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for gpt-oss-120b?
Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.
gpt-oss-120b vs other models
Start building with gpt-oss-120b.
No card required. Start with 1 million free tokens.
