Try Kling Image V4 Long for Page Mockups from Kling AI →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick connectors and skills, choose a plan, deploy
Pre-built AgentsBrowse the catalog
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
LLM & ChatActive

Code Llama 34B Instruct

bymeta-llama

Code Llama 34B Instruct is Meta's 34-billion-parameter code model tuned to follow chat instructions. Meta groups the 34B with the 70B as the sizes that return its best results.

ChatLLMRAGLlama2 ChatBf16
Model ID
CodeLlama-34b-Instruct-hf
Provider
meta-llama
Updated
Nov 7, 2026, 04:21
CodeLlama-34b-Instruct-hf
0
Comments
Average rating : 0 (0 users)
Providermeta-llama
ModelCodeLlama-34b-Instruct-hf
ChatLLMRAGLlama2 Chat
wiro playground—meta-llama/CodeLlama-34b-Instruct-hf

Prompt to send to the model.

Your request will cost $0.0006 per second.

Running this model on Wiro costs approximately $0.1632 in total.

(Total cost varies depending on the request's execution time.)
Sample outputs
Sample 1
Updated Nov 7, 2026, 04:21

Overview

This page runs the 34-billion-parameter Instruct version of Code Llama. Meta derived Code Llama from Llama 2 by continuing its training on code-specific data, then fine-tuned the Instruct variant on instructions paired with expected outputs, which Meta says helps it understand what people expect from a prompt. Besides writing new code, it can explain code you paste in, and Meta names debugging as one of its uses. Training ran from January to July 2023 on an offline dataset.

Choosing a variant: Meta says the 34B and 70B return the best results and points to the smaller 7B and 13B for tasks such as code completion. Pick this page when answer quality comes first, for example a change that spans several functions. For a single function or a short script, Code Llama 7B Instruct is the smaller option.

What you can build

  • A developer-portal assistant for requests like "add input validation to this handler and write tests for it".
  • Onboarding Q&A where a new engineer pastes an unfamiliar module and asks what it does.
  • A porting aid that rewrites a function in another language, for example Python into TypeScript.

Inputs

The prompt is the one required field, and the code you want worked on goes in with it. The system prompt defaults to a general instruction to answer helpfully and safely; a line like "answer in TypeScript, code only" turns it into house rules. Give each end user a user_id and each thread a session_id to hold multi-turn conversations.

The advanced panel adds temperature (0 to 5, 0.7 by default), the top_p and top_k filters, penalties for repetition and length, token limits and stop strings separated by semicolons. Quantization starts enabled; it lowers weight precision to reduce memory use and may slightly lower quality. There is no seed field.

Outputs

One text answer per request. The sample on this page responds to the default prompt with an isPositive function that returns num > 0 and a console.log usage example, then notes that the check does not tell whole numbers from decimals and suggests isInteger() for that.

Recommended settings

For code headed into a build or a pull request, set do_sample to false, which the parameter note recommends for code generation. There is no seed field, and every run uses the same fixed seed, so the same prompt in a new session returns the same answer with sampling on or off. To compare several approaches, keep sampling on and change the temperature or the wording of the prompt; the temperature note calls values above 1 random.

Limitations

  • No infilling: Meta's card leaves it unmarked for the 34B, and the page takes chat prompts only.
  • Meta's intended use excludes natural languages other than English, and its testing so far has been in English only.
  • Responses can be inaccurate or objectionable, Meta warns. Test generated code before using it.
  • Frameworks and API versions released after its 2023 training are missing from what it learned.

Safety & compliance

Code Llama ships under the Llama 2 Community License, with Meta's Acceptable Use Policy on top. Meta scopes it to commercial and research work in English and the relevant programming languages, and calls the Instruct variant the one intended to be safer for code assistant and generation applications. Before deployment, Meta asks for safety testing and tuning tailored to each application.

API quick start

Run CodeLlama-34b-Instruct-hf with a single API call.

POST https://api.wiro.ai/v1/Run/meta-llama/codellama-34b-instruct-hf
{
  "prompt": "Can you write a javascript function that …",
  "user_id": "...",
  "session_id": "...",
  "system_prompt": "You are a helpful, respectful and honest …"
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/meta-llama/codellama-34b-instruct-hf" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "Can you write a javascript function that …",
  "user_id": "...",
  "session_id": "...",
  "system_prompt": "You are a helpful, respectful and honest …"
}
JSON

Other models you might like

Explore similar llm & chat models.

View all
Llama-3.1-8B-Instruct
Chat

Llama-3.1-8B-Instruct

meta-llama

CodeLlama-7b-Instruct-hf
Chat

CodeLlama-7b-Instruct-hf

meta-llama

Llama-3.2-3B-Instruct
Chat

Llama-3.2-3B-Instruct

meta-llama

Meta-Llama-3-8B-Instruct
Chat

Meta-Llama-3-8B-Instruct

meta-llama

  • Llama-2-7b-chat-hfmeta-llama
  • Qwen2.5-3B-Instructqwen
  • Qwen2.5-14B-Instructqwen
  • EuroLLM-9B-Instructutter-project
  • Mathstral-7B-v0.1mistralai
  • EuroLLM-1.7B-Instructutter-project
  • internlm3-8b-instructinternlm
  • rag-chat-youtubewiro

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion