CodeLlama 70B
CodeLlama 70B is a legacy integration reference; keep it only while you identify a current replacement.
Use it for
- Teams maintaining an existing integration
- Workloads that can use a 16k context window
- Buyers comparing 4 tracked provider routes
Do not use it for
- New production launches
- Vision or document-understanding workloads
- Family
- Code Llama
- Released
- 2024-01-29
- Context
- 16k
- Parameters
- 70B
- Architecture
- Decoder Only
- Specialization
- general
- Openness
- Open weights
- License
- Llama 2 CommunityCommercial use with conditions
- Training
- finetuned
Large-scale open-source AI for social technologies.
Cheapest of 6 routes · DeepInfra
About
CodeLlama 70B is a state-of-the-art generative text model by Meta, specifically designed for code synthesis and understanding. It utilizes an auto-regressive transformer architecture and has been fine-tuned with up to 16,000 tokens, supporting inference with up to 100,000 tokens. The model excels in code completion, infilling, and instruction following, making it versatile for various programming languages and applications. With 70 billion parameters, it offers advanced capabilities for general code generation tasks, while also providing specialized variants for Python and instruction-following. Intended for both commercial and research use, CodeLlama 70B aims to assist developers in generating code, understanding programming concepts, and enhancing productivity in software development .
CodeLlama 70B is an open-weight model in the Code Llama family. The structured metadata tracks a 16k-token context window and structured outputs. This page tracks provider routes through Together AI, NVIDIA NIM, DeepInfra, and 3 more, with the cheapest tracked route listed at $0.45 input and $0.65 output per 1M tokens. No headline benchmark score is tracked for CodeLlama 70B yet.
Top use-case fit
Classification
Included by capability and metadata signals in the decision map.
JSON / Tool use
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare all 6Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| DeepInfra | $0.450 | $0.650 | Serverless |
| Fireworks AI | $0.900 | $0.900 | Provisioned |
| Together AI | $0.900 | $0.900 | Serverless |
| Replicate API | $0.650 | $2.75 | Serverless |
Available via routers & gateways(7)
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
NVIDIA LLM Router Blueprint
RouterNVIDIA's open-source AI blueprint for LLM routing that selects the optimal model per prompt via intent classification or neural auto-routing; being deprecated 2026-06-20.
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Capabilities
Benchmark peer barsfor Classification
No task-mapped benchmark peers are available for this model yet.
Migration checks
No linked migration route is available for this model yet.
Large-scale open-source AI for social technologies.
Cheapest of 6 routes · DeepInfra