LLM Reference
Microsoft Foundry

Using CodeLlama 34B on Microsoft Foundry

Implementation guide · Code Llama · AI at Meta

ProvisionedOpen Weights

Microsoft Foundry exposes CodeLlama 34B through model ID codellama-34b. 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. 1
    Create an account at Microsoft Foundry and generate an API key.
  2. 2
    Use the Microsoft Foundry SDK or REST API to call codellama-34b — see the documentation for request format.
  3. 3
    You'll be billed $1.54/1M input, $1.77/1M output tokens. See full pricing.

Code Examples

See Microsoft Foundry documentation for integration details.

Pricing on Microsoft Foundry

TypePrice (per 1M)
Input tokens$1.54
Output tokens$1.77

Capabilities

Structured Outputs

About CodeLlama 34B

CodeLlama 34B is a powerful generative text model developed by Meta, specifically tailored for code synthesis and understanding. With 34 billion parameters, it excels in code completion, infilling, and instruction following, particularly for Python programming. The model utilizes an auto-regressive transformer architecture and has been trained on a diverse dataset of programming languages, making it versatile for various coding tasks. Designed for both commercial and research applications, CodeLlama 34B offers AI engineers a robust tool for integrating advanced code generation capabilities into their projects. More details can be found on the model's Hugging Face page .

Model Specs

Released2023-08-24
Parameters34B
Context100k
ArchitectureDecoder Only
Knowledge cutoff2024-03

Provider

Microsoft Foundry
Microsoft Foundry

Microsoft

Redmond, Washington, United States