gpt-oss-120b API
Call gpt-oss-120b with the model ID gpt-oss-120b through the OpenAI-compatible API at cloudgpu.app. One key works for every model in the directory, and usage is charged from a prepaid balance with no monthly minimum.
$0.135 per 1M input tokens, $0.54 per 1M output tokens
Price and specs
| Model ID | gpt-oss-120b |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Input / 1M tokens | $0.135 |
| Output / 1M tokens | $0.54 |
| Cached input / 1M tokens | $0.0675 |
| Context (tokens) | 131,072 |
| Features | Tool calling |
Prices are read from the live billing table, the same data as the table on /api.
What common workloads cost
| Workload | Cost |
|---|---|
| 1M input + 1M output tokens | $0.68 |
| 1,000 chat replies (1,000 tokens in, 500 out each) | $0.40 |
| Summarize 100 long documents (50,000 tokens in, 1,000 out each) | $0.73 |
| Coding agent session (2M input tokens, 80% cache hits, 60,000 out) | $0.19 |
Estimates multiply the token counts by the prices above. Your bill uses the token counts returned with each response.
Call gpt-oss-120b from code
Create a key in the API console and use it in place of cgw-sk-... (or set CLOUDGPU_API_KEY). OpenAI-format clients use the base URL https://cloudgpu.app/v1.
curl https://cloudgpu.app/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $CLOUDGPU_API_KEY" \
-d '{
"model": "gpt-oss-120b",
"messages": [{"role": "user", "content": "Hello"}]
}'# pip install openai
from openai import OpenAI
client = OpenAI(api_key="cgw-sk-...", base_url="https://cloudgpu.app/v1")
resp = client.chat.completions.create(
model="gpt-oss-120b",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)// npm install openai
import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.CLOUDGPU_API_KEY, baseURL: "https://cloudgpu.app/v1" });
const resp = await client.chat.completions.create({
model: "gpt-oss-120b",
messages: [{ role: "user", content: "Hello" }],
});
console.log(resp.choices[0].message.content);Use gpt-oss-120b in coding tools and agents
Any tool that accepts an OpenAI-compatible base URL can use this model, including Cursor, Cline, Continue, LangChain and LlamaIndex. Set the base URL to https://cloudgpu.app/v1, paste your cgw-sk key, and enter gpt-oss-120b as the model name.
Compare with similar models
| Model | Input / 1M tokens | Output / 1M tokens | Context (tokens) |
|---|---|---|---|
| gpt-oss-120b | $0.135 | $0.54 | 128K |
| GPT-6 Astra | $6.00 | $30.00 | 391K |
| GPT-6 Sol | $1.20 | $6.00 | 391K |
| GPT-6.1 Sol | $1.20 | $6.00 | 391K |
| GPT-5.6 Terra | $1.50 | $9.00 | 391K |
| GPT-5.6 Sol | $3.00 | $18.00 | 391K |
| Claude Opus 5.5 | $2.00 | $10.00 | 1M |
| Claude Opus 5 | $2.50 | $12.50 | 1M |
| Claude Opus 4.8 | $2.50 | $12.50 | 1M |
gpt-oss-120b API questions
How much does the gpt-oss-120b API cost?
$0.135 per 1M input tokens, $0.54 per 1M output tokens on cloudgpu.app. You pay only for what you use, from a prepaid balance with no monthly minimum.
Is the gpt-oss-120b API OpenAI-compatible?
Yes. Send requests to /v1/chat/completions with the model ID gpt-oss-120b. The OpenAI Python and Node SDKs work once the base URL is set to https://cloudgpu.app/v1.
What is the context window of gpt-oss-120b?
gpt-oss-120b accepts up to 131,072 tokens of context on cloudgpu.app.
How do I get an API key for gpt-oss-120b?
Sign up at cloudgpu.app, add balance, and create a key in the API console. The same cgw-sk key works for every model in the directory.