Compare approaches
Provide requirements and constraints, then ask for a recommendation with explicit trade-offs and assumptions.
gpt-oss-20bby OpenAI Open weightsapache-2.0
From€0.0306Input / 1M tokens
From€0.116Output / 1M tokens
gpt-oss-20b is an open-weight reasoning model from OpenAI. Use Blade’s hosted endpoint to evaluate planning, analysis and coding assistance with your own product context.
Provide requirements and constraints, then ask for a recommendation with explicit trade-offs and assumptions.
Send a focused diff and relevant context. Ask for actionable issues, then check each finding against the actual code.
Turn a user’s request into a proposed plan. Keep tool execution and permissions in your application rather than in the generated text.
BLADE_API_KEY in your server environment.import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.models.blade.sh/v1",
api_key=os.environ["BLADE_API_KEY"],
timeout=120.0,
)
reply = client.chat.completions.create(
model="gpt-oss-20b",
messages=[{
"role": "user",
"content": "Review a retry strategy for a payment API. Explain when retries are unsafe and how idempotency helps.",
}],
max_tokens=4096,
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.models.blade.sh/v1",
apiKey: process.env.BLADE_API_KEY,
});
const reply = await client.chat.completions.create({
"model": "gpt-oss-20b",
"messages": [
{
"role": "user",
"content": "Review a retry strategy for a payment API. Explain when retries are unsafe and how idempotency helps."
}
],
"max_tokens": 4096
});
console.log(reply.choices[0]?.message.content);curl --fail-with-body "https://api.models.blade.sh/v1/chat/completions" \
-H "Authorization: Bearer ${BLADE_API_KEY}" -H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "gpt-oss-20b",
"messages": [
{
"role": "user",
"content": "Review a retry strategy for a payment API. Explain when retries are unsafe and how idempotency helps."
}
],
"max_tokens": 4096
}
JSONSet BLADE_API_KEY before running the example. This sends a billed request. Check supported parameters and handle timeouts, rate limits and incomplete responses.
Open the console example ↗These starting rates are the lowest catalogue prices. The active rate may vary with GPU availability.
Catalogue updated 2026-12-06.
View the rate card ↗10,000 input tokens + 2,000 output tokens = €0.000538 at the displayed rate.
Connect a skill or API runner that sends a focused task to gpt-oss-20b. Your main assistant keeps the project context, reviews the proposal and runs the checks.
Define the task and select the files.
Propose code through Blade’s API.
Review the diff. Run the tests.
A configured integration is required. Your assistant retains its main model; delegated Blade requests are billed separately. Evaluate the result on your task before expanding the workflow.
Set up coding delegation ↗gpt-oss-20b is an open-weight reasoning model from OpenAI. Use Blade’s hosted endpoint to evaluate planning, analysis and coding assistance with your own product context.
Input / 1M tokens: from €0.0306. Output / 1M tokens: from €0.116.
OpenAI’s model card describes the upstream model. Blade’s alias, serving configuration and supported reasoning parameters determine what your API request can use.
Connect a configured API runner to your assistant. Follow the delegation guide ↗