Code Llama Python (7B) API

AI-powered Python code generation and assistance. API for Code Llama Python (7B).
Output
$0.21 / 1M

How to use Code Llama Python (7B) 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.

Code Llama Python (7B) API Pricing

TypePrice
Input
$0.21 / 1M
Output
$0.21 / 1M

Code Llama Python (7B) vs other models

ModelInputOutputContextBest for
$0.21 / 1M
$0.21 / 1M
$0.84 / 1M
$0.84 / 1M
$0.815 / 1M
$0.815 / 1M
$0.84 / 1M
$0.84 / 1M
$0.315 / 1M
$0.315 / 1M

Frequently asked questions

Code Llama Python (7B) is priced at input $0.21 / 1M, output $0.21 / 1M.

Yes, Code Llama Python (7B) can stream responses as they are generated.

Yes, Code Llama Python (7B) supports both function calling and structured outputs.

Code Llama Python (7B) was built by Meta.

Start building with Code Llama Python (7B)

Get API Key
1000+ models, one API.