CodeGen2 (16B) API

Output

How to use CodeGen2 (16B) API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to .

OpenAI-compatible — swap the base URL and it works with your existing SDK.

CodeGen2 (16B) API Pricing

TypePrice
Input
Output
tokens

Start building with CodeGen2 (16B)

Get API Key
1000+ models, one API.