AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Cloudflare AI Gateway

Llama 3.1 8B Instruct fp8 API

Cloudflare AI Gateway
About

Llama 3.1 8B Instruct fp8 is a high-performance LLM available via the Cloudflare AI Gateway API, ideal for scalable text generation and natural language processing. This model delivers cost-effective pricing at $0.15/1M input and $0.29/1M output tokens, open weights architecture. Access Llama 3.1 8B Instruct fp8 via the Cloudflare AI Gateway API with up to 32K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
No
Tool Use
No
WeightsOpen
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
32K

Tokens

Input Limit
32K

Tokens

Max Output
32K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.15
Output
$0.29
Frequently Asked Questions

Llama 3.1 8B Instruct fp8 by Cloudflare AI Gateway costs $0.15 per 1M input tokens and $0.29 per 1M output tokens.

Model Details
ID
workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8
Provider
Cloudflare AI Gateway
Family
llama
Release Date
Jul 23, 2024
Knowledge Cutoff
Dec 1, 2023
API Integration
NPM Package
ai-gateway-provider
Environment Variables
CLOUDFLARE_API_TOKEN
CLOUDFLARE_ACCOUNT_ID
CLOUDFLARE_GATEWAY_ID
API Base URL
https://gateway.ai.cloudflare.com/v1/${CLOUDFLARE_ACCOUNT_ID}/${CLOUDFLARE_GATEWAY_ID}/compat/
Documentation