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 subscription | OpenAI API | |
|---|---|---|
| Who uses it | A person typing in the ChatGPT app | Your software, on behalf of your users |
| How it is paid | A subscription per person | Usage-based billing on an API organisation |
| Where the instructions live | In each person's chat | In your code, versioned and tested |
| What it can reach | What the person pastes or uploads | Only 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.
| Task | Model input | What your app receives | Who checks it |
|---|---|---|---|
| Draft a reply in a helpdesk | The ticket thread and your policy notes | A draft in the reply box | The agent, before sending |
| Fill a form from a document | An uploaded invoice, order or application | Named fields matching your schema | Staff confirm highlighted fields |
| Sort incoming leads | Enquiry text and source | A category, priority and owner | Sales, by reassigning when wrong |
| Summarise a call into the CRM | The call notes or transcript | Outcome, next step and follow-up date | The salesperson who made the call |
| Plain-language report filters | A question such as 'unpaid invoices over 60 days' | A structured filter your code runs | The 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:
| Tier | Total credit purchases needed |
|---|---|
| Build | $5 |
| Launch | $100 |
| Grow | $500 |
- 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.
- Retries use exponential backoff with a cap on attempts, because OpenAI notes that failed requests still count towards the per-minute limit.
- Non-urgent jobs, such as overnight summaries, go through a queue so they never compete with live users.
- 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
Related
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 moreAI 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 moreCost 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 moreRAG 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 morePython 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 moreHire 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