Skip to content
Meta

Meta Llama 3.1 8B Instruct Turbo

deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo

Meta Llama 3.1 8B Instruct Turbo is a large language model by Meta with support for function calling. It supports a 131K token context window with up to 131K tokens of output. Priced at $0.02 per million input tokens and $0.04 per million output tokens, it is one of the most cost-efficient options in its class. Access Meta Llama 3.1 8B Instruct Turbo through Inworld LLM Inference with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Input
$0.02
Output
$0.04
Cache read
—
Context
131.1K
Max output
131.1K
Text→Text
Function Calling
Run on your server. Set INWORLD_API_KEY to your API key. Python requires pip install openai; JavaScript requires Node.js 18+; save it as example.mjs.
curl --fail-with-body https://api.inworld.ai/v1/chat/completions \
  -H "Authorization: Basic $INWORLD_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'
Model Meta Llama 3.1 8B Instruct TurboOpenAI SDK compatible

Pricing and providers

Access Meta Llama 3.1 8B Instruct Turbo through Inworld LLM Inference or speech to speech via DeepInfra. By using the providers below you agree to their terms, listed under each provider's name in the Legal section.

Modalities
DeepInfraThis pagedeepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
$0.02$0.04——131.1K131.1K
Text→Text
Prices in USD per 1M tokens.

Start building with Meta Llama 3.1 8B Instruct Turbo

Access Meta Llama 3.1 8B Instruct Turbo and every other model through LLM Inference or speech to speech. Create a free account and start in minutes.