LLM Reference
Microsoft Foundry

CodeLlama 34B Python on Microsoft Foundry

Code Llama · AI at Meta

ProvisionedOpen Source

Last refreshed 2026-05-16. Next refresh: weekly.

Why use CodeLlama 34B Python on Microsoft Foundry?

Microsoft Foundry offers CodeLlama 34B Python with pay-as-you-go pricing at $1.54/1M input tokens. Microsoft Foundry is a unified Azure platform-as-a-service offering for enterprise AI operations, model builders, and application development.

Compare CodeLlama 34B Python across 4 providers to find the best fit for your use case
Input / 1M
$1.54
Output / 1M
$1.77
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: codellama-34b-python
Model ID
codellama-34b-python

Request example

Curated snippets for this provider are not sourced yet. Use Microsoft Foundry documentation with model ID codellama-34b-python.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare CodeLlama 34B Python Across Providers

ProviderInput (per 1M)Output (per 1M)
Together AI$0.80$0.80
Fireworks AI$0.90$0.90
Microsoft Foundry$1.54$1.77
Replicate API$0.20$1.00

Pricing

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

Capabilities

Structured Outputs

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 .

FAQ

What does CodeLlama 34B Python cost on Microsoft Foundry?

On Microsoft Foundry, CodeLlama 34B Python costs $1.54 per 1M input tokens and $1.77 per 1M output tokens.

What is the context window for CodeLlama 34B Python on Microsoft Foundry?

CodeLlama 34B Python supports a 100k token context window on Microsoft Foundry.

How does Microsoft Foundry compare to other CodeLlama 34B Python providers?

CodeLlama 34B Python is available from 4 providers. The cheapest input pricing is $0.20/1M tokens from Replicate API.

Who created CodeLlama 34B Python?

CodeLlama 34B Python was created by AI at Meta as part of the Code Llama model family.

Is CodeLlama 34B Python open source?

CodeLlama 34B Python is open source according to the seed data.

Get Started

Model Specs

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