Using CodeLlama 34B Python on Microsoft Foundry
Implementation guide · Code Llama · AI at Meta
Microsoft Foundry exposes CodeLlama 34B Python through model ID codellama-34b-python. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-07-09. Next refresh: weekly.
Quick Start
- 1
- 2Use the Microsoft Foundry SDK or REST API to call
codellama-34b-python— see the documentation for request format. - 3
Code Examples
Pricing on Microsoft Foundry
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.54 |
| Output tokens | $1.77 |
Capabilities
About CodeLlama 34B Python
CodeLlama 34B Python is a specialized code generation model released by Meta on August 24, 2023. With 34 billion parameters, it excels in Python-specific tasks like code completion, infilling, and instruction following. This model offers AI engineers a powerful tool for enhancing coding workflows and productivity. Its architecture is optimized for understanding and generating complex code structures, making it particularly useful for software development tasks. The model is available in the Hugging Face Transformers format, facilitating easy integration into existing projects .