# OpenAI API consultant: model steps that sit inside real workflows.

> SBD adds OpenAI model calls to the workflows and internal tools that teams of 1 to 1,000 people already run: reading documents, classifying messages and drafting replies for a person to approve. Everything runs in an OpenAI organisation in your name, with keys you own. Workflow automation builds start at $1,000, with the fixed price set after a $500 Automation Audit that is credited to the build.

- Canonical: https://smallbaydigital.com/integrations/tools/openai/
- Publisher: SmallBay Digital

## What an OpenAI developer from SBD builds

We do not sell chatbots. We put a model call at the one point in a workflow where the input is unstructured and a rule cannot cope: a supplier invoice in an unfamiliar layout, an enquiry email that could be a quote request or a complaint, a call transcript that needs to become three fields in a CRM. Everything either side of that call stays deterministic, logged and testable.

Most OpenAI work falls into four patterns. Extraction: structured fields pulled from documents and email, checked against a schema before anything is written. Classification: a label and a confidence score, with low-confidence items sent to a person. Drafting: replies, summaries and follow-ups written for someone to approve, never sent cold. Matching: free text compared against a catalogue, a customer list or an item master.

Two published SBD projects use OpenAI. For a B2B sales team we built [lead capture, enrichment and AI qualification on n8n](https://smallbaydigital.com/case-studies/lead-enrichment-sales-automation/), where each lead is scored against the ideal customer profile and likely objections are noted. For a bearings distributor we built an [enquiry and quotation platform on SAP](https://smallbaydigital.com/case-studies/rfq-to-quotation-on-sap/) where RFQ emails are read and items extracted and matched to the item master.

## When OpenAI is the right model provider, and when it is not

We choose the model provider after the audit, on the task, the data and the cost per call. OpenAI is a sound choice when you want a wide range of model sizes under one account, strict structured outputs for extraction, embeddings for search and matching, and a Batch API for large overnight jobs. It is also often the provider a client already has an account and a data processing agreement with, which saves weeks of procurement.

We will recommend something else when:

- A rule, a lookup or a regular expression does the job; a model call adds cost and a failure mode for no gain.
- The writing task needs long, consistent house style across thousands of documents; we test Claude against the same examples before deciding.
- Your data must be processed, not only stored, in a region OpenAI does not offer for inference; its docs list regional processing only in the US, Europe and the UAE.
- The workflow cannot tolerate a non-deterministic step at all, such as a payment amount; there the model may suggest but a person or a rule decides.

## OpenAI usage tiers, rate limits, batches and webhooks

OpenAI measures limits in requests per minute and per day, tokens per minute and per day, and images per minute, and you hit whichever runs out first. Limits apply per organisation and per project and vary by model. Your tier rises automatically as total credit purchases grow. From the rate limits guide in October 2026:

- **Free:** must be in an allowed geography; $100 a month usage limit.
- **Build:** after $5 in total credit purchases; $500 a month.
- **Launch:** after $100 in total credit purchases; $5,000 a month.
- **Grow:** after $500 in total credit purchases; $200,000 a month.
- **Batch API:** 50% cheaper than synchronous calls, a 24 hour completion window, up to 50,000 requests or a 200 MB input file per batch.
- **Webhooks:** signed under the Standard Webhooks specification with webhook-id, webhook-timestamp and webhook-signature headers, retried with backoff for up to 72 hours.

## What happens to your data, and where the bill grows

OpenAI states that data sent to the API is not used to train or improve its models unless you opt in, which has been the case since 1 March 2023. Abuse monitoring logs are kept for up to 30 days by default. Zero data retention needs prior approval from OpenAI and does not cover every endpoint; Files, Vector Stores, Assistants, Batches and fine-tuning are listed as not eligible. Data residency is a per-project option arranged through sales, and residency endpoints carry a 10% uplift for models released on or after 5 March 2026.

Two defaults catch teams out. The Responses API stores responses for 30 days unless you set store to false, and objects such as files and vector stores persist until someone deletes them. We switch storage off where a workflow does not need conversation state, and write a deletion job for anything that must be kept briefly. Every call goes through our standard controls, set out on our [AI trust page](https://smallbaydigital.com/trust/ai/): only the fields a step needs are sent, and anything that moves money or contacts a customer for the first time waits for a person.

On cost, we log tokens and cost per call from the first release, set a monthly budget on the project, and move anything that does not need an answer within seconds to the Batch API. On retries, OpenAI's guidance is to treat Retry-After as a minimum, add jitter, cap attempts and not stack SDK retries on top of your own; failed requests still count towards per-minute limits, so a tight retry loop makes a 429 worse.

## How hiring an OpenAI consultant from SBD works

Every engagement starts with an [Automation Audit](https://smallbaydigital.com/services/audit/) at $500, credited in full to your build. For OpenAI work we take a sample of the real inputs, such as fifty invoices or two hundred emails, and measure how a model performs on them before anyone commits to a build. You get a ranked list of opportunities, each with a fixed price, and a clear statement of where a model is and is not worth it.

Workflow automation builds start at $1,000, internal tools at $3,000, multi-module systems at $5,000 and micro-SaaS products at $10,000, and the fixed price is agreed before work begins. Work runs in two-week sprints with sixty days of hypercare, and care plans start at $50 a month. Model usage is billed by OpenAI directly to your account; we do not mark it up. See the [pricing page](https://smallbaydigital.com/pricing/).

## What you own when the build is finished

The OpenAI organisation, the project and every API key are in your name. We create a separate project per workflow or environment so that keys, limits and spend can be revoked or capped independently. Prompts live in your repository or workflow with version numbers, next to a small evaluation set of real examples and expected outputs, so a change of prompt or model can be tested before it reaches production.

You also receive a runbook that names each model step, what it reads, what it writes, its confidence threshold, its cost per call and who is alerted when it fails. When OpenAI retires a model, the evaluation set tells you within an hour whether the replacement behaves the same. Book a discovery call to talk through the workflow you have in mind.

## At enterprise scale

In larger organisations the OpenAI API is usually owned by a platform, data or IT team that holds the organisation account and hands out projects to product and operations teams. The workloads that reach production are mostly unglamorous: document intake in finance, ticket triage in support, enquiry handling in sales, and search over internal knowledge. The questions that slow them down are about data, cost and who signs off a change. The model choice rarely holds them up.

- **Data processing and retention** We map every model step to the data it sends and the OpenAI endpoint it uses, show which endpoints store state and for how long, and turn storage off where it is not needed. Where your policy needs zero data retention, we check eligibility endpoint by endpoint before design, because some features are excluded.
- **Data residency** OpenAI offers residency per project through its sales team, with regional processing only in some regions. We confirm your required region early and design around it, rather than discovering at go-live that a feature is not available there.
- **Key and project separation** One project per workflow and environment, keys held in your secret store, never in a workflow body or a spreadsheet. Each project gets its own spend cap so one runaway job cannot consume the whole organisation's limit.
- **Cost control** Cost per call is logged against each workflow from the first day, with a monthly report and an alert at a threshold you choose. Non-urgent work moves to the Batch API at half the price.
- **Change control for prompts and models** Prompts are versioned, and every change runs against a stored evaluation set before release. Model upgrades follow the same path, with a written result your reviewers can sign off.
- **Human approval** Anything that moves money, changes a customer record in a way that matters, or contacts a customer for the first time goes to a named person to approve. Our [agent risk tool](https://smallbaydigital.com/tools/agent-risk/) sets out how we decide where that line sits.

### Engagements

- **Already on OpenAI, pilots that never reached production.** Several teams built prototypes in notebooks or chat tools and none is running against live data. We pick the one with a measurable manual cost, rebuild it as a logged workflow with an evaluation set and an approval step, and put it into production as a fixed-price build.
- **Already on OpenAI, bill growing faster than usage.** Spend has crept up and nobody can say which workflow drives it. We add per-call cost logging, find the steps sending far more context than they need, move batch-shaped work to the Batch API and set project caps.
- **Already on OpenAI, security review before scaling.** Security wants to know what data leaves the business and where it is kept. We document each model step, its data, endpoint, retention and key owner, and close the gaps the review finds before more teams are added.
- **Choosing between OpenAI and Claude.** Rather than a debate, we run both providers against the same sample of your real inputs and score the outputs. You get the accuracy, cost per call and latency for each, and choose with evidence.

## Related

- [Moving off OpenAI Agent Builder](https://smallbaydigital.com/blog/moving-off-openai-agent-builder/)
- [Case study: lead enrichment with AI qualification](https://smallbaydigital.com/case-studies/lead-enrichment-sales-automation/)
- [Case study: RFQ to quotation on SAP](https://smallbaydigital.com/case-studies/rfq-to-quotation-on-sap/)
- [OpenAI portfolio](https://smallbaydigital.com/portfolio/tools/openai/)
- [Claude consultant](https://smallbaydigital.com/integrations/tools/claude/)
- [How we use AI safely](https://smallbaydigital.com/trust/ai/)
- [Putting an AI agent into production safely](https://smallbaydigital.com/guides/how-to-put-an-ai-agent-into-production-safely/)

## Sources

- OpenAI: Rate limits guide (usage tiers, monthly limits, headers, 429 handling), checked 29 October 2026 <https://developers.openai.com/api/docs/guides/rate-limits>
- OpenAI: Data controls in the OpenAI platform (training, retention, zero data retention, residency), checked 29 October 2026 <https://developers.openai.com/api/docs/guides/your-data>
- OpenAI: Batch API guide (discount, completion window, batch size), checked 29 October 2026 <https://developers.openai.com/api/docs/guides/batch>
- OpenAI: Webhooks guide (signing, retries, idempotency), checked 29 October 2026 <https://developers.openai.com/api/docs/guides/webhooks>
