Skip to content

OpenAI API

ChatGPT integration services for your app and internal tools

ChatGPT integration services connect your app or internal tool to the OpenAI API, the developer platform from the company behind ChatGPT, so a model can draft, extract, classify and take permitted actions inside your own screens. Codebrix builds the integration on the Responses API, in your codebase and your OpenAI organisation, with structured outputs, tool calling, rate-limit handling and spend limits. Pricing is shared on a call within an hour of your enquiry.

Built on
OpenAI Responses API
Account
Your OpenAI organisation
Code in
Node.js, Python, Next.js
Pricing
On a call within 1 hour

Updated · By the Codebrix team

ChatGPT the product and the OpenAI API are not the same thing

Most requests start with 'we want ChatGPT in our app'. What the app actually calls is the OpenAI API, which is a separate product with separate billing. OpenAI's help centre states that ChatGPT and the API platform have separate billing systems, and that API usage is billed separately from a ChatGPT subscription.

ChatGPT subscriptionOpenAI API
Who uses itA person typing in the ChatGPT appYour software, on behalf of your users
How it is paidA subscription per personUsage-based billing on an API organisation
Where the instructions liveIn each person's chatIn your code, versioned and tested
What it can reachWhat the person pastes or uploadsOnly the data and actions your code allows

So a ChatGPT integration is ordinary software work: an API key held on your server, prompts kept in your repository, and model calls wrapped in the same permission checks as the rest of your app.

Where a ChatGPT integration earns its place in an app or internal tool

The best first features take a task your team already does by hand, many times a day, and turn the model's output into a field, a draft or a filter that a person checks.

TaskModel inputWhat your app receivesWho checks it
Draft a reply in a helpdeskThe ticket thread and your policy notesA draft in the reply boxThe agent, before sending
Fill a form from a documentAn uploaded invoice, order or applicationNamed fields matching your schemaStaff confirm highlighted fields
Sort incoming leadsEnquiry text and sourceA category, priority and ownerSales, by reassigning when wrong
Summarise a call into the CRMThe call notes or transcriptOutcome, next step and follow-up dateThe salesperson who made the call
Plain-language report filtersA question such as 'unpaid invoices over 60 days'A structured filter your code runsThe filter is shown before results

Answering from a large set of your documents is a retrieval project; see AI integration services and RAG development. A customer-facing assistant on your website or app is covered by AI chatbot development. This page is about OpenAI calls inside the screens your team and customers already use, for example inside a custom CRM.

Tool calling: letting the model ask your system to act

OpenAI's function calling guide describes a five-step flow: your app sends a request with the tools the model may call, receives a tool call, executes the code itself, sends the result back, and receives a final answer or more tool calls. The model never runs anything. Your application does, which is where the safety comes from.

  • Each tool is a narrow function, such as 'look up order status', not open database access.
  • Every tool call is checked against the signed-in user's permissions, exactly as a button press would be.
  • Tools that change data show the proposed change and wait for a person to confirm.
  • Strict mode is switched on, which OpenAI says makes function calls reliably follow the schema instead of best effort.
  • Every call, argument and result is logged in your database for audit.

Structured outputs that your code can trust

Free text is hard for software to use. OpenAI's Structured Outputs guide says the feature constrains completed, non-refusal output to a JSON Schema you supply, and that only Structured Outputs, not the older JSON mode, ensures the schema is followed. The guide is also clear about the edges, and we build for them:

  • A refusal may not follow your schema, so the API returns a separate refusal field. The app shows it or routes the item to a person.
  • Output can be cut short, for example when the token limit is reached. Incomplete results are retried or flagged, never saved.
  • Business rules the schema cannot express, such as a date in the future or a total that matches its lines, are validated in your code.
  • Some JSON Schema features are not supported, so schemas are kept plain.

Rate limits, usage tiers and behaviour under load

OpenAI limits each organisation by requests and tokens per minute and per day. Its rate limits guide lists three paid usage tiers, upgraded automatically as total credit purchases cross each threshold:

OpenAI paid usage tiers, as of November 2026
TierTotal credit purchases needed
Build$5
Launch$100
Grow$500
  1. When a request exceeds a limit, the API returns a 429 error. The app waits at least as long as any Retry-After header says, plus a small random delay.
  2. Retries use exponential backoff with a cap on attempts, because OpenAI notes that failed requests still count towards the per-minute limit.
  3. Non-urgent jobs, such as overnight summaries, go through a queue so they never compete with live users.
  4. Per-user and per-day caps stop one account, or one bug, from consuming the whole budget.

Data controls on the OpenAI API, as of November 2026

OpenAI's data controls page sets out what happens to what you send. The points that shape a build:

  • Data sent to the API is not used to train OpenAI models unless you explicitly opt in.
  • Abuse monitoring logs are kept for up to 30 days by default, unless the law requires longer.
  • The Responses API keeps application state for 30 days by default; we set storage deliberately for each call.
  • Uploaded files are kept until deleted, so the integration deletes them or sets an expiry.
  • Zero Data Retention and Modified Abuse Monitoring need OpenAI's prior approval.
  • OpenAI's data residency guide lists India among its storage regions, with processing in India limited to certain models and endpoints. Eligible organisations enable it per project.
  • The moderation endpoint is free to use and classifies text and images, useful as a screen on user input.

Moving off the Assistants API, and how pricing works

If an existing feature was built on the Assistants API, it has stopped working. OpenAI's migration guide says the Assistants API was sunset on 26 August 2026 and points new work to the Responses API, with threads moving to Conversations and assistant settings moving into application code. We take over such integrations, port them and rerun the old test cases. Old codebases in general are covered by legacy software modernisation.

The build is written in your stack; see Python development and Node.js development. To estimate the monthly OpenAI bill as well as the build, read the ChatGPT integration cost guide. We do not publish prices. Describe the feature in the enquiry form; the team calls back within an hour, at any hour, 7 days a week, with pricing, then sends a written fixed-price proposal with milestones. If you would rather add a developer to your own team, you can hire AI developers.

Frequently asked questions

What are ChatGPT integration services?

They connect your own software to the OpenAI API so a model can draft text, extract fields from documents, classify items or call your system's functions inside your app. The work covers prompts kept in your code, tool calling with permission checks, structured outputs your code validates, rate-limit handling, spend caps, logging and testing against real examples from your business.

Can I use my ChatGPT Plus subscription for API access?

No. OpenAI's help centre says ChatGPT and the API platform have separate billing systems and API usage is billed separately from a ChatGPT subscription. Your app needs an API organisation with its own payment method and keys. Keep that organisation in your company's name, with your developers added as members rather than owners.

Can OpenAI keep our API data in India?

OpenAI's data residency guide lists India among its regions for data storage as of November 2026, with processing in India available only for certain models and endpoints. Eligible organisations enable it when creating a project, and OpenAI asks others to contact its sales team. Check the current guide before you design around it, and ask your legal adviser what you need.

Is the OpenAI Assistants API still available?

No. OpenAI's migration guide states that the Assistants API was sunset on 26 August 2026 and is no longer available. New integrations should use the Responses API, with threads moved to Conversations and assistant configuration moved into your own code. Any feature still calling the old API needs porting and retesting.

Can ChatGPT update records in our CRM or database?

Yes, through tool calling. The model asks for a named function, such as 'update deal stage', and your application decides whether to run it. We check the signed-in user's permissions on every call, ask a person to confirm any change to data, and log each call with its arguments, so the model can never do more than the user could.

Why does the OpenAI API return a 429 error?

A 429 means a rate limit was exceeded, measured in requests or tokens per minute or per day, depending on your organisation's usage tier. The fix is to wait at least as long as any Retry-After header says, retry with exponential backoff and a cap, and queue non-urgent jobs. Higher tiers unlock as total credit purchases grow.

Sources

  • AI integration

    AI integration services for the software you already run

    AI integration services that add LLM assistants, document search, summaries and classification to your product, tested on your data with cost limits set.

    Read more
  • AI chatbots

    An AI chatbot development company for assistants grounded in your content

    AI chatbot development company in Noida. Assistants that answer from your own documents, hand off to people and are tested before they go live.

    Read more
  • Cost guide

    ChatGPT integration cost: build effort plus the monthly API bill

    ChatGPT integration cost in two parts: the build effort and OpenAI API token bills, with November 2026 prices, a usage estimate and ways to cut spend.

    Read more
  • RAG development

    RAG development services for answers your team can check

    RAG development services: ingestion, chunking, hybrid search, reranking and permission-aware retrieval, with retrieval and answers measured separately.

    Read more
  • Python development

    Python development services: web apps, automation, AI features and reporting

    Python development services for web apps, APIs, automation, AI features and reports. Scripts turned into monitored services, with the code in your name.

    Read more
  • Hire developers

    Hire AI developers who build, test and ship LLM features

    Hire AI developers who build LLM features with retrieval, agents and evals in Python or TypeScript. Paid first milestone, your keys, rate by phone.

    Read more

Tell us what you need

Our team calls you within 1 hour with pricing.

What do you need? (tap any)
Or message us on WhatsApp

We call within 1 hour, any time. Privacy policy

Start a project