Skip to main content
All models

Run o1 in a hosted Python Task with file inputs.

OpenAI reasoning model trained with reinforcement learning via OpenRouter. Designed to think deeply before responding on complex reasoning tasks.

What o1 supports in qbash

  • Image inputReads WEBP, PNG, JPEG and GIF images.
  • Document inputReads PDF, TEXT, DOC, XLS, RTF and 7 more files.
  • Prompt cachingRepeated input is billed at the cached rate.

What is qbash?

qbash is where you build Tasks: Python programs that run a business process on managed infrastructure. Your code runs the steps and calls a model like o1 only at the ones that need judgment, with integrations, memory and files available in the same script.

A developer writes the Task once, and anyone on the team runs it from a form, on a schedule, from a webhook or from chat. Each Task is versioned and every run is logged.

Specifications

Context window
200Ktokens
Max output
16,384tokens

Use o1 in a Python Task

qbash.ai.raw calls o1 from a Task and returns its reply as a string.

main.py
notes = qbash.inputs.get("notes")

summary = qbash.ai.raw(
f"Summarize these meeting notes in five bullets:\n\n{notes}",
model="openai/o1",
system="You are a concise analyst.",
)

qbash.output({"summary": summary})
Model calls in Tasks

o1 pricing

Input$15.00 per 1M tokens
Output$60.00 per 1M tokens
Cached input$7.50 per 1M tokens

Standard rates in USD.

Supported file formats

Images

  • WEBP up to 20 MB
  • PNG up to 20 MB
  • JPEG up to 20 MB
  • GIF up to 20 MB

Documents

  • PDF
  • TEXT
  • DOC
  • XLS
  • RTF
  • DOCX
  • XLSX
  • PPTX
  • PPT
  • ODT
  • ODP
  • ODS

Automate o1 with qbash