PackageTrack
Sign in Get early access

chat_gpt_sdk

create chat bot and other bot with ChatGPT SDK Support GPT-4 , 3.5 and SSE Generate Prompt (Stream)

3.1.6 2.9K downloads/mo #4702 most downloaded on pub.dev redevRx/Flutter-ChatGPT

What this package is like to depend on

Last release 3 months ago

20 May 2026

Ships unpredictably

gaps range from 9 days to 1.1 years

Most releases are documented

notes for 37 of 52 stable releases

3 versions withdrawn

withdrawn after publishing

4 years old

55 releases · first in 2022

1 release in the last 12 months

see the full history below

Release timeline

55 releases · Dec 2022 to May 2026
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 55
  1. 3.1.6 20 May 2026
    Release notes

    3.1.6

    • Update Platform & SDK: Update Flutter to 3.41.9 and Dart to 3.11.5
    • Promote Assistants, Messages, Threads, and Runs V2 to be default and delete obsolete V1 endpoints and model classes
    • Support OpenAI Reasoning Models (o1, o1-preview, o1-mini, o3-mini) and parameter settings (reasoningEffort, maxCompletionTokens)
    • Support Modern OpenAI Features: developer and tool message roles, store, metadata, parallelToolCalls, and streamOptions
    • Support Prompt Caching details: capture cachedTokens metrics inside CompletionTokensDetails
    • Support Audio Completions: audio input/output with chat completion modalities and configurations
    • Support Project & User Organization Management APIs (openAI.projectAndOrg)
    • Support OpenAI Responses API (/v1/responses) for advanced reasoning and code-generation, including tools & toolChoice parameters
    • Fix Table of Contents navigation, casing, and broken anchor links in README.md
    • Verify robust Null Safety configurations across critical response models (AssistantData, ThreadResponse, CreateMessageV2Response, CreateRunResponse)
    Open source →
    Release notes
    • Update Platform & SDK: Update Flutter to 3.41.9 and Dart to 3.11.5
    • Promote Assistants, Messages, Threads, and Runs V2 to be default and delete obsolete V1 endpoints and model classes
    • Support OpenAI Reasoning Models (o1, o1-preview, o1-mini, o3-mini) and parameter settings (reasoningEffort, maxCompletionTokens)
    • Support Modern OpenAI Features: developer and tool message roles, store, metadata, parallelToolCalls, and streamOptions
    • Support Prompt Caching details: capture cachedTokens metrics inside CompletionTokensDetails
    • Support Audio Completions: audio input/output with chat completion modalities and configurations
    • Support Project & User Organization Management APIs (openAI.projectAndOrg)
    • Support OpenAI Responses API (/v1/responses) for advanced reasoning and code-generation, including tools & toolChoice parameters
    • Fix Table of Contents navigation, casing, and broken anchor links in README.md
    • Verify robust Null Safety configurations across critical response models (AssistantData, ThreadResponse, CreateMessageV2Response, CreateRunResponse)
    Open source →
  2. 3.1.5 11 Apr 2025
    Release notes
    • add instructions in SpeechRequest
    Open source →
  3. 3.1.4 21 Dec 2024
    Release notes

    merge code from PR Added support for image data i.e, type (image_file, image_url) in content v2 model #127

    Open source →
  4. 3.1.3 13 Nov 2024
    Release notes
    • Implement support for streaming responses from OpenAI on web platform
      • Merge Code from contributors
      • Added json_schema support to ResponseFormat

    3.1.4

    • Added support for image data i.e, type (image_file, image_url) in content v2
    Open source →
  5. 3.1.2 25 Sep 2024
    Release notes
    • Update sdk
      • remove path provider
    Open source →
  6. 3.1.1 25 Sep 2024
    Release notes
    • Update sdk
    Open source →
  7. 3.1.0 30 Jul 2024
    Release notes

    Add New Docs (API v2)
    Add GPT 4o-mini

    Open source →
    Release notes
    • Add Gpt 4o mini
    • Add Doc API version 2 (Assistants v2)
    Open source →
  8. 3.0.9 08 Jun 2024
    Release notes

    Support

    • Assistant Version 2
    • Thread Version 2
    • Message Version 2
    • Run Version 2
    Open source →
    Release notes
    • Assistants v2
    • Deprecate API
    Open source →
  9. 3.0.8 18 May 2024
    Release notes
    • Assistants Add gpt4o model
      • Complete Add gpt4o model
    Open source →
  10. 3.0.7 28 Apr 2024
    Release notes
    • Fix list run case id is null
    • Message add runId
    • Add fix for assistant_data json parsing
    Open source →
  11. 3.0.6 28 Apr 2024

    Nothing published for this version

  12. 3.0.4 06 Mar 2024
    Release notes
    • Fix Bug
    • Update Generate Image Request
    • Add More Model Support
    Open source →
    Release notes
    • Fix bugs
    • Update Assistant Model
    • Add Support Tools to Json
    • Update Generate Image Request
    Open source →
  13. 3.0.3 28 Feb 2024
    Release notes
    • Fix bugs
    • Update Demo App
    Open source →
  14. 3.0.2 26 Feb 2024

    Nothing published for this version

  15. 3.0.1 02 Feb 2024

    Nothing published for this version

  16. 3.0.0 29 Jan 2024

    Nothing published for this version

  17. 2.2.8 19 Dec 2023
    Release notes
    • Update Lib from community
      • missing first word in sse response
      • Fix sse bad state close
      • sse not work as intended
      • custom OpenAI endpoint

    3.0.0

    • Update OpenAi Model
    • Add New Model Generate Image
    • Add Assistants API

    3.0.1

    • Audio
      • Fix create transcribes error
      • Create speech
    • Embedding
      • Add new Model
    • Thread
      • Create a thread.
      • Retrieves a thread.
      • Modifies a thread.
      • Delete a thread.
    • Message
      • Create a message.
      • List messages
      • List message files
      • Retrieve message
      • Retrieve message file
      • Modify message
    • Run
      • Create a run.
      • Create a thread and run it in one request.
      • List runs
      • List run steps
      • Retrieves a run.
      • Retrieve run step
      • Modifies a run.
      • Submit tool outputs to run
      • Cancel a run

    3.0.2

    • Fix bugs
    Open source →
  18. 2.2.6 09 Nov 2023 withdrawn
    Release notes
    • Fix Bug Chunks error
    Open source →
  19. 2.2.5 17 Sep 2023
    Release notes
    • Update Fine-Tuning
      • Add recommended model
        • gpt-3.5-turbo-0613
      • Deprecate Model
        • CurieFineModel()
        • AdaFineModel()
      • FineTuned Deprecate Method
        • create
        • list
        • retrieve
        • cancel
        • delete
        • listStream
      • New API
        • createFineTuneJob
        • listFineTuneJob
        • retrieveFineTuneJob
        • cancelFineTuneJob
        • cancelFineTuneJobStream
    Open source →
  20. 2.2.4 29 Jul 2023
    Release notes
    • add header orgId
    Open source →
  21. 2.2.3 06 Jul 2023
    Release notes
    • Fig openai optional error with null value
    Open source →
  22. 2.2.2 25 Jun 2023
    Release notes
    • Fig openai function call require parameter name
    Open source →
  23. 2.2.1 19 Jun 2023
    Release notes
    • Fig dio deprecate method
    Open source →
  24. 2.2.0 14 Jun 2023
    Release notes
    • update new model
      • gpt-4-0613
      • gpt-3.5-turbo-0613
    • Support Function calling
    Open source →
  25. 2.1.9 08 Jun 2023
    Release notes
    • new models data
    • completion custom model
    • chat complete custom model
    • fineTune custom model
    • embedded custom model
    • edit custom model
    Open source →
  26. 2.1.8 07 Jun 2023
    Release notes
    • Fig but convert type error
    Open source →
  27. 2.1.7 03 Jun 2023 withdrawn
    Release notes
    • Change Response name
    Open source →
  28. 2.1.6 24 May 2023
    Release notes
    • New Handle Cancel Request
    • Add New Example Cancel Request
    Open source →
  29. 2.1.5 17 May 2023
    Release notes
    • Add New Error Handle
    Open source →
  30. 2.1.4 17 May 2023
    Release notes
    • Add New Error Handle
    Open source →
  31. 2.1.3 15 May 2023
    Release notes
    • Add New Error Handle
    • change isLog to enableLog
    Open source →
  32. 2.1.2 19 Apr 2023

    Nothing published for this version

  33. 2.1.1 10 Apr 2023

    Nothing published for this version

  34. 2.1.0 10 Apr 2023
    Release notes
    • Fix Bug
    • Chat Complete SSE change json name
    • update docs
    Open source →
  35. 2.0.9 10 Apr 2023
    Release notes
    • Features
      • Fine-tunes
        • Create Fine tune
        • Fine Tune List
        • Fine Tune List Stream (SSE)
        • Retrieve
        • Cancel
        • Delete
      • Moderation's
    • Remove Method Deprecate
    Open source →
  36. 2.0.8 08 Apr 2023
    Release notes
    • Features
      • Edit
        • Edit Prompt
        • Edit Image
        • Variations
      • Cancel Generate
        • Complete Text
        • Chat Complete
        • Edit
        • File
        • Audio
        • Embedding
      • File
        • Get File
        • Upload File
        • Delete File
        • Retrieve File
        • Retrieve Content File
      • Audio
        • Audio Translate
        • Audio Transcribe
      • Embedding
      • Update README
    Open source →
  37. 2.0.7 04 Apr 2023
    Release notes
    • Update
      • Stop Generating prompt Method
      • parentId message in response data
      • change model string to enum type
    Open source →
  38. 2.0.6 19 Mar 2023
    Release notes
    • Deprecated Methods
      • onChatCompletionStream
      • onCompletionStream
    • Support Stream Parameter Make SSE With Generate Prompt
      • onCompletionSSE
      • onChatCompletionSSE
    Open source →
  39. 2.0.5 18 Mar 2023
    Release notes
    • HttpSetup add proxy
    • Generate Image Change parameter to enum
    Open source →
  40. 2.0.4 11 Mar 2023

    Nothing published for this version

  41. 2.0.3 11 Mar 2023

    Nothing published for this version

  42. 2.0.2 08 Mar 2023
    Release notes
    • Fix bug
    • change top_p to topP in ChatComplete
    Open source →
  43. 2.0.1 05 Mar 2023
    Release notes
    • update client library
    • change method name
      • onCompleteText as onCompletion
      • onCompleteStream as onCompletionStream
    • Support ChatGPT 3.5 turbo
      • Add new Model
      • kChatGptTurboModel
      • kChatGptTurbo0301Model
      • New Method
      • onChatCompletion
      • onChatCompletionStream
    Open source →
  44. 2.0.0 14 Feb 2023
    Release notes
    • add b64 field in response generate image
    Open source →
  45. 1.0.2 12 Jan 2023
    Release notes

    New Feature

    • Generation Image With Prompt
    Open source →
  46. 1.0.2+1 12 Jan 2023

    Nothing published for this version

  47. 1.0.2+2 29 Jan 2023 withdrawn

    Nothing published for this version

  48. 1.0.2+3 29 Jan 2023

    Nothing published for this version

  49. 1.0.2+4 07 Feb 2023

    Nothing published for this version

  50. 1.0.1+1 26 Dec 2022

    Nothing published for this version

  51. 1.0.1+2 26 Dec 2022

    Nothing published for this version

  52. 1.0.1+3 02 Jan 2023

    Nothing published for this version

  53. 1.0.1+4 11 Jan 2023
    Release notes
    • Fix bug Http status error [429] error
    Open source →
  54. 1.0.1+5 11 Jan 2023
    Release notes

    Add Parameter HttpSetup

    • sendTimeout
    • connectTimeout
    • receiveTimeout
    Open source →
  55. 1.0.0 26 Dec 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive