Example code and guides for basic tasks with LLMs Hosted by Qianfan Platform (https://console.bce.baidu.com/qianfan). You'll need a qianfan account and asscociated API key to accomplish all examples. We will provide example files, prompts within a cookbook. You can run all examples by setting the QIANFAN_TOKEN environment variable.
Note that this is a python code only repository.
2026.03.12: Qianfan-OCR: A Unified End-to-End Model for Document Intelligence is released! Qianfan-OCR (4B+300M parameters) is now available on Baidu AI Cloud Open source weights coming soon!
Qianfan-OCR is a unified end-to-end document intelligence model, designed to help enterprises achieve digital transformation and move towards intelligent automation. Key highlights:
2025.09.22: The Qianfan-VL Vision-Language model series from Baidu AI Cloud is now open source!
Designed for enterprise applications, these multimodal models combine excellent general capabilities with advanced performance in OCR and education. For more information, please refer to github repo: https://github.com/baidubce/Qianfan-VL
2025.06.06: QianfanHuijin and QianfanHuijin-Reason series financial augmented models have been added to ModelBuilder (Link to apply for a trial):
2025.04.25: Five new Qianfan series models have been added to ModelBuilder:
All models feature a 32K context length. Please note that only model access is provided; open sourced model weights coming soon!
Jupyter Notebook
99.9%
Example code and guides for basic tasks with LLMs Hosted by Qianfan Platform (https://console.bce.baidu.com/qianfan). You'll need a qianfan account and asscociated API key to accomplish all examples. We will provide example files, prompts within a cookbook. You can run all examples by setting the QIANFAN_TOKEN environment variable.
Note that this is a python code only repository.
2026.03.12: Qianfan-OCR: A Unified End-to-End Model for Document Intelligence is released! Qianfan-OCR (4B+300M parameters) is now available on Baidu AI Cloud Open source weights coming soon!
Qianfan-OCR is a unified end-to-end document intelligence model, designed to help enterprises achieve digital transformation and move towards intelligent automation. Key highlights:
2025.09.22: The Qianfan-VL Vision-Language model series from Baidu AI Cloud is now open source!
Designed for enterprise applications, these multimodal models combine excellent general capabilities with advanced performance in OCR and education. For more information, please refer to github repo: https://github.com/baidubce/Qianfan-VL
2025.06.06: QianfanHuijin and QianfanHuijin-Reason series financial augmented models have been added to ModelBuilder (Link to apply for a trial):
2025.04.25: Five new Qianfan series models have been added to ModelBuilder:
All models feature a 32K context length. Please note that only model access is provided; open sourced model weights coming soon!
Jupyter Notebook
99.9%