Spiral gives your agent every tool with one account. Browse the tools →

Codex · LLMReleased 2024-12-06

How to Use Llama 3.3 70B Instruct in Codex

Use Llama 3.3 70B Instruct for multilingual conversations, document summaries, and coding assistance. It improves text performance over Llama 3.1 70B and supports a 128K context window.

Prompts to try with Llama 3.3 70B Instruct in Codex

Copy an example into Codex, or ask in your own words.

Use Llama 3.3 70B Instruct to trace this project's authentication flow. Identify the entry points, session checks, and failure paths, citing file paths and function names. Keep the explanation under 600 words.

Llama 3.3 70B InstructCodex
Try asking
  • Use Llama 3.3 70B Instruct to investigate the failing tests in this project. Explain the likely cause, propose the smallest relevant patch, and run the affected tests before reporting the result.

  • Use Llama 3.3 70B Instruct to review the current diff for behavior changes. Report each concern with its file location, triggering input, and a test that would confirm it.

  • Use Llama 3.3 70B Instruct to draft Spanish documentation for the project's public functions. Preserve code identifiers and explain parameters, return values, and errors using the implementation as evidence.

  • Use Llama 3.3 70B Instruct to draft 12 fictional support conversations for this project's documented features. Include English and French examples, expected answers, and the documentation section supporting each answer.

How to set up Llama 3.3 70B Instruct in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Llama 3.3 70B Instruct

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "meta-llama/llama-3.3-70b-instruct",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Codex finds Llama 3.3 70B Instruct on Spiral, shows the price and runs it.

Llama 3.3 70B Instruct providers and prices

Spiral runs Llama 3.3 70B Instruct through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Meta: Llama 3.3 70B Instruct
meta-llama/llama-3.3-70b-instruct

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 32768

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Meta: Llama 3.3 70B Instruct is on its tool page: open its card above.

What can you do with Llama 3.3 70B Instruct in Codex?

Turn project code and documentation into explanations, proposed fixes, and test drafts with Llama 3.3. Give it a focused task and require evidence from the files it examines.

Document summaries with evidence

Ask Llama 3.3 to condense a long report into decisions, risks, and open questions, with a supporting passage for each conclusion.

Support replies in supported languages

Give Llama 3.3 the customer's message and relevant policy text. Request a reply in Spanish, French, Hindi, or another officially supported language, with unresolved questions flagged.

Code explanations and proposed fixes

Use Llama 3.3 to explain a function, investigate a reported bug, and propose a patch with test cases. Run the tests before accepting the change.

Meeting follow-up drafts

Give Llama 3.3 a meeting transcript and request decisions, action items, and unresolved questions. Ask it to leave owners and deadlines unspecified when the transcript omits them.

Answers from supplied reference material

Ask Llama 3.3 to answer questions using a handbook or technical reference. Require a supporting section for each answer and an explicit acknowledgment when evidence is missing.

Synthetic evaluation examples

Use Llama 3.3 to draft fictional support conversations or instruction-following examples for an evaluation set. Review labels and expected answers before using them.

Tool-assisted research summaries

Have Llama 3.3 interpret results returned by search or lookup tools and draft an answer tied to those results. Keep missing evidence visible instead of filling gaps from memory.

Questions about Llama 3.3 70B Instruct in Codex

Can Codex use Llama 3.3 70B Instruct?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Llama 3.3 70B Instruct like any built-in tool.

How much does Llama 3.3 70B Instruct cost in Codex?

Up to $0.003815 per run at the default inputs. $0.923 per 1M input tokens, $0.923 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need an OpenRouter account to use Llama 3.3 70B Instruct in Codex?

No. Spiral runs Llama 3.3 70B Instruct on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Llama 3.3 70B Instruct in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Llama 3.3 70B Instruct runs?

Llama 3.3 70B Instruct runs in the background. Codex starts the run, checks on it and gives you the text, json when it's ready.

What is Llama 3.3 good at?

Llama 3.3 suits multilingual conversations, document summaries, reasoning tasks, and coding assistance. Practical requests include summarizing a report, explaining a function, or drafting a support reply from supplied policies.

Can Llama 3.3 read images or listen to audio?

No. Llama 3.3 processes text, so provide a transcript or extracted text when your source is a recording or image.

Which languages does Llama 3.3 support?

Meta officially supports English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai. Specify the desired language and audience in your request.

How much text can Llama 3.3 handle?

Llama 3.3 has a 128K context window. For long documents, identify the sections to examine and request a focused answer with supporting passages.

Does Llama 3.3 know current events?

Its pretraining knowledge stops in December 2023. Supply current source material when asking about later events, and ask it to distinguish sourced statements from missing information.

Get started

Start using Llama 3.3 70B Instruct in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options