***"Why deploy functions on IBM watsonx.ai rather than IBM Code Engine?"*** | |
watsonx.ai's deployed functions and IBM Code Engine functions/jobs have slightly different capabilities that should be leveraged accordingly. | |
| Capability | watsonx.ai Deployed Functions | IBM Code Engine Functions | | |
| --- | --- | --- | | |
| Max Hardware Specs | max - 16vCPU/64GB Ram | max - 1vCPU/4GB Ram | | |
| Max Timeout | No Specifications of Limit | 120 seconds | | |
| Max Scaling (Copies) | up to 10 (must be assigned) | Automated Scaling | | |
| Supported Languages | Python | Python & Node.js | | |
| Cost | CUH pricing based on hardware spec| vCPUsec + GBsec + per 1mil HTTP requests | |