The BigQuery AI and ML SDK for ABAP provides dedicated toolsets to support
your generative AI-based ABAP agents or applications with the BigQuery AI and ML capabilities.
With the BigQuery AI and ML SDK for ABAP, you can use the following capabilities from your ABAP environment:
Use Gemini to analyze your enterprise data in BigQuery.
Generate and manage embeddings for enterprise data in BigQuery
to make BigQuery as your low-cost vector database.
Perform vector search on your enterprise data in
BigQuery for similarity search or to RAG your model.
The following diagram shows how to use the BigQuery AI and ML capabilities through the BigQuery AI and ML SDK for ABAP:
As shown in the preceding diagram, the user flow with the BigQuery AI and ML SDK for ABAP is as follows:
The user invokes an ABAP AI application or an AI agent with an input prompt.
The AI agent uses the BigQuery AI and ML SDK for ABAP to use the AI and ML capabilities on source data in BigQuery.
The BigQuery AI and ML SDK for ABAP performs the following for the AI agent:
Generates Gemini-driven insight on enterprise data stored in BigQuery.
Delivers ML model-driven predictions on enterprise data stored in BigQuery.
Generates and manages embeddings in BigQuery.
Performs vector similarity search in BigQuery.
The BigQuery AI and ML SDK for ABAP responds to the AI agent with the AI and ML
insights based on the invoked BigQuery module and the user prompt.
Get started with the BigQuery AI and ML SDK for ABAP
Perform vector similarity search on your enterprise data stored in BigQuery.
Pricing
The BigQuery AI and ML SDK for ABAP is offered at no cost. However, you are responsible
for the charges for the compute resources that you use to train models
and to run queries against models.
The type of model that you create affects
where the model is trained and the pricing that applies to that operation.
Queries against models always run in BigQuery and use
BigQuery compute pricing.
Because remote models make calls to Vertex AI models, queries against
remote models also incur charges from Vertex AI.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# BigQuery AI and ML SDK for ABAP overview\n\n\u003cbr /\u003e\n\nThe BigQuery AI and ML SDK for ABAP streamlines the integration of AI and ML\ncapabilities on BigQuery from ABAP applications and ABAP based AI Agents.\n\nThe BigQuery AI and ML SDK for ABAP is built on top of the ABAP SDK for Google Cloud.\nThe SDK is available only with the [on-premises or any cloud edition of ABAP SDK for Google Cloud](/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/install-config).\n\nWhy use the BigQuery AI and ML SDK for ABAP\n-------------------------------------------\n\nThe BigQuery AI and ML SDK for ABAP provides dedicated toolsets to support\nyour generative AI-based ABAP agents or applications with the BigQuery AI and ML capabilities.\n\nWith the BigQuery AI and ML SDK for ABAP, you can use the following capabilities from your ABAP environment:\n\n- Use Gemini to analyze your enterprise data in BigQuery.\n- Generate and manage embeddings for enterprise data in BigQuery to make BigQuery as your low-cost vector database.\n- Perform vector search on your enterprise data in BigQuery for similarity search or to RAG your model.\n\nThe following diagram shows how to use the BigQuery AI and ML capabilities through the BigQuery AI and ML SDK for ABAP:\n\nAs shown in the preceding diagram, the user flow with the BigQuery AI and ML SDK for ABAP is as follows:\n\n1. The user invokes an ABAP AI application or an AI agent with an input prompt.\n2. The AI agent uses the BigQuery AI and ML SDK for ABAP to use the AI and ML capabilities on source data in BigQuery.\n3. The BigQuery AI and ML SDK for ABAP performs the following for the AI agent:\n\n - Generates Gemini-driven insight on enterprise data stored in BigQuery.\n - Delivers ML model-driven predictions on enterprise data stored in BigQuery.\n - Generates and manages embeddings in BigQuery.\n - Performs vector similarity search in BigQuery.\n4. The BigQuery AI and ML SDK for ABAP responds to the AI agent with the AI and ML\n insights based on the invoked BigQuery module and the user prompt.\n\nGet started with the BigQuery AI and ML SDK for ABAP\n----------------------------------------------------\n\n- [Store and manage enterprise queries](/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/bq-ai-ml-sdk/store-manage-enterprise-queries)\n\n Store, manage, and share frequently used enterprise queries centrally within BigQuery.\n- [Get Gemini insights on BigQuery data](/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/bq-ai-ml-sdk/get-gemini-insights)\n\n Use Gemini to analyze your enterprise data stored in BigQuery.\n- [Generate and manage embeddings](/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/bq-ai-ml-sdk/generate-manage-embeddings)\n\n Generate and manage embeddings for your enterprise data stored in BigQuery.\n- [Perform vector similarity search](/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/bq-ai-ml-sdk/perform-vector-search)\n\n Perform vector similarity search on your enterprise data stored in BigQuery.\n\nPricing\n-------\n\nThe BigQuery AI and ML SDK for ABAP is offered at no cost. However, you are responsible\nfor the charges for the compute resources that you use to train models\nand to run queries against models.\n\nThe type of model that you create affects\nwhere the model is trained and the pricing that applies to that operation.\nQueries against models always run in BigQuery and use\n[BigQuery compute pricing](/bigquery/pricing#analysis_pricing_models).\nBecause remote models make calls to Vertex AI models, queries against\nremote models also incur charges from Vertex AI.\n\nYou are charged for the storage used by trained models, using [BigQuery storage pricing](/bigquery/pricing#storage).\nFor more information, see [BigQuery ML pricing](/bigquery/pricing#bqml).\n\nWhat's next\n-----------\n\n- Learn how to [install and configure the BigQuery AI and ML SDK for ABAP](/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/bq-ai-ml-sdk/install-configure-bq-ai-ml-sdk-abap).\n- Ask your questions and discuss the BigQuery AI and ML SDK for ABAP with the community on [Cloud Forums](https://discuss.google.dev/tags/c/google-cloud/14/abap-sdk)."]]