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: conditional
- Weights
- Available
- Code
- Unknown
- Training
- Fine-tuned
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.
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)
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.
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.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
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.
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